subprocess_interface#
- execute.subprocess_interface.run(exe, job_type='slurm', ntasks=1, args=None, infile=None, errlog=None, outlog=None, multi_prog=False, multi_prog_conf=None)[source]#
DESCRIPTION:
This function launches a job application in accordance with the parameters received upon entry.
- Parameters:
- exe: str
A Python string specifying the path to the application to be launched.
- Returns:
- returncode: int
A Python integer specifying the return code provided by the subprocess command.
- Raises:
- SubprocessInterfaceError:
raised if a specified configuration is not supported.
- Return type:
int