NEDAS.job_submitters.local module
- class NEDAS.job_submitters.local.LocalJobSubmitter(**kwargs)[source]
Bases:
JobSubmitterThe LocalJobSubmitter class assumes a generic GNU/Linux environment on a single PC. For ‘serial’ parallel mode: the command is directly executed in a subprocess. For ‘mpi’ or ‘openmp’ parallel modes: the command will be parsed accordingly to be run in an mpi environment.
- property nproc_avail
Number of available processors on a host machine This should be redefined in subclasses to machine specific behavior
- property execute_command: str
Vanila JobSubmitter will just run “mpirun -np nproc …”, and discard the ppn and offset settings