Versionen im Vergleich

Schlüssel

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

Code Compilation

Intel compiler

Codeblock
titleMPI, icc
collapsetrue
module load intel
module load impi
mpiicc -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.c
mpiifort -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.f90
mpiicpc -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.cpp


Codeblock
titleMPI, gccOpenMP, icc
collapsetrue
module load gccintel
module load impi
mpiicc -qopenmp mpigcc -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.c
mpiifort mpif90-qopenmp -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.f90 mpigxx
mpiicpc -qopenmp -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.cpp

Gnu compiler

Codeblock
titleMPI, OpenMP, iccgcc
collapsetrue
module load intelgcc
module load impi
mpiicc -qopenmp mpigcc -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.c
mpiifortmpif90 -qopenmp -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.f90

mpiicpc -qopenmpmpigxx -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.cpp

...