Is there a preferred method for making system calls from python?
Are we concerned about security?
Should mpiexec/mpirun be in the system call for simulators that support parallelism?
A working example to debate over (python2.7 style):
import subprocess commandString = "mpiexec -np %d lmp_g++ -in %s > %s"%(1, lammpsInput, lammpsLog) command = commandString.split() subprocess.check_call(command)