Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91256066
script.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 9, 10:06
Size
420 B
Mime Type
text/x-shellscript
Expires
Mon, Nov 11, 10:06 (2 d)
Engine
blob
Format
Raw Data
Handle
22230959
Attached To
R11341 Introduction to CUDA
script.sh
View Options
#!/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
Log In to Comment