Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Codeblock
languagebash
titleGNU Compiler
collapsetrue
module load gcc
gcc -fopenmp -o hello.bin hello.c 
gfortran -fopenmp -o hello.bin hello.f90  
g++ -fopenmp -o hello.bin hello.cpp

Hybrid Code with MPI and OpenMP

Codeblock
languagebash
titleIntel Compiler
collapsetrue
module load intel
module load impi
mpiicc -qopenmp  -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.c 
mpiifort -qopenmp -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.f90  
mpiicpc -qopenmp -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.cpp


Codeblock
languagebash
titleGNU Compiler
collapsetrue
module load gcc
module load impi
mpigcc -fopenmp -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.c 
mpif90 -fopenmp -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.f90  
mpigxx -fopenmp -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.cpp

MPI, communication libraries, OpenMP

...