Save multistart results in different files
[morpheus.git] / reports / run_accu_cl.sh
index 6d6ac21..04f1519 100644 (file)
@@ -1,31 +1,27 @@
 #!/bin/bash
 
+# Lancement: qsub -o .output -j y run_accu_cl.sh
+
 #$ -N morpheus
+#$ -wd /workdir2/auder/morpheus/reports
 #$ -m abes
 #$ -M benjamin@auder.net
-#$ -pe make 5
+#$ -pe make 10
 #$ -l h_vmem=1G
-#$ -j y
-#$ -o .output
 rm -f .output
 
-WORKDIR=/workdir2/auder/morpheus/reports
-cd $WORKDIR
-
-module load R/3.6.0
+module load R/3.6.1
 
-N=1000
+N=100
 n=1e5
-nc=50
-
-link=logit
-# and disable d=20 to run faster
+nc=10
 
-# arg --vanilla maybe possible on cluster
 for d in 2 5 10; do
-       #for link in "logit" "probit"; do
-               R --slave --args N=$N n=$n nc=$nc d=$d link=$link <accuracy.R >out_$n$link$d 2>&1
-       #done
+       for link in "logit" "probit"; do
+               for weights in "1,1,0"; do
+                       R --slave --args N=$N n=$n nc=$nc d=$d link=$link weights=$weights <accuracy.R >out_${n}_${link}_${d}_${weights} 2>&1
+               done
+       done
 done
 
 #for d in 2 5; do