forked from yanhuay/seisDD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTRUCTIONS
50 lines (46 loc) · 1.67 KB
/
INSTRUCTIONS
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
# The default system is on slurm used at Princeton
#
# seisDD
# download devel branch seisDD from github
git clone https://github.com/yanhuay/seisDD --branch devel
# set seisDD path
echo '# set seisDD path' >> ~/.bashrc
echo 'export seisDD=/path/of/seisDD' >> ~/.bashrc
source ~/.bashrc
echo $seisDD
# make sure $seisDD is the same as '/path/to/seisDD'
# specfem2d
# compile with ifort and mpi
module load intel-mkl/11.0/1/64
module load intel/13.0/64/13.0.1.117
cd $seisDD/specfem2d
## with mpi for parallel simulation
module load openmpi/intel-13.0/1.6.3/64
./configure FC=ifort --with-mpi
## without mpi for serial simulation (queue='serial')
./configure FC=ifort #(recommanded)
## or
./configure FC=gfortran
# compile
make all
cd $seisDD/seisDD/lib
make -f make_lib clean
make -f make_lib
# Experiments in paper:
#Double-difference adjoint seismic tomography
#YO Yuan, FJ Simons, J Tromp
#Geophysical Journal International (2016) accepted for publication
cd $seisDD/GJI2016
# For details, refer to https://github.com/yanhuay/seisDD/tree/master/GJI2016
#
# Addtional comments
# How to start your own project in user private folder under EXAMPLES (not afftected in updating)
>> cd $seisDD/EXAMPLES
# checklist (see GJI2016/Exp1 for demonstration):
# DATA/: interfaces.dat Par_file SOURCE sources.dat STATIONS
# model_init_bin: initial gll binary model
# model_true_bin: target gll binary model (optional if observed data exist)
# data: obaserved data (optional if model_true_bin exists)
# parameter: inversion parameter file including path setting and inversion parameters
# SU_process: preprocessing procedure using SU package (optional)
# run_this_example.sh (shared for all examples)