Page MenuHomec4science

script.sh
No OneTemporary

File Metadata

Created
Sat, Nov 9, 10:06

script.sh

#!/bin/bash -l
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --ntasks-per-core=1
#SBATCH --cpus-per-task=1
#SBATCH --gres=gpu:1
#SBATCH --reservation=spc-cuda-training-12.04
#SBATCH --account=spc-cuda-training
#SBATCH --time=0:05:00
module load nvhpc
srun -n 1 ./hello_world_cpu.x > output_hello_world_cpu
srun -n 1 ./hello_world_cuda.x > output_hello_world_cuda
srun -n 1 ./mem_alloc.x > output_mem_alloc

Event Timeline