Closed sphuber closed 3 years ago
It currently is hardcoded: https://github.com/marvel-nccr/ansible-role-aiida/blob/e5802da328e9dd1fe70612a5ffbea98b43c43147/templates/computer.yml#L6
The command can be scheduler dependent, however. For example for a SLURM scheduler, one should run srun -n {tot_num_mpiprocs} instead. For Quantum Mobile 20.11.a2 for example, SLURM is used, but the localhost computer is not configured to use srun.
srun -n {tot_num_mpiprocs}
localhost
srun
It currently is hardcoded: https://github.com/marvel-nccr/ansible-role-aiida/blob/e5802da328e9dd1fe70612a5ffbea98b43c43147/templates/computer.yml#L6
The command can be scheduler dependent, however. For example for a SLURM scheduler, one should run
srun -n {tot_num_mpiprocs}
instead. For Quantum Mobile 20.11.a2 for example, SLURM is used, but thelocalhost
computer is not configured to usesrun
.