TABLE OF CONTENTS


::pwtk::slurm_profile

USAGE

::pwtk::slurm_profile profileName profileSpecs

DESCRIPTION

Define a SLURM "profile" within the PWTK script. See also: ::pwtk::SLURM.

Here is an example of how a new slurm profile can be defined and used:

      slurm_profile n24 {
         #!/bin/sh
         #SBATCH --nodes=2
         #SBATCH --ntasks-per-node=12
         #SBATCH --ntasks=24
         #SBATCH --time=12:00:00
      }

      SLURM n24 {
         import job.pwtk
      }