November
18
Linux: Script to load mpi modules on Fedora
loadmpi.sh
#!/bin/bash
module load mpi
export PYTHONPATH=:/usr/lib64/python2.7/site-packages/openmpi:/usr/lib64/python2.7/site-packages/openmpi:/usr/lib64/python2.7/site-packages/openmpi
python -c "import mpi4py"