3

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?

Tims
  • 627
  • 7
  • 19
  • this worked: env MPICC=/share/apps/intel/2017u4/impi/2017.3.196/intel64/bin/mpicc pip install https://bitbucket.org/mpi4py/mpi4py/downloads/mpi4py-3.0.0.tar.gz – Tims Aug 25 '18 at 13:11

1 Answers1

0

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
phd
  • 82,685
  • 13
  • 120
  • 165