I have encountered a problem while using Pyxaid2 for step2. I use the same batch script for Pyxaid and Pyxaid2. It is always work for Pyxaid, but does not work for Pyxaid2.
srun: error: hpc-3-39: tasks 5,7-10,13: Exited with exit code 1
The job submission command "os.system( "%s -n %s %s < %s.%
d.in > %s.%d.out" % (BATCH_SYSTEM,NP,EXE,prefix0,t,prefix0,t) )" in runMD function looks good. The only difference in Pyxaid and Pyxaid2 in this regard is mpirun vs srun. Did anyone encounter this issue before? please kindly let me know. Here is my batch script (qe module is already available) :
#!/bin/sh
#SBATCH -J "job-submit"
#SBATCH -n 16
#SBATCH -t 4:00:00
#SBATCH -o test.out
#SBATCH -p backfill
#SBATCH --mail-type=ALL
module load gnu-openmpi
cd $SLURM_SUBMIT_DIR
# Setup all manual parameters here
# Must be ABSOLUTE paths
NP=16
exe_qespresso=/opt/hpc/gnu/bin/qe_pw.x
exe_export=/opt/hpc/gnu/bin/qe_pw_export.x
res=/kbdhungana/project1/Lib-PYx2-test/Pyxaid2/Tut1_basics/step2/res
# These will be assigned automatically, leave them as they are
param1=
param2=
# This is invocation of the scripts which will further handle NA-MD calclculations
# on the NAC calculation step
python -c "from PYXAID2 import *
params = { }
params[\"NP\"]=$NP
params[\"EXE\"]=\"$exe_qespresso\"
params[\"EXE_EXPORT\"]=\"$exe_export\"
params[\"start_indx\"]=$param1
params[\"stop_indx\"]=$param2
params[\"wd\"]=\"wd_test\"
params[\"rd\"]=\"$res\"
params[\"minband\"]=1
params[\"nocc\"]=102
params[\"maxband\"]=122
params[\"nac_method\"]=1
params[\"wfc_preprocess\"]=\"restore\"
params[\"do_complete\"]=1
params[\"prefix0\"]=\"x0.scf\"
params[\"prefix1\"]=\"x1.scf\"
params[\"compute_Hprime\"]=1
print params
runMD.runMD(params)
"