Skip to content

Instantly share code, notes, and snippets.

@ilkerkesen
Last active February 4, 2018 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilkerkesen/0d18eac820380e8b3c1ce90187c97fd5 to your computer and use it in GitHub Desktop.
Save ilkerkesen/0d18eac820380e8b3c1ce90187c97fd5 to your computer and use it in GitHub Desktop.
COMP 541 - KUACC Configuration
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
export TERM=xterm
export SCRATCH=/scratch/users/$USER
export JULIA_PKGDIR=$SCRATCH/.julia
# modules
module load julia/0.6.2
module load cuda/8.0
module load git/2.16.1
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
#!/bin/sh
#SBATCH -J myjob
#SBATCH -p short
#SBATCH --gres=gpu:1
#SBATCH --output=myjob-%j.txt
#SBATCH --time 2:00:00
# a dummy command - shows current datetime info
date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment