-
Notifications
You must be signed in to change notification settings - Fork 29
Run
Sam Reeve edited this page Sep 2, 2021
·
13 revisions
- Get an interactive job from a queue with P100 GPUs
salloc -A ccsd -p gpu_p100 --gpus-per-task=1 -N 2 -n4 -c4 -G4 --mem=0G -t 01:00:00 /bin/bash
- Load installed python modules and programming environment
source subdir/name-env/bin/activate
module load PE-gnu/3.0
- Run example
srun -n 4 python run_config_input.py
- Get an interactive job (V100 GPUs)
bsub -Is -W 30 -P PROJECT -q batch -nnodes 1 /bin/bash
- Load installed python modules and programming environment
module use -a /gpfs/alpine/world-shared/csc143/jyc/summit/sw/modulefiles
module load envs/py38
- Run example
# 1 node, 1 GPU
jsrun -n1 -a1 -c1 -g1 --smpiargs="off" python run_config_input.py
# 4 node, 24 GPU
jsrun -n24 -a1 -g1 -c4 -r6 -b rs --smpiargs="-off" python run_config_input.py