You can start the code within an interactive batch job. After creation of a binary (executable, model code), please follow these steps.
Login to a login node of GPU PVC partition.
Ask for an allocation of nodes within a slurm partition of the GPU PVC partition.
Start the code on the allocation.
Stop the allocation of nodes.
bgilogin1> salloc --time=00:10:00 --nodes=2 --partition=gpu-pvc bgilogin1> squeue -u $USER ... 8394731 gpu-pvc interact ... bgi[1002-1003] |
bgilogin1> srun --ntasks-per-node=2 mycode ... my output ... bgilogin1> srun --ntasks-per-node=2 mycode ... my output ... |
bgilogin1> exit salloc: Relinquishing job allocation 8394731 bgilogin1> squeue -u $USER ... nothing ... |