You can start the code within an interactive batch job, after creation of a binary (executable, model code). For that 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 a job on the allocated nodes.
Stop the allocation of nodes.
Ask for an allocation
bgilogin1> salloc --time=00:10:00 --nodes=2 --partition=gpu-pvc bgilogin1> squeue -u $USER ... 8394731 gpu-pvc interact ... bgi[1002-1003]
Start a job
bgilogin1> srun --ntasks-per-node=2 mycode ... my output ...
Stop allocation
bgilogin1> exit salloc: Relinquishing job allocation 8394731 bgilogin1> squeue -u $USER ... nothing ...