[lammps-users] glory lammps build

Hi Steve,
I tried building a fresh version of lammps on Glory, and it seems to have compiled fine, but when I run a job, I get an error about a missing environment variable. The error I get is:

PMGR_COLLECTIVE ERROR: unitialized MPI task: Missing required environment variable: MPIRUN_RANK

These are the modules I have loaded for the compile and for the run:

compilers/intel-11.1-f064-c064
misc/env-mvapich
mpi/mvapich-1.1_intel-11.1-f064-c064
libraries/fftw-2.1.5

I thought the misc/env-mvapich would have provided the environment variable, but it doesn’t. Do you know what’s wrong? Thanks.

Jonathan