A yml and a set of instructions to build a functioning environment for the Research Computing # clone this repo: ``` $git clone https://gitlab.rc.uab.edu/rc-data-science/createandparsesacct.git /data/user/saisri/slurm-ds ``` Now load the Anaconda module and create environment on Cheaha cluster: ``` $module load Anaconda3 $conda env create -f environment-slurm-ds.yml ``` If we have to create a database from sacct ``` directoryToUse="/data/user/$USER/VariousNeurology/user/" sacct -P -u $USER --starttime=2019-01-01 --format user,start,jobid,jobname,state,partition,maxrss,reqmem,reqcpus,node,nnodes,elapsed >> "$directoryToUse"userusage.db ``` # Check to see if the environment works After the environment is created, you can start up an interactive Jupyter notebook session through rc.uab.edu to check if the environment works. Under environment setup, specify ``` # Load required modules module load cuda10.0/toolkit module load Anaconda3 ``` Under Extra jupyter arguments, specify ``` --notebook-dir=/data/user/$USER/slurm-ds ``` For partition, specify ``` pascalnodes ```