Skip to content

Commit

Permalink
Create lunch_cuda.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Almeida authored Jul 5, 2024
1 parent f2fcdac commit 3eb5131
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/cuda/lunch_cuda.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH --job-name=Cuda # create a short name for your job
#SBATCH --output="Cuda-%j.out" # %j will be replaced by the slurm jobID
#SBATCH --nodes=1 # node count
#SBATCH --ntasks=1 # total number of tasks across all nodes
#SBATCH --cpus-per-task=2 # cpu-cores per task (>1 if multi-threaded tasks)
#SBATCH --gres=gpu:1 # number of gpus per node

# run the compiled binary
./vector_addition

0 comments on commit 3eb5131

Please sign in to comment.