-
Notifications
You must be signed in to change notification settings - Fork 0
/
session_config.sh
executable file
·21 lines (18 loc) · 1.1 KB
/
session_config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
########### Session Config ###########
# Configuration parameters used to #
# start an interactive SLURM session #
######################################
# Variables for SSH and remote execution
export REMOTE_USER="your_watcloud_username" # Your WATcloud Username
export REMOTE_HOST="watcloud_remote_host" # [tr-ubuntu3, derek3-ubuntu2]
export SSH_KEY="path_to_private_key" # Path to your local private key
# SLURM job configuration
export NUMBER_OF_CPUS=4 # Number of CPUs to use
export MEMORY=16G # Amount of RAM to use
export USAGE_TIME="6:00:00" # How long you want to run the session for
export TMP_DISK_SIZE=10240 # How much temporary storage you want [in MiB]
export VRAM=0 # How much GPU VRAM you want [in MiB]
# SLURM tooling configuration
export UPDATE_WATO_ASD_TOOLING=1 # Set to 0 if you don't want to update ASD tooling on remote hosts
export SAVE_DOCKER_STATE_ON_EXIT=0 # Set to 1 if you want to save docker state on exit
export CLEAN_SAVED_DOCKER_STATE=0 # Set to 1 to clean your docker state, do this is your docker is corrupted or too large