Closed ChristopherMayes closed 1 year ago
This adds automations for Perlmutter at NERSC. On a compute node, it automatically fills:
Genesis4.MPI_RUN = 'srun -n {nproc} --ntasks-per-node {nproc} -c 1 {command_mpi}' Genesis4.WORKDIR = os.path.expandvars('$SCRATCH')
On a login node, 'salloc -N {nnode} -C cpu -q interactive -t 04:00:00' is prepended to this, which allows calls to Genesis4 from a login node.
'salloc -N {nnode} -C cpu -q interactive -t 04:00:00'
A new property Genesis4.nnode is added for the above f-string. That is the only use at the moment.
Genesis4.nnode
This adds automations for Perlmutter at NERSC. On a compute node, it automatically fills:
On a login node,
'salloc -N {nnode} -C cpu -q interactive -t 04:00:00'
is prepended to this, which allows calls to Genesis4 from a login node.A new property
Genesis4.nnode
is added for the above f-string. That is the only use at the moment.