Skip to content

Commit ee56567

Browse files
Changes launch scripts
1 parent 9d07de4 commit ee56567

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

postprocess.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
#OAR -E ./log/postprocess_log_%jobid%.stderr
66
#OAR -q production
77

8+
TAG="fmri-confs-runner"
9+
810
BASE="/home/ymerel/empenn_group_storage/private/ymerel"
911
RESULTS="$BASE/auditory_276"
1012

11-
pip install -r requirements.txt
12-
python postprocess.py --results $RESULTS
13-
13+
5k-setup-docker -t
14+
docker build . -t $TAG
15+
docker run -u root -v "$RESULTS:/results" $TAG python postprocess.py --results "/results"

run_configs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#OAR -E ./log/run_config_log_%jobid%.stderr
77
#OAR -q production
88

9-
TAG="fmri-confs-runner"c
9+
TAG="fmri-confs-runner"
1010

1111
BASE="/home/ymerel/empenn_group_storage/private/ymerel"
1212
DATA="$BASE/data/auditory"
@@ -27,3 +27,5 @@ else
2727
docker run -u root -v "$DATA:/data" -v "$RESULTS:/results" -v "$WORK:/work" -v "$CONFIGS:/configs" $TAG python run.py --configs "/configs/$CONF" --data /data/data_desc.json
2828
fi
2929

30+
sudo-g5k chown -R ymerel:empenn $RESULTS
31+

0 commit comments

Comments
 (0)