Skip to main content

Obtain interactive shared GPU node on SDSC Expanse

Source repo: basic_skills | Branch: hpc-training-doc | Last synced: 2026-04-24 10:27:17.425 UTC

  • This works the same way, but you need to access the GPU nodes.
  • The SLURM launch command below will obtain an interactive node with access to 1 K80 GPU on the shared GPU nodes for 3 hours. You can also execute this command directly on the command line:
srun --partition=gpu-shared --reservation=gputraining --nodes=1 --ntasks-per-node=6 --gres=gpu:k80:1 -t 03:00:00 --pty --wait=0 /bin/bash
note

It may take some time to get the interactive node, depending on system availability.


Load required modules

Load the CUDA and PGI compiler modules:

module purge
module load gnutools
module load cuda
module load pgi

Resolve PGI license errors (if needed)

If you get a license error when executing the PGI compilers, execute the following:

export LM_LICENSE_FILE=40200@elprado.sdsc.edu:$LM_LICENSE_FILE