-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_tacc.sh
30 lines (23 loc) · 1.01 KB
/
config_tacc.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# This file contains the directory structure used for the
# validations. To re-run all analyses, please adjust this file.
# This is the github folder with all analysis files
export HOMEDIR="/home1/03545/jdurnez/power/"
# Subdirectories of home
export SCRIPTDIR=$(echo $HOMEDIR\PythonScripts/)
export HCPFILEDIR=$(echo $HOMEDIR\HcpFiles/)
export SIMFILEDIR=$(echo $HOMEDIR\SimulationFiles/)
# SCRATCHDIR --> for large i/o and large files, ideally HCP-environment
export SCRATCHDIR="/scratch/03545/jdurnez/power/"
# Subdirectories of scratch
export RESDIR=$(echo $SCRATCHDIR\Results/)
export TMPDIR=$(echo $SCRATCHDIR\tmp/)
export TABDIR=$(echo $SCRATCHDIR\tables/)
export FIGDIR=$(echo $SCRATCHDIR\figures/)
# Create subdirectories if they don't exist already
if [ ! -d "$RESDIR" ]; then mkdir $RESDIR; fi
if [ ! -d "$TMPDIR" ]; then mkdir $TMPDIR; fi
if [ ! -d "$TABDIR" ]; then mkdir $TABDIR; fi
if [ ! -d "$FIGDIR" ]; then mkdir $FIGDIR; fi
# Connectome-in-a-box folder
export HCPDIR="/corral-tacc/tacc/HCP/"