MPI on Euler
The recent network drivers on Euler for the Infiniband high-speed interconnect are no longer supporting the BTL OpenIB transport layer that is for instance used in OpenMPI <= 4.0.2. This has some consequences for MPI jobs that users run on Euler. Further more the Euler VI and VII nodes have very new Mellanox ConnectX-6 network cards, which only support very recent MPI versions. That jobs can make use of this high-speed interconnect between the compute nodes, the MPI implementation which is used needs to be compatible with the current network driver (Mellanox OFED) and may some configuration options need to be set.
OpenMPI 4.0.2 or newer
Jobs using OpenMPI 4.0.2 or new should not have any problems using Infiniband as OpenMPI is compiled with UCX support. No additional configuration is required. Multi node jobs will also run fine on Euler VI and VII nodes
OpenMPI older than 4.0.2
For OpenMPI versions older than 4.0.2 there are certain restrictions. On Euler VI and VII nodes, running an unsupported OpenMPI version works, but only for single node jobs, which limits those to 128 cores. Multi node jobs only work with OpenMPI >= 4.0.2. We implemented a rule in the batch system that prevents multi node jobs that use an unsupported OpenMPI version cannot be dispatched to Euler VI and VII nodes.
Jobs using OpenMPI older than 4.0.2 cannot use the Infiniband network (unless you compiled a version yourself with UCX support) in Euler as the centrally provided installations are using the BTL OpenIB transport layer from verbs, which is no longer supported by the current network driver (Mellanox OFED). You can still run jobs with those installations (for instance to reproduce older results) on Euler IV and V nodes, but you would need to disable the BTL OpenIB transport layer with the following mpirun option:
-mca btl ^openib
This will disable the Infiniband high-speed interconnect and jobs will fall back to use the slower ethernet, but this still allows to reproduce older results just with a lower performance.
Intel MPI requires some configuration options (which are different for each Intel MPI version) to use the Mellanox infiniband cards on Euler VI and VII. Users don't know to which node type their jobs get dispatched when not targeting a particular CPU model and therefore we recommend to use a script instead of directly specifying the mpirun command on the bsub command line. In the script you can set configuration options based on the node type. Please find below an example script:
#!/bin/bash # setting configuration options based on node type the job is running on # get hosttype hname=`hostname | cut -d "-" -f 2` case $hname in g1 | a2p) # euler VI or VII node # set variables for Intel MPI here ;; *) # not Euler VI or VII ;; esac # command to run mpirun ...
Intel oneAPI 2022.1.2 [work in progress]
We are still testing configurations to find the most suitable one. There is a new provider called MLX, which should be used.
For intel 19.1.0 (2020.1), please use the following variables
export FI_PROVIDER=verbs export I_MPI_FABRICS=shm:ofi
In this version the older DAPL provider which can be used with Intel 18.0.1 has been deprecated and can no longer be used.
For Intel 18.0.1 (2018.1) there are two configurations possible.
Configuration 1 (using the OFA provider):
export I_MPI_FABRICS=shm:ofa export I_MPI_FALLBACK=0 export I_MPI_OFA_ADAPTER_NAME="mlx5_0"
Configuration 2 (using the DAPL provider):
export I_MPI_FABRICS=shm:dapl export I_MPI_DAPL_UD=1 export I_MPI_DAPL_UD_PROVIDER=ofa-v2-mlx5_0-1u
Versions older than 18.0.1
We have not tested the Intel MPI implementations from Intel versions older than 18.0.1. Those installations are from the old software stack an we can no longer support them. They are provided on an as-is basis.