How to link mpi4py against intelmpi

Viewed 967

I would like to install mpi4py against intelmpi and this is exactly what i see when i do a module list.

however mpi4py.get_config() shows openmpi after these trials:

pip install mpi4py
env MPICC=/share/apps/intel/2017u4/impi/2017.3.196/intel64/bin/mpicc pip install mpi4py

I don't have permissions to remove openmpi. how do I flush it out so that mpi4py gets the right one?

1 Answers

Installation instructions say mpicc should be in $PATH so try

env PATH=/share/apps/intel/2017u4/impi/2017.3.196/intel64/bin:$PATH pip install mpi4py
Related