hbp_nrp_distributed_nest.launch.DaintLauncher module¶
Helper class to build and execute a formatted srun command
-
class
DaintLauncher
(executable)[source]¶ Bases:
object
Class constructs and executes the mpi in daint environment
-
add_host
(hostname, tmpdir, processes=1)[source]¶ Ignore add_host in daint. Slurm (srun) manages this internally
- Parameters
hostname – ignored
tmpdir – ignored
processes – ignored
-
launch
()[source]¶ Launch the srun command and wait for successful startup of the CLE. Blocks until the CLE publishes completion on the status topic or if the srun command aborts.
-