Skip to content

Commit e186856

Browse files
committed
Update reservation
1 parent 745b859 commit e186856

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.etc/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
raw/*

.etc/jsccourse-bashrc.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ if [ -z "$_JSCCOURSE_ENV_SOURCED" ]; then
2323

2424
res=""
2525
currentday=$(date +%d)
26-
if [[ "$currentday" == "13" ]]; then
27-
res="--reservation sc-tutorial"
26+
if [[ "$currentday" == "12" ]]; then
27+
res="--reservation isc-multi-gpu"
2828
fi
2929

3030
export SLURM_NTASKS=1
@@ -59,7 +59,7 @@ if [ -z "$_JSCCOURSE_ENV_SOURCED" ]; then
5959
export JSC_BATCH_CONFIG="$res --partition ${partition} --disable-dcgm --gres=gpu:$ngpus $JSC_SUBMIT_CMD_SYSTEM_SPECIFIC_OPTIONS --time 0:10:00"
6060
export JSC_ALLOC_CMD="salloc $JSC_BATCH_CONFIG"
6161
# export JSC_SUBMIT_CMD="srun $JSC_BATCH_CONFIG --pty"
62-
export JSC_SUBMIT_CMD="salloc $JSC_BATCH_CONFIG srun --cpu-bind=sockets --pty"
62+
export JSC_SUBMIT_CMD="${JSC_ALLOC_CMD} srun --cpu-bind=sockets --pty"
6363

6464
export _JSC_MATERIAL_SYNC="rsync --archive --update --exclude='.*' --exclude='.*/' $JSCCOURSE_DIR_GROUP/common/material/ $JSCCOURSE_DIR_LOCAL"
6565
export _JSC_MATERIAL_SYNC_FORCE="rsync --archive --exclude='.*' --exclude='.*/' $JSCCOURSE_DIR_GROUP/common/material/ $JSCCOURSE_DIR_LOCAL"

0 commit comments

Comments
 (0)