The discussion forums in the XSEDE User Portal are for users to share experiences, questions, and comments with other users and XSEDE staff. Visitors are welcome to browse and search, but you must login to contribute to the forums. While XSEDE staff monitor the lists, XSEDE does not guarantee that questions will be answered. Please note that the forums are not a replacement for formal support or bug reporting procedures through the XSEDE Help Desk. You must be logged in to post to the user forums.

Combination View Flat View Tree View
Threads [ Previous | Next ]
Help with
11/10/15 6:58 PM

I am having problems with the python script to run normal mode analysis on my amber molecular dynamics trajectory. My batch files run fine in serial mode but fail when I try to use the .MPI implementation with this error message;

Traceback (most recent call last):
File "/opt/amber/bin/", line 51, in <module>
raise MMPBSA_Error('Could not import mpi4py package! Use serial version '
MMPBSA_mods.exceptions.MMPBSA_Error: Could not import mpi4py package! Use serial version or install mpi4py.

The same batch file runs fine if I call the serial version of the program.

Below is the actual script. Thoughts appreciated.

Nic out

#SBATCH --job-name="nmode"
#SBATCH --output="nmode.out"
#SBATCH --partition=shared
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --export=ALL
#SBATCH -t 12:00:00

module load amber
module load openmpi_ib
module load mpi4py

cd $PWD

mpirun -np 4 $AMBERHOME/bin/ -O -i\
-o nmode_6frames.dat\
-sp /home/csteussy/amber/mmpbsa/ref194na/ \
-srp /home/csteussy/amber/mmpbsa/ref194na/ \
-slp /home/csteussy/amber/mmpbsa/ref194na/ \
-cp /home/csteussy/amber/mmpbsa/ref194na/ \
-rp /home/csteussy/amber/mmpbsa/ref194na/ \
-lp /home/csteussy/amber/mmpbsa/ref194na/ \
-y /home/csteussy/amber/mmpbsa/ref194na/complex_prodc.mdcrd.gz \
-yr /home/csteussy/amber/mmpbsa/ref194na/protein_prodc.mdcrd.gz \
-yl /home/csteussy/amber/mmpbsa/ref194na/ligand_prodc.mdcrd.gz