Skip to content
Snippets Groups Projects
Commit 41ec46e7 authored by JanThorbecke's avatar JanThorbecke
Browse files

testing mme reproducability scripts

parent 3ac171a6
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ This will take 15 seconds. The generated files are:
- pred_rr_276.su (not used)
- DDshot_450.su (not used): selected shot record convolved with file_src=wave.su
where ## ranges from 01 to 33
where ## ranges from 01 to 34
To generate the postscript files for Figure 3:
......
#!/bin/bash
export PATH=$HOME/src/OpenSource/bin/:$PATH:
export ROOT=`grep ROOT= ../../../Make_include | head -1 | sed 's/ROOT=//' `
#adjust the PATH to where the code is installed
export PATH=$ROOT/bin:$PATH:
# Add interface line to postscript file of model
cat << EOF1 > line1
......
#!/bin/bash
export PATH=$HOME/src/OpenSource/bin/:$PATH:
export ROOT=`grep ROOT= ../../../Make_include | head -1 | sed 's/ROOT=//' `
#adjust the PATH to where the code is installed
export PATH=$ROOT/bin:$PATH:
echo "Making eps files for $1"
......
......@@ -10,9 +10,12 @@
#800/1800+600/3200+520/2000
#.96531400966183574878 sample 241
export ROOT=`grep ROOT= ../../../Make_include | head -1 | sed 's/ROOT=//' `
#adjust the PATH to where the code is installed
export PATH=$ROOT/bin:$PATH:
R=shotsdx5_rp.su
makewave fp=20 dt=0.004 file_out=wave.su nt=2048 t0=0.0 scale=0 scfft=1
makewave fp=20 dt=0.004 file_out=wave.su nt=1024 t0=0.0 scale=0 scfft=1
select=451
if [[ "$1" == "Figure34910" ]];
......@@ -21,7 +24,7 @@ for istart in 276
do
(( iend = istart + 1 ))
../../marchenko_primaries file_shot=$R ishot=$select file_src=wave.su \
marchenko_primaries file_shot=$R ishot=$select file_src=wave.su \
nshots=901 verbose=2 istart=$istart iend=$iend fmax=90 \
pad=512 niter=33 smooth=8 niterskip=600 shift=16 file_rr=pred_rr_${istart}.su T=0 file_iter=iter.su
done
......@@ -31,7 +34,7 @@ if [[ "$1" == "Figure6" ]];
then
istart=200
(( iend = istart + 1 ))
../../marchenko_primaries file_shot=$R ishot=$select file_src=wave.su \
marchenko_primaries file_shot=$R ishot=$select file_src=wave.su \
nshots=901 verbose=2 istart=$istart iend=$iend fmax=90 \
pad=512 niter=30 smooth=8 niterskip=600 shift=16 file_rr=pred_rr_${istart}.su T=0 file_iter=iter.su
fi
......@@ -42,7 +45,7 @@ for istart in 246 256 266 276 286 296 306 316
do
(( iend = istart + 1 ))
../../marchenko_primaries file_shot=$R ishot=$select file_src=wave.su \
marchenko_primaries file_shot=$R ishot=$select file_src=wave.su \
nshots=901 verbose=2 istart=$istart iend=$iend fmax=90 \
pad=512 niter=33 smooth=8 niterskip=600 shift=16 file_rr=pred_rr_${istart}.su T=0 file_iter=iter.su
done
......@@ -52,7 +55,7 @@ if [[ "$1" == "Figure13" ]];
then
istart=276
(( iend = istart + 1 ))
../../marchenko_primaries file_shot=$R ishot=$select file_src=wave.su \
marchenko_primaries file_shot=$R ishot=$select file_src=wave.su \
nshots=901 verbose=2 istart=$istart iend=$iend fmax=90 \
pad=512 niter=33 smooth=8 niterskip=600 shift=16 file_rr=pred_rr_${istart}.su T=1 file_iter=iterT.su
fi
......
......@@ -5,8 +5,9 @@
#SBATCH --time=0:15:00
#adjust this PATH to where the code is installed
export PATH=$HOME/src/OpenSource/bin:$PATH:
export ROOT=`grep ROOT= ../../../Make_include | head -1 | sed 's/ROOT=//' `
#adjust the PATH to where the code is installed
export PATH=$ROOT/bin:$PATH:
dx=2.5
dt=0.0005
......
......@@ -10,7 +10,10 @@
#cd $SLURM_SUBMIT_DIR
export PATH=$HOME/src/OpenSource/bin:$PATH:
export ROOT=`grep ROOT= ../../../Make_include | head -1 | sed 's/ROOT=//' `
#adjust the PATH to where the code is installed
export PATH=$ROOT/bin:$PATH:
export OMP_NUM_THREADS=20
#shot record to remove internal multiples
......
......@@ -7,7 +7,10 @@
#cd $SLURM_SUBMIT_DIR
export PATH=$HOME/src/OpenSource/bin:$PATH:
export ROOT=`grep ROOT= ../../../Make_include | head -1 | sed 's/ROOT=//' `
#adjust the PATH to where the code is installed
export PATH=$ROOT/bin:$PATH:
export OMP_NUM_THREADS=10
makewave fp=20 dt=0.004 file_out=wave.su nt=1024 t0=0.0 scale=0 scfft=1
......
#!/bin/bash
export PATH=$HOME/src/OpenSource/bin/:$PATH:
export ROOT=`grep ROOT= ../../../../Make_include | head -1 | sed 's/ROOT=//' `
#adjust the PATH to where the code is installed
export PATH=$ROOT/bin:$PATH:
if [[ "$1" == "Figure8" ]];
then
......
......@@ -10,6 +10,10 @@
#800/1800+600/3200+520/2000
#.96531400966183574878 sample 241
export ROOT=`grep ROOT= ../../../../Make_include | head -1 | sed 's/ROOT=//' `
#adjust the PATH to where the code is installed
export PATH=$ROOT/bin:$PATH:
makewave fp=20 dt=0.004 file_out=wave.su nt=2048 t0=0.0 scale=0 scfft=1
R=shotsdx5_rp.su
......@@ -19,7 +23,7 @@ if [[ "$1" == "Figure8" ]];
then
istart=200
(( iend = istart + 1 ))
../../../marchenko_primaries file_shot=$R ishot=$select file_src=wave.su \
marchenko_primaries file_shot=$R ishot=$select file_src=wave.su \
nshots=901 verbose=2 istart=$istart iend=$iend fmax=90 \
pad=512 niter=30 smooth=8 niterskip=600 shift=16 file_rr=pred_rr_${istart}.su T=0 file_iter=iter.su
fi
......@@ -5,8 +5,9 @@
#SBATCH --time=1:59:00
#SBATCH -p max2h
#adjust this PATH to where the code is installed
export PATH=$HOME/src/OpenSource/bin:$PATH:
export ROOT=`grep ROOT= ../../../../Make_include | head -1 | sed 's/ROOT=//' `
#adjust the PATH to where the code is installed
export PATH=$ROOT/bin:$PATH:
dx=2.5
dt=0.0005
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment