pilatus.py
flexible_openmpi.py
Running:
reframe -c flexible_openmpi.py -p PrgEnv-openmpi --system pilatus:normal2 \
-S flexible=True --flex-alloc-nodes=2 --dry-run
will produce a rfm_job.sh file:
#SBATCH --ntasks=8
#SBATCH --ntasks-per-node=4
mpirun -np 0 echo
if the config file sets 'launcher': 'mpirun'.
If the config file sets 'launcher': 'srun', no issue:
#SBATCH --ntasks=8
#SBATCH --ntasks-per-node=4
srun echo
Removing -np from https://github.com/reframe-hpc/reframe/blob/develop/reframe/core/launchers/mpi.py#L113 works but not what we want.
pilatus.py
flexible_openmpi.py
Running:
will produce a rfm_job.sh file:
if the config file sets
'launcher': 'mpirun'.If the config file sets
'launcher': 'srun', no issue:Removing -np from https://github.com/reframe-hpc/reframe/blob/develop/reframe/core/launchers/mpi.py#L113 works but not what we want.