Page History
To use GPU-aware MPI on Alps systems one must use Cray MPICH available through user environments. Most user environments provided by CSCS for GPU systems link to the required GTL libraries required to use GPU-aware MPI. Use of GPU-aware MPI is always recommended for best communication performance on GPU systems.
In order to tell Cray MPICH to actually enable GPU-aware MPI support at runtime, you must ensure that the MPICH_GPU_SUPPORT_ENABLED=1 environment variable is must be set, e.g. by exporting it in a SLURM batch script. On some CSCS systems this will be set by default for all users. Linking to the required libraries and enabling support for GPU-aware MPI has no impact on applications that do not use the feature.
| Warning |
|---|
If you attempt to communicate GPU buffers through MPI without setting |
| Warning | |||||||
|---|---|---|---|---|---|---|---|
If
If your application does not use GPU-aware MPI and you do not wish to link to the GTL library, either unset If you intended to use GPU-aware MPI, make sure you are using an up to date user environment with support for GPU-aware MPI. Most user environments with CUDA support will automatically link to the GTL library. |
To check if your application is linked against the required GTL library, running running ldd on your executable should print something similar to:
...