-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunjob.sh
executable file
·66 lines (54 loc) · 1.37 KB
/
runjob.sh
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/bash
# set OpenMP threads
export OMP_NUM_THREADS=8
# launch the simulation
#valgrind --leak-check=full \
./main \
dummy.png \
3 \
\
10e-9 \
1e-14 \
\
160e-9 \
160e-9 \
15e-9 \
\
16 \
16 \
3 \
\
1 \
1 \
0 \
\
0 \
1 \
\
sim_square_variablestep_16x16x3_5nm_ICrandom \
2010 \
2 \
#| tee -a log.dat
exit_status=$?
echo "program exit staus = $exit_status"
exit $exit_status
# default command line args
# =====================================
# imagefile = dummy.png
# P = 3
# finaltime = 1e-9
# timestep = 1e-14
# sample_width = 10e-9
# sample_height = 10e-9
# sample_depth = 1e-9
# xdim = 16
# ydim = 16
# zdim = 3
# demag = 1
# exchange = 1
# external = 0
# use_fmm = 0
# use_gpu = 0
# sim_name = sim_untitled
# SEED = time(NULL)
# IC = 0; // 0 = SD, 1 = Vortex, 2 = Random