#!/bin/bash -l # Request 4 cores. This will set NSLOTS=4 #$ -pe omp 4 # Request 1 GPU #$ -l gpus=1 # Request compute capability #$ -l gpu_c=3.5 # Join standard error and output files #$ -j y # Give the job a name #$ -N torch_job # Load all required modules: module load cuda/7.5.18 module load intel/2016 module load openblas/0.2.12 module load torch/2.1 # Run the command th quadratic.lua