Strumenti Utente

Strumenti Sito


roberto.alfieri:pub:openmp

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisione Revisione precedente
Prossima revisione
Revisione precedente
roberto.alfieri:pub:openmp [14/10/2020 18:36]
roberto.alfieri
roberto.alfieri:pub:openmp [18/03/2022 16:11] (versione attuale)
roberto.alfieri [What is openMP]
Linea 1: Linea 1:
 ====== OpenMP ====== ====== OpenMP ======
  
 +====Tutorials,​ external links ====
 +
 +[[https://​hpc-tutorials.llnl.gov/​openmp/​| LLNL]]
 +
 +
 +**[[http://​didattica-linux.unipr.it/​~alfieri/​matdid/​HPC/​openmp/​base/​ | Exercises repository ]]**
 +
 +
 +==== What is openMP ====
  
 [[http://​openmp.org/​ | OpenMP]] adds constructs for shared-memory threading to C, C++ and Fortran [[http://​openmp.org/​ | OpenMP]] adds constructs for shared-memory threading to C, C++ and Fortran
  
  
-[[https://​computing.llnl.gov/​tutorials/​openMP/#​ProgrammingModel | Memory Model:]] 
  
 {{:​roberto.alfieri:​pub:​shared_mem.png?​200|}} {{:​roberto.alfieri:​pub:​shared_mem.png?​200|}}
Linea 21: 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 ]] 
  
  
  
-====Tutorials,​ external links ==== 
- 
-[[https://​computing.llnl.gov/​tutorials/​openMP/​ | LLNL]] 
-- 
-[[http://​bisqwit.iki.fi/​story/​howto/​openmp/​ | Guide into OpenMP: Easy multithreading programming for C++]] 
- 
-**[[http://​didattica-linux.unipr.it/​~alfieri/​matdid/​HPC/​openmp/​base/​ | Exercises repository ]]** 
  
 === openMP support in the C/C++ Compilers === === openMP support in the C/C++ Compilers ===
  
-http://​www.openmp.org/​resources/​openmp-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 48: 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 =====
Linea 339: Linea 337:
  
  
- ​Examples: ​for2.c+ ​Examples: ​for-schedule.c
  
  
roberto.alfieri/pub/openmp.1602693411.txt.gz · Ultima modifica: 14/10/2020 18:36 da roberto.alfieri