Skip to content

Instantly share code, notes, and snippets.

@MechCoder
Last active December 10, 2016 22:28
Show Gist options
  • Save MechCoder/c8756fa3753bc996440347174d0f9cb1 to your computer and use it in GitHub Desktop.
Save MechCoder/c8756fa3753bc996440347174d0f9cb1 to your computer and use it in GitHub Desktop.
#!/bin/bash
#PBS -l nodes=1:ppn=1:gpus=1
#PBS -l walltime=8:00:00
#PBS -l mem=50GB
#PBS -N name_of_script
#PBS -M emailid
#PBS -m b -m e -m a -m abe
#PBS -j oe
module purge
SRCDIR=$HOME/inference_project
RUNDIR=$SCRATCH/run-${PBS_JOBID/.*}
mkdir -p $RUNDIR
cd $PBS_O_WORKDIR
cp -R $SRCDIR/* $RUNDIR
cd $RUNDIR
module load librosa/0.4.1
# Whatever tensorflow version you need
module load tensorflow
# Write whatever you want here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment