Content
Inhalt |
---|
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.
...
Codeblock | ||||
---|---|---|---|---|
| ||||
module load gcc/9.3.0 module load impi/2019.5 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 |
...
Slurm script
You need to start the MPI parallelized code on the system. You can choose between two approaches, namely using mpirun
or srun
.
...