Commit 7d6017ef authored by William Stonewall Monroe's avatar William Stonewall Monroe
Browse files

updating readme for clarity

parent d519057b
...@@ -6,8 +6,7 @@ Copy and paste the following job script into a job composer job on rc.uab.edu ...@@ -6,8 +6,7 @@ Copy and paste the following job script into a job composer job on rc.uab.edu
``` ```
#!/bin/bash #!/bin/bash
#SBATCH --partition=pascalnodes #SBATCH --partition=express
#SBATCH --gres=gpu:1
#SBATCH --mem-per-cpu=4000 #SBATCH --mem-per-cpu=4000
module load cuda10.0/toolkit module load cuda10.0/toolkit
module load Anaconda3 module load Anaconda3
...@@ -23,11 +22,7 @@ else ...@@ -23,11 +22,7 @@ else
conda env update -f /data/user/$USER/slurm-ds/environment-slurm-ds.yml conda env update -f /data/user/$USER/slurm-ds/environment-slurm-ds.yml
fi fi
``` ```
If we have to create a database from sacct
```
directoryToUse="/data/user/$USER/group"
sacct -P -u $USER --starttime=2019-01-01 --format user,start,jobid,jobname,state,partition,maxrss,reqmem,reqcpus,node,nnodes,elapsed >> "$directoryToUse"group.db
```
# Check to see if the environment works # 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. After the environment is created, you can start up an interactive Jupyter notebook session through rc.uab.edu to check if the environment works.
...@@ -52,4 +47,12 @@ For partition, specify ...@@ -52,4 +47,12 @@ For partition, specify
``` ```
pascalnodes pascalnodes
``` ```
\ No newline at end of file
# Creating a text version of sacct output
If we have to create a database from sacct
```
directoryToUse="/data/user/$USER/group"
sacct -P -u $USER --starttime=2019-01-01 --format user,start,jobid,jobname,state,partition,maxrss,reqmem,reqcpus,node,nnodes,elapsed >> "$directoryToUse"group.txt
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment