Code Compilation
Intel compiler
Codeblock | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
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 |
...