Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
roberto.alfieri:pub:openmp [19/10/2020 09:08] roberto.alfieri |
roberto.alfieri:pub:openmp [18/03/2022 16:11] (versione attuale) roberto.alfieri [What is openMP] |
||
---|---|---|---|
Linea 3: | Linea 3: | ||
====Tutorials, external links ==== | ====Tutorials, external links ==== | ||
- | [[https://computing.llnl.gov/tutorials/openMP/ | LLNL]] | + | [[https://hpc-tutorials.llnl.gov/openmp/| LLNL]] |
- | - | + | |
- | [[http://bisqwit.iki.fi/story/howto/openmp/ | Guide into OpenMP: Easy multithreading programming for C++]] | + | |
Linea 16: | Linea 14: | ||
- | [[https://computing.llnl.gov/tutorials/openMP/#ProgrammingModel | Memory Model:]] | ||
{{:roberto.alfieri:pub:shared_mem.png?200|}} | {{:roberto.alfieri:pub:shared_mem.png?200|}} | ||
Linea 32: | Linea 29: | ||
Version 4.0 (July 2013), 4.5 (Nov 2015 ) and 5.0 (Nov 2018) add support for accelerators (target directives), vectorization (SIMD directives), thread affinity and cancellation. | Version 4.0 (July 2013), 4.5 (Nov 2015 ) and 5.0 (Nov 2018) add support for accelerators (target directives), vectorization (SIMD directives), thread affinity and cancellation. | ||
- | [[https://developers.redhat.com/blog/2019/03/19/whats-new-in-openmp-5-0/ | What's new in OpenMP 5.0 ]] | ||
- | === openMP support in the C/C++ Compilers === | ||
- | http://www.openmp.org/resources/openmp-compilers/ | + | === openMP support in the C/C++ Compilers === |
+ | https://www.openmp.org/resources/openmp-compilers-tools/ | ||
GCC: From GCC 6.1, OpenMP 4.5 is fully supported for C and C++ | GCC: From GCC 6.1, OpenMP 4.5 is fully supported for C and C++ | ||
Linea 51: | Linea 47: | ||
</note> | </note> | ||
- | INTEL: OpenMP 4.5 C/C++/Fortran supported in version 17.0 compilers | ||
== How to compile with openMP library == | == How to compile with openMP library == | ||
- | Compile with -fopenmp (gcc compiler) or -qopenmp (intel compiler) on Linux | + | Compile with -fopenmp on Linux |
===== Execution model ===== | ===== Execution model ===== |