Introduction
Introduction Statistics Contact Development Disclaimer Help
tgenerate_pbs_scripts_varioridge-seed1.sh - seaice-experiments - sea ice experi…
git clone git://src.adamsgaard.dk/seaice-experiments
Log
Files
Refs
README
LICENSE
---
tgenerate_pbs_scripts_varioridge-seed1.sh (1810B)
---
1 #!/bin/bash
2 compressive_velocity=(0.1)
3 nx=100
4 ny_fixed=10
5 ny_variable=(11)
6 tensile_strength_std_dev=(0.0 10000.0 20000.0 40000.0 80000.0 160000.0)
7 prefix=varioridge
8 scriptname=ridging_simulation.jl
9
10 function pbs_script() {
11 compressive_velocity_=$1
12 ny1=$2
13 ny2=$3
14 nx1=$4
15 nx2=$5
16 tensile_strength_std_dev_=$6
17 script="#!/bin/csh -fv
18 #PBS -N ${prefix}-seed1-ny1_${ny1}-ny2_${ny2}-cv_${compressive_velocity_…
19 #PBS -l nodes=1:ppn=1
20 #PBS -l walltime=3:00:00:00
21 #PBS -o /home/Anders.Damsgaard/log/ridging/
22 #PBS -j oe
23 #PBS -r n
24 #PBS -m e
25 #PBS -d /home/Anders.Damsgaard/
26 #PBS -S /bin/csh
27 #PBS -q batch
28
29 setenv JULIA_PKGDIR /work/and/.julia
30 setenv LD_LIBRARY_PATH /work/and/anaconda3/lib:\$LD_LIBRARY_PATH
31
32 cd /work/and/SeaIce-experiments/ridging/
33 /home/Anders.Damsgaard/local/julia-903644385b/bin/julia \\
34 --procs 1 --optimize=3 --math-mode=fast --color=yes ${scriptname} \\
35 --compressive_velocity=$compressive_velocity_ \\
36 --ny1=$ny1 \\
37 --ny2=$ny2 \\
38 --nx1=$nx1 \\
39 --nx2=$nx2 \\
40 --tensile_strength_std_dev=$tensile_strength_std_dev_ \\
41 \"${prefix}-seed1-ny1_${ny1}-ny2_${ny2}-cv_${compressive_velocity_}-…
42 "
43 echo "$script" > \
44 "${prefix}-seed1-ny1_${ny1}-ny2_${ny2}-cv_${compressive_velocity…
45 }
46
47
48 for compressive_velocity_ in ${compressive_velocity[@]}; do
49
50 for ny2 in ${ny_variable[@]}; do
51 for tensile_strength_std_dev_ in ${tensile_strength_std_dev[@]};…
52 pbs_script $compressive_velocity_ $ny_fixed $ny2 $nx $nx \
53 $tensile_strength_std_dev_
54 pbs_script $compressive_velocity_ $ny2 $ny_fixed $nx $nx \
55 $tensile_strength_std_dev_
56 done
57 done
58 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.