In order to use mpi4py on Piz Daint, you will need to install it using the cray compiler, which will include and link it to the correct cray-mpich header files and libraries.
Add the steps involved:
MPICC environment variable:MPICC=cc pip install -U mpi4py Without the correct compiler you will probably get compilation errors when running `pip install mpi4py`, e.g.: fatal error: mpi.h: No such file or directory |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|