software:intelmpi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:intelmpi [2017/09/10 21:31]
meesters [Execution]
— (current)
Line 1: Line 1:
-====== Intel MPI ====== 
- 
-=====Compilation===== 
-To compile your code with IntelMPI you need an IntelMPI module. 
- 
-<code bash> 
-module load mpi/impi/<version-compiler-version> 
-mpicc [compilation_parameter] -o <executable> <input_file.c> [input_file2.c ...] 
-</code> 
- 
-=====Execution===== 
- 
-To execute your program you need to have the correct module of IntelMPI (see in [[software:intelmpi#Compilation]]) loaded; the one, which you used to compile your software. 
- 
-In contrast to other MPI flavors (e.g. [[software:openmpi|OpenMPI]]) IntelMPI ist not compiled against slurm, hence ''srun'' cannot be used to start the desired application, but ''mpiexec'' is.  
- 
-One example would be: 
- 
-<code bash> 
-#!/bin/bash 
- 
-#SBATCH -N 2 
-#SBATCH -p nodeshort # on Mogon I 
-#SBATCH -p parallel  # on Mogon II 
-#SBATCH -A <your slurm account> 
-#SBATCH -t <sufficient time> 
-#SBATCH --mem <sufficient memory, if default / node is not sufficient> 
-#SBATCH -J <jobname> 
- 
-#M1 - example 
-#module load mpi/impi/2017.2.174-iccifort-2017.2.174-GCC-6.3.0 
- 
-srun -N 2 -n 64  <mpi-application> 
-</code> 
- 
-Use ''-n'' to specifiy the number of MPI ranks / node. 
- 
- 
- 
  
  • software/intelmpi.1505071884.txt.gz
  • Last modified: 2017/09/10 21:31
  • (external edit)