salloc(1) --time=1:00:0 --ntasks=1 --account=def-someprof
Obtain a SLURM job allocation (a set of nodes), execute a command, and then release the allocation when the command is finished
-t, --time=<time>
       Set a limit on the total run time of the job allocation.  If the requested time limit exceeds  the
       partition's  time  limit,  the  job  will be left in a PENDING state (possibly indefinitely).  The
       default time limit is the partition's time limit.  When the time limit is reached, the  each  task
       in each job step is sent SIGTERM followed by SIGKILL. The interval between signals is specified by
       the SLURM configuration parameter KillWait.  A time limit of zero requests that no time  limit  be
       imposed.   Acceptable  time formats include "minutes", "minutes:seconds", "hours:minutes:seconds",
       "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds".
-n, --ntasks=<number>
       salloc  does  not  launch tasks, it requests an allocation of resources and executed some command.
       This option advises the SLURM controller that job steps run within this allocation will  launch  a
       maximum of number tasks and sufficient resources are allocated to accomplish this.  The default is
       one task per node, but note that the --cpus-per-task option will change this default.
-A, --account=<account>
       Charge  resources  used by this job to specified account.  The account is an arbitrary string. The
       account name may be changed after job submission using the scontrol command.
source manpages: salloc