... | ... | @@ -60,10 +60,16 @@ where the data is deleted. If you want to copy over the data, you can use: |
|
|
`!$omp target exit data map (from:<var>)`
|
|
|
|
|
|
## Environment variables
|
|
|
TODO
|
|
|
There are many environment variables which impact OpenMP.
|
|
|
The overview below only lists the ones that we actively use.
|
|
|
|
|
|
| Environment variable | Description |
|
|
|
|:--------------------:|:------------|
|
|
|
| OMP_NUM_THREADS | Sets the number of threads to the given value. |
|
|
|
|
|
|
## Sources
|
|
|
Some of the sources used for this wiki page:
|
|
|
|
|
|
- [OpenMP 5.2 specification](https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5-2.pdf)
|
|
|
- [FTN compiler options from KAUST](https://www.hpc.kaust.edu.sa/sites/default/files/files/public/1.03a-AdditionalInformation_CrayCompilationEnvironment.pdf). |
|
|
\ No newline at end of file |
|
|
- [OpenMP Environment Variables](https://www.openmp.org/spec-html/5.0/openmpch6.html)
|
|
|
- [FTN compiler options from KAUST](https://www.hpc.kaust.edu.sa/sites/default/files/files/public/1.03a-AdditionalInformation_CrayCompilationEnvironment.pdf) |
|
|
\ No newline at end of file |