#!/bin/bash -l # Give the job time limit #$ -l h_rt 12:00:00 # Request 1 core. This will set NSLOTS=1 #$ -pe omp 1 # Join standard error and output files #$ -j y # Give the job a name #$ -N GPU_tf_job # Project Name #$ -P project_name # Request 1 GPU #$ -l gpus=1 # Request at least compute capability 3.5 for Tensorflow #$ -l gpu_c=3.5 # load modules module load python3/3.6.5 module load tensorflow/1.13.1 # Run the test script python tensorflow_code.py