...
Code Compilation
For code compilation you can choose one of the two compilers Intel or Gnu. Both compilers are able to include the Intel MPI library.
Intel compiler
Codeblock | ||||
---|---|---|---|---|
| ||||
module load intel/2024.2
module load impi/2021.13
export I_MPI_CC=icx
mpiicc -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.c |
...
title | MPI, OpenMP, intel |
---|---|
collapse | true |
...
please use Gnu.
Gnu compiler
Codeblock | ||||
---|---|---|---|---|
| ||||
module load gcc/13.3.0 module load openmpi/gcc/5.0.3 mpicc -Wl,-rpath,$LD_RUN_PATH -o hello.bin hello.c |
...