Introduction
Introduction Statistics Contact Development Disclaimer Help
tgenerate_pbs_scripts_ridging_bulk-seed1.sh - seaice-experiments - sea ice expe…
git clone git://src.adamsgaard.dk/seaice-experiments
Log
Files
Refs
README
LICENSE
---
tgenerate_pbs_scripts_ridging_bulk-seed1.sh (1225B)
---
1 #!/bin/bash
2 compressive_velocity=(0.1)
3 K=(1285e2 2570e2 1285e3 2570e3 1285e4 2570e4)
4 prefix=ridging_bulk
5 scriptname=ridging_bulk_simulation.jl
6
7 function pbs_script() {
8 K_=$1
9 compressive_velocity_=$2
10 script="#!/bin/csh -fv
11 #PBS -N ${prefix}_elastic_plastic1_K${K_}_cv${compressive_velocity_}
12 #PBS -l nodes=1:ppn=1
13 #PBS -l walltime=96:00:00
14 #PBS -o /home/Anders.Damsgaard/log/ridging/
15 #PBS -j oe
16 #PBS -r n
17 #PBS -m e
18 #PBS -d /home/Anders.Damsgaard/
19 #PBS -S /bin/csh
20 #PBS -q batch
21
22 setenv JULIA_PKGDIR /work/and/.julia
23 setenv LD_LIBRARY_PATH /work/and/anaconda3/lib:\$LD_LIBRARY_PATH
24
25 cd /work/and/SeaIce-experiments/ridging-bulk/
26 /home/Anders.Damsgaard/local/julia-d55cadc350/bin/julia \\
27 --procs 1 --optimize=3 --math-mode=fast --color=yes ${scriptname} \\
28 --compressive_velocity=$compressive_velocity_ \\
29 --fracture_toughness=$K_ \\
30 --r_min=10.0 \\
31 --r_max=100.0 \\
32 \"${prefix}_elastic_plastic1-K${K_}-cv${compressive_velocity_}\"
33 "
34 echo "$script" > \
35 "${prefix}_elastic_plastic1-K${K_}-cv${compressive_velocity_}.cs…
36 }
37
38
39 for compressive_velocity_ in "${compressive_velocity[@]}"; do
40
41 for K_ in "${K[@]}"; do
42 pbs_script "$K_" "$compressive_velocity_"
43 done
44 done
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.