-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathonerun
More file actions
executable file
·33 lines (22 loc) · 844 Bytes
/
onerun
File metadata and controls
executable file
·33 lines (22 loc) · 844 Bytes
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
31
32
33
#!/bin/bash
#BSUB -n 1
#BSUB -R "span[hosts=1]"
mkdir -p /export/cluster-tmp/chenyehu
export TMPDIR=/export/cluster-tmp/chenyehu
# module add seas-anaconda3
# conda activate chenyehu
# module add gcc-6.5.0
# python main.py -t localnews -i MCMC
SEED=$1
uls=$2
rho=$3
effect=$4
matlab -nodisplay -nodesktop -r "addpath('data');baseline(${SEED},${uls},${rho},${effect}); exit;"
# python data/cmgp.py $SEED $uls $rho $effect
# Rscript --vanilla data/bgsc.R $SEED 10 $uls $rho $effect
# Rscript --vanilla data/ife.R $SEED 0 $uls $rho $effect
# Rscript --vanilla data/ife.R $SEED 10 $uls $rho $effect
# matlab -nodisplay -nodesktop -r "hmc_sample_chain(${chain}); exit;"
# matlab -nodisplay -nodesktop -r "addpath('model');plotmarginalizeddrift; exit;"
# matlab -nodisplay -nodesktop -r "sigact_sample_treatment; exit;"
# conda deactivate