pvbatch has issues with sys.argv in parallel
The following with pvbatch
run with more than a single MPI process hangs:
import sys
print("sys.argv is ", sys.argv)
i.e. mpirun -np 2 pvbatch <name of script above> 1 2 3 4
A workaround for now is to do:
mpirun -np 2 pvbatch -sym <name of script above> 1 2 3 4
Most users won't know to do this though.