#!/bin/bash # This script will request one GPU device and 1 CPU core #SBATCH --job-name=gpuSbatch #SBATCH --output=gpuSbatch.out #SBATCH --error=gpuSbatch.err #SBATCH --time=01:00:00 #SBATCH --nodes=1 #SBATCH --ntasks=1 #SBATCH --partition=gpu #SBATCH --gres=gpu:1 # if your executable was built with CUDA, be sure to load the correct CUDA module: module load cuda # if your exectuable was built with PGI (OpenACC), be sure to load the PGI module: module load pgi/2013 # # your GPU-based executable here #