pyiron_base
pyiron_base copied to clipboard
How to pass command line arguments
This one is closely related to this issue. Now I'd like to pass command line arguments to the executable. Currently, the LAMMPS executable contains:
#!/bin/bash
module load pyiron/dev
mpiexec -n $1 lmp_mpi -in control.inp
But I'd like to extend it to something like
#!/bin/bash
module load pyiron/dev
mpiexec -n $1 lmp_mpi -in control.inp ${@:2}
and from LammpsBase I'd love to pass custom arguments. Is there a possibility to do something like this?
@samwaseda Currently it is not possible.
@niklassiemer Was I supposed to do this one in the end or are you gonna do it? I can't remember what we agreed on at the pyiron meeting...
I will take a shot at this, however, starting with next week.