Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now we can install mpi4py using the "--no-cache-dir" option to make sure that it always get rebuilt correctly 

Code Block
(x86_E5v2_IntelIB_gcc_mvapich) [user@cluster]$ pip install --no-cache-dir mpi4py
Collecting mpi4py
Using cached mpi4py-2.0.0.tar.gz
Building wheels for collected packages: mpi4py
Running setup.py bdist_wheel for mpi4py ... done
Stored in directory: /home/user/.cache/pip/wheels/e4/54/93/c216e777e447e0261d961c6480f5cb0d8284e7aa1920df8fc0
Successfully built mpi4py
Installing collected packages: mpi4py
Successfully installed mpi4py-2.0.0

...

Code Block
$ mkdir ${SYS_TYPE}_intel
$ module purge
$ module load intel intel-mpi python
$ module list
Currently Loaded Modules:
1) intel/17.0.2 2) intel-mpi/2017.2.174 3) python/3.6.1

$ virtualenv -p python3 x86_E5v2_IntelIB_intel
Using base prefix '/ssoft/spack/cornalin/v1/opt/spack/linux-rhel7-x86_E5v2_IntelIB/intel-17.0.2/python-3.6.1-cl7lfy7srgj45z4owdeaeaqy55jofz5q'
New python executable in /home/user/virtualenv/x86_E5v2_IntelIB_intel/bin/python3
Also creating executable in /home/user/virtualenv/x86_E5v2_IntelIB_intel/bin/python
Installing setuptools, pip, wheel...done.
(x86_E5v2_IntelIB_intel) [user@cluster]$ pip install --no-cache-dir mpi4py
Collecting mpi4py
Installing collected packages: mpi4py
Successfully installed mpi4py-2.0.0

...