...
 
Commits (11)
clear all;
close all;
%%
runTime96=[100 100];
runTime192=[100 100];
runTime384=[100 100];
runTime768=[100 100];
runTime1536=[100 100];
runTime3000=[100 100];
mean96=mean(runTime96);
mean192=mean(runTime192);
mean384=mean(runTime384);
mean768=mean(runTime768);
mean1536=mean(runTime1536);
mean3000=mean(runTime3000);
speedUp=mean96./[mean96 mean192 mean384 mean768 mean1536 mean3000];
speedUpLinear=[1 2 4 8 16 31.25];
numCores=[96 192 384 768 1536 3000];
%% Plotting
figure
measured=plot(numCores,speedUp,'-o','LineWidth',2);
hold on
theo=plot(numCores,speedUpLinear,'LineWidth',2);
xlabel('Number of Cores')
ylabel('rel. SpeedUp bezogen auf 96 CPUs')
ld=legend([measured,theo],'Measured JURECA','Linear');
ld.Location='northwest';
title('JURECA')
ld.FontSize=16;
ax=gca;
ax.FontSize=16;
grid on
grid minor
\ No newline at end of file
%% Plot a seismogram as imageplot and wiggleplot
% GNU General Public License v3.0
%
% Author: Florian Wittkamp 2016
%
%% Initialitation
clear all;
close all;
%% Parameter
Traces=251;
Samples=1000;
filename='../seismogram_bench_48_p.bin';
%% Read Seismogram
fid=fopen([filename],'r','ieee-le');
Seismogram=fread(fid,[Samples,Traces],'float'); fclose(fid);
%% Wiggleplot
figure
for t=1:Traces;
plot(Seismogram(:,t)./max(Seismogram(:,t))+t,'red')
hold on
end
axis([0 Samples 1 Traces+1])
xlabel('Samples')
ylabel('Traces')
% %% Imageplot
% figure
% imagesc(Seismogram,[-1e-10 1e-10])
% xlabel('Traces')
% ylabel('Samples')
% title(['Imageplot ',filename])
\ No newline at end of file
## plot_seismogram.py
# GNU General Public License v3.0
# Plot seismogram in a wiggle plot
#
# Florian Wittkamp 2016
## Initialisation
from numpy import *
import matplotlib.pyplot as plt
# Seismogram is written out as matrix
# Dimension of Matris is: Traces*Samples
Traces=251
Samples=1000
filename='../seismogram_bench_48_p.bin'
# Read in Seismogram
file = open(filename, 'rb')
Seismogram=fromfile(file,dtype=float32)
Seismogram=reshape(Seismogram,(Traces,Samples))
Seismogram=transpose(Seismogram)
# Trace normalization
for trace in range(Traces):
Seismogram[:,trace]=Seismogram[:,trace]/max(Seismogram[:,trace])
# Plotting
plt.figure(1)
for trace in range(Traces):
plt.plot(Seismogram[:,trace]+trace,color='black')
plt.xlim([0,Samples])
plt.xlabel('Samples')
plt.ylim([-1,Traces])
plt.ylabel('Traces')
plt.savefig('Seismogram.pdf')
plt.show()
# Plotting Seismogram as image plot
# plt.figure(1)
# imgplot=plt.imshow(Seismogram,aspect='auto')
# imgplot.set_clim(-1e-9,1e-9)
# plt.ylabel('Sample')
# plt.xlabel('Tracenumber')
# plt.draw()
2500.0 2500.0 2500.0
2600.0 2600.0 2600.0
2700.0 2700.0 2700.0
2800.0 2800.0 2800.0
2900.0 2900.0 2900.0
3000.0 3000.0 3000.0
3100.0 3100.0 3100.0
3200.0 3200.0 3200.0
3300.0 3300.0 3300.0
3400.0 3400.0 3400.0
3500.0 3500.0 3500.0
3600.0 3600.0 3600.0
3700.0 3700.0 3700.0
3800.0 3800.0 3800.0
3900.0 3900.0 3900.0
4000.0 4000.0 4000.0
4100.0 4100.0 4100.0
4200.0 4200.0 4200.0
4300.0 4300.0 4300.0
4400.0 4400.0 4400.0
4500.0 4500.0 4500.0
4600.0 4600.0 4600.0
4700.0 4700.0 4700.0
4800.0 4800.0 4800.0
4900.0 4900.0 4900.0
5000.0 5000.0 5000.0
5100.0 5100.0 5100.0
5200.0 5200.0 5200.0
5300.0 5300.0 5300.0
5400.0 5400.0 5400.0
5500.0 5500.0 5500.0
5600.0 5600.0 5600.0
5700.0 5700.0 5700.0
5800.0 5800.0 5800.0
5900.0 5900.0 5900.0
6000.0 6000.0 6000.0
6100.0 6100.0 6100.0
6200.0 6200.0 6200.0
6300.0 6300.0 6300.0
6400.0 6400.0 6400.0
6500.0 6500.0 6500.0
6600.0 6600.0 6600.0
6700.0 6700.0 6700.0
6800.0 6800.0 6800.0
6900.0 6900.0 6900.0
7000.0 7000.0 7000.0
7100.0 7100.0 7100.0
7200.0 7200.0 7200.0
7300.0 7300.0 7300.0
7400.0 7400.0 7400.0
7500.0 7500.0 7500.0
7600.0 7600.0 7600.0
7700.0 7700.0 7700.0
7800.0 7800.0 7800.0
7900.0 7900.0 7900.0
8000.0 8000.0 8000.0
8100.0 8100.0 8100.0
8200.0 8200.0 8200.0
8300.0 8300.0 8300.0
8400.0 8400.0 8400.0
8500.0 8500.0 8500.0
8600.0 8600.0 8600.0
8700.0 8700.0 8700.0
8800.0 8800.0 8800.0
8900.0 8900.0 8900.0
9000.0 9000.0 9000.0
9100.0 9100.0 9100.0
9200.0 9200.0 9200.0
9300.0 9300.0 9300.0
9400.0 9400.0 9400.0
9500.0 9500.0 9500.0
9600.0 9600.0 9600.0
9700.0 9700.0 9700.0
9800.0 9800.0 9800.0
9900.0 9900.0 9900.0
10000.0 10000.0 10000.0
10100.0 10100.0 10100.0
10200.0 10200.0 10200.0
10300.0 10300.0 10300.0
10400.0 10400.0 10400.0
10500.0 10500.0 10500.0
10600.0 10600.0 10600.0
10700.0 10700.0 10700.0
10800.0 10800.0 10800.0
10900.0 10900.0 10900.0
11000.0 11000.0 11000.0
11100.0 11100.0 11100.0
11200.0 11200.0 11200.0
11300.0 11300.0 11300.0
11400.0 11400.0 11400.0
11500.0 11500.0 11500.0
11600.0 11600.0 11600.0
11700.0 11700.0 11700.0
11800.0 11800.0 11800.0
11900.0 11900.0 11900.0
12000.0 12000.0 12000.0
12100.0 12100.0 12100.0
12200.0 12200.0 12200.0
12300.0 12300.0 12300.0
12400.0 12400.0 12400.0
12500.0 12500.0 12500.0
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR SOFI3D
#-----------------------------------------------------------------
# description: example of json input file
# description/name of the model: homogeneous full space (hh.c)
#
{
"Domain Decomposition" : "comment",
"NPROCX" : "2",
"NPROCY" : "2",
"NPROCZ" : "3",
"3-D Grid" : "comment",
"NX" : "300",
"NY" : "300",
"NZ" : "300",
"DX" : "50.0",
"DY" : "50.0",
"DZ" : "50.0",
"FD order" : "comment",
"FDORDER" : "8",
"FDORDER_TIME" : "2",
"FDCOEFF" : "1",
"fdcoeff values: Taylor=1, Holberg=2" : "comment",
"Time Stepping" : "comment",
"TIME" : "2.0",
"DT" : "2.0e-3",
"Source" : "comment",
"SOURCE_SHAPE" : "1",
"source shape values: ricker=1;fumue=2;from_SIGNAL_FILE=3;SIN**3=4" : "comment",
"SIGNAL_FILE" : "signal_mseis.tz",
"SOURCE_TYPE" : "1",
"source_type values (point_source): explosive=1;force_in_x=2;in_y=3;in_z=4;custom=5;earthquake=6" : "comment",
"SOURCE_ALPHA, SOURCE_BETA" : "0.0 , 0.0",
"AMON, STR, DIP, RAKE" : "1.0e2 , 45.0 , 90.0 , 45.0",
"SRCREC" : "1",
"srcrec values : read from SOURCE_FILE=1, PLANE_WAVE=2 (internal)" : "comment",
"SOURCE_FILE" : "sources.dat",
"RUN_MULTIPLE_SHOTS" : "0",
"PLANE_WAVE_DEPTH" : "2106.0",
"PLANE_WAVE_ANGLE" : "0.0",
"TS" : "0.2",
"Model" : "comment",
"READMOD" : "0",
"MFILE" : "../model/test",
"WRITE_MODELFILES" : "2",
"Q-approximation" : "comment",
"L" : "0",
"FREF" : "5.0",
"FL1" : "5.0",
"TAU" : "0.00001",
"Boundary Conditions" : "comment",
"FREE_SURF" : "0",
"ABS_TYPE" : "2",
"FW" : "0",
"DAMPING" : "8.0",
"FPML" : "5.0",
"VPPML" : "3500.0",
"NPOWER" : "4.0",
"K_MAX_CPML" : "1.0",
"BOUNDARY" : "0",
"Snapshots" : "comment",
"SNAP" : "0",
"TSNAP1" : "6.6e-3",
"TSNAP2" : "4.8",
"TSNAPINC" : "0.2",
"IDX" : "1",
"IDY" : "1",
"IDZ" : "1",
"SNAP_FORMAT" : "3",
"SNAP_FILE" : "../snap/test",
"SNAP_PLANE" : "2",
"Receiver" : "comment",
"SEISMO" : "2",
"READREC" : "1",
"REC_FILE" : "receiver.dat",
"REFRECX, REFRECY, REFRECZ" : "0.0 , 0.0 , 0.0",
"XREC1,YREC1, ZREC1" : "54.0 , 2106.0, 2592.0",
"XREC2,YREC2, ZREC2" : "5400.0 , 2106.0, 2592.0",
"NGEOPH" : "1",
"Receiver array" : "comment",
"REC_ARRAY" : "0",
"REC_ARRAY_DEPTH" : "1350.0",
"REC_ARRAY_DIST" : "640.0",
"DRX" : "2",
"DRZ" : "2",
"Seismograms" : "comment",
"NDT, NDTSHIFT" : "1, 0",
"SEIS_FORMAT" : "3",
"SEIS_FILE" : "seismogram_bench_12",
"Monitoring the simulation" : "comment",
"LOG_FILE" : "../log/bench_12.log",
"LOG" : "1",
"OUT_SOURCE_WAVELET" : "1",
"OUT_TIMESTEP_INFO" : "10",
"Checkpoints" : "comment",
"CHECKPTREAD" : "0",
"CHECKPTWRITE" : "0",
"CHECKPT_FILE" : "../tmp/checkpoint_sofi3D",
}
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR SOFI3D
#-----------------------------------------------------------------
# description: example of json input file
# description/name of the model: homogeneous full space (hh.c)
#
{
"Domain Decomposition" : "comment",
"NPROCX" : "12",
"NPROCY" : "4",
"NPROCZ" : "4",
"3-D Grid" : "comment",
"NX" : "300",
"NY" : "300",
"NZ" : "300",
"DX" : "50.0",
"DY" : "50.0",
"DZ" : "50.0",
"FD order" : "comment",
"FDORDER" : "8",
"FDORDER_TIME" : "2",
"FDCOEFF" : "1",
"fdcoeff values: Taylor=1, Holberg=2" : "comment",
"Time Stepping" : "comment",
"TIME" : "2.0",
"DT" : "2.0e-3",
"Source" : "comment",
"SOURCE_SHAPE" : "1",
"source shape values: ricker=1;fumue=2;from_SIGNAL_FILE=3;SIN**3=4" : "comment",
"SIGNAL_FILE" : "signal_mseis.tz",
"SOURCE_TYPE" : "1",
"source_type values (point_source): explosive=1;force_in_x=2;in_y=3;in_z=4;custom=5;earthquake=6" : "comment",
"SOURCE_ALPHA, SOURCE_BETA" : "0.0 , 0.0",
"AMON, STR, DIP, RAKE" : "1.0e2 , 45.0 , 90.0 , 45.0",
"SRCREC" : "1",
"srcrec values : read from SOURCE_FILE=1, PLANE_WAVE=2 (internal)" : "comment",
"SOURCE_FILE" : "sources.dat",
"RUN_MULTIPLE_SHOTS" : "0",
"PLANE_WAVE_DEPTH" : "2106.0",
"PLANE_WAVE_ANGLE" : "0.0",
"TS" : "0.2",
"Model" : "comment",
"READMOD" : "0",
"MFILE" : "../model/test",
"WRITE_MODELFILES" : "0",
"Q-approximation" : "comment",
"L" : "0",
"FREF" : "5.0",
"FL1" : "5.0",
"TAU" : "0.00001",
"Boundary Conditions" : "comment",
"FREE_SURF" : "0",
"ABS_TYPE" : "2",
"FW" : "0",
"DAMPING" : "8.0",
"FPML" : "5.0",
"VPPML" : "3500.0",
"NPOWER" : "4.0",
"K_MAX_CPML" : "1.0",
"BOUNDARY" : "0",
"Snapshots" : "comment",
"SNAP" : "0",
"TSNAP1" : "6.6e-3",
"TSNAP2" : "4.8",
"TSNAPINC" : "0.2",
"IDX" : "1",
"IDY" : "1",
"IDZ" : "1",
"SNAP_FORMAT" : "3",
"SNAP_FILE" : "../snap/test",
"SNAP_PLANE" : "2",
"Receiver" : "comment",
"SEISMO" : "2",
"READREC" : "1",
"REC_FILE" : "receiver.dat",
"REFRECX, REFRECY, REFRECZ" : "0.0 , 0.0 , 0.0",
"XREC1,YREC1, ZREC1" : "54.0 , 2106.0, 2592.0",
"XREC2,YREC2, ZREC2" : "5400.0 , 2106.0, 2592.0",
"NGEOPH" : "1",
"Receiver array" : "comment",
"REC_ARRAY" : "0",
"REC_ARRAY_DEPTH" : "1350.0",
"REC_ARRAY_DIST" : "640.0",
"DRX" : "2",
"DRZ" : "2",
"Seismograms" : "comment",
"NDT, NDTSHIFT" : "1, 0",
"SEIS_FORMAT" : "3",
"SEIS_FILE" : "seismogram_bench_192",
"Monitoring the simulation" : "comment",
"LOG_FILE" : "../log/bench_192.log",
"LOG" : "1",
"OUT_SOURCE_WAVELET" : "1",
"OUT_TIMESTEP_INFO" : "10",
"Checkpoints" : "comment",
"CHECKPTREAD" : "0",
"CHECKPTWRITE" : "0",
"CHECKPT_FILE" : "../tmp/checkpoint_sofi3D",
}
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR SOFI3D
#-----------------------------------------------------------------
# description: example of json input file
# description/name of the model: homogeneous full space (hh.c)
#
{
"Domain Decomposition" : "comment",
"NPROCX" : "4",
"NPROCY" : "2",
"NPROCZ" : "3",
"3-D Grid" : "comment",
"NX" : "300",
"NY" : "300",
"NZ" : "300",
"DX" : "50.0",
"DY" : "50.0",
"DZ" : "50.0",
"FD order" : "comment",
"FDORDER" : "8",
"FDORDER_TIME" : "2",
"FDCOEFF" : "1",
"fdcoeff values: Taylor=1, Holberg=2" : "comment",
"Time Stepping" : "comment",
"TIME" : "2.0",
"DT" : "2.0e-3",
"Source" : "comment",
"SOURCE_SHAPE" : "1",
"source shape values: ricker=1;fumue=2;from_SIGNAL_FILE=3;SIN**3=4" : "comment",
"SIGNAL_FILE" : "signal_mseis.tz",
"SOURCE_TYPE" : "1",
"source_type values (point_source): explosive=1;force_in_x=2;in_y=3;in_z=4;custom=5;earthquake=6" : "comment",
"SOURCE_ALPHA, SOURCE_BETA" : "0.0 , 0.0",
"AMON, STR, DIP, RAKE" : "1.0e2 , 45.0 , 90.0 , 45.0",
"SRCREC" : "1",
"srcrec values : read from SOURCE_FILE=1, PLANE_WAVE=2 (internal)" : "comment",
"SOURCE_FILE" : "sources.dat",
"RUN_MULTIPLE_SHOTS" : "0",
"PLANE_WAVE_DEPTH" : "2106.0",
"PLANE_WAVE_ANGLE" : "0.0",
"TS" : "0.2",
"Model" : "comment",
"READMOD" : "0",
"MFILE" : "../model/test",
"WRITE_MODELFILES" : "0",
"Q-approximation" : "comment",
"L" : "0",
"FREF" : "5.0",
"FL1" : "5.0",
"TAU" : "0.00001",
"Boundary Conditions" : "comment",
"FREE_SURF" : "0",
"ABS_TYPE" : "2",
"FW" : "0",
"DAMPING" : "8.0",
"FPML" : "5.0",
"VPPML" : "3500.0",
"NPOWER" : "4.0",
"K_MAX_CPML" : "1.0",
"BOUNDARY" : "0",
"Snapshots" : "comment",
"SNAP" : "0",
"TSNAP1" : "6.6e-3",
"TSNAP2" : "4.8",
"TSNAPINC" : "0.2",
"IDX" : "1",
"IDY" : "1",
"IDZ" : "1",
"SNAP_FORMAT" : "3",
"SNAP_FILE" : "../snap/test",
"SNAP_PLANE" : "2",
"Receiver" : "comment",
"SEISMO" : "2",
"READREC" : "1",
"REC_FILE" : "receiver.dat",
"REFRECX, REFRECY, REFRECZ" : "0.0 , 0.0 , 0.0",
"XREC1,YREC1, ZREC1" : "54.0 , 2106.0, 2592.0",
"XREC2,YREC2, ZREC2" : "5400.0 , 2106.0, 2592.0",
"NGEOPH" : "1",
"Receiver array" : "comment",
"REC_ARRAY" : "0",
"REC_ARRAY_DEPTH" : "1350.0",
"REC_ARRAY_DIST" : "640.0",
"DRX" : "2",
"DRZ" : "2",
"Seismograms" : "comment",
"NDT, NDTSHIFT" : "1, 0",
"SEIS_FORMAT" : "3",
"SEIS_FILE" : "seismogram_bench_24",
"Monitoring the simulation" : "comment",
"LOG_FILE" : "../log/bench_24.log",
"LOG" : "1",
"OUT_SOURCE_WAVELET" : "1",
"OUT_TIMESTEP_INFO" : "10",
"Checkpoints" : "comment",
"CHECKPTREAD" : "0",
"CHECKPTWRITE" : "0",
"CHECKPT_FILE" : "../tmp/checkpoint_sofi3D",
}
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR SOFI3D
#-----------------------------------------------------------------
# description: example of json input file
# description/name of the model: homogeneous full space (hh.c)
#
{
"Domain Decomposition" : "comment",
"NPROCX" : "4",
"NPROCY" : "4",
"NPROCZ" : "3",
"3-D Grid" : "comment",
"NX" : "300",
"NY" : "300",
"NZ" : "300",
"DX" : "50.0",
"DY" : "50.0",
"DZ" : "50.0",
"FD order" : "comment",
"FDORDER" : "8",
"FDORDER_TIME" : "2",
"FDCOEFF" : "1",
"fdcoeff values: Taylor=1, Holberg=2" : "comment",
"Time Stepping" : "comment",
"TIME" : "2.0",
"DT" : "2.0e-3",
"Source" : "comment",
"SOURCE_SHAPE" : "1",
"source shape values: ricker=1;fumue=2;from_SIGNAL_FILE=3;SIN**3=4" : "comment",
"SIGNAL_FILE" : "signal_mseis.tz",
"SOURCE_TYPE" : "1",
"source_type values (point_source): explosive=1;force_in_x=2;in_y=3;in_z=4;custom=5;earthquake=6" : "comment",
"SOURCE_ALPHA, SOURCE_BETA" : "0.0 , 0.0",
"AMON, STR, DIP, RAKE" : "1.0e2 , 45.0 , 90.0 , 45.0",
"SRCREC" : "1",
"srcrec values : read from SOURCE_FILE=1, PLANE_WAVE=2 (internal)" : "comment",
"SOURCE_FILE" : "sources.dat",
"RUN_MULTIPLE_SHOTS" : "0",
"PLANE_WAVE_DEPTH" : "2106.0",
"PLANE_WAVE_ANGLE" : "0.0",
"TS" : "0.2",
"Model" : "comment",
"READMOD" : "0",
"MFILE" : "../model/test",
"WRITE_MODELFILES" : "0",
"Q-approximation" : "comment",
"L" : "0",
"FREF" : "5.0",
"FL1" : "5.0",
"TAU" : "0.00001",
"Boundary Conditions" : "comment",
"FREE_SURF" : "0",
"ABS_TYPE" : "2",
"FW" : "0",
"DAMPING" : "8.0",
"FPML" : "5.0",
"VPPML" : "3500.0",
"NPOWER" : "4.0",
"K_MAX_CPML" : "1.0",
"BOUNDARY" : "0",
"Snapshots" : "comment",
"SNAP" : "0",
"TSNAP1" : "6.6e-3",
"TSNAP2" : "4.8",
"TSNAPINC" : "0.2",
"IDX" : "1",
"IDY" : "1",
"IDZ" : "1",
"SNAP_FORMAT" : "3",
"SNAP_FILE" : "../snap/test",
"SNAP_PLANE" : "2",
"Receiver" : "comment",
"SEISMO" : "2",
"READREC" : "1",
"REC_FILE" : "receiver.dat",
"REFRECX, REFRECY, REFRECZ" : "0.0 , 0.0 , 0.0",
"XREC1,YREC1, ZREC1" : "54.0 , 2106.0, 2592.0",
"XREC2,YREC2, ZREC2" : "5400.0 , 2106.0, 2592.0",
"NGEOPH" : "1",
"Receiver array" : "comment",
"REC_ARRAY" : "0",
"REC_ARRAY_DEPTH" : "1350.0",
"REC_ARRAY_DIST" : "640.0",
"DRX" : "2",
"DRZ" : "2",
"Seismograms" : "comment",
"NDT, NDTSHIFT" : "1, 0",
"SEIS_FORMAT" : "3",
"SEIS_FILE" : "seismogram_bench_48",
"Monitoring the simulation" : "comment",
"LOG_FILE" : "../log/bench_48.log",
"LOG" : "1",
"OUT_SOURCE_WAVELET" : "1",
"OUT_TIMESTEP_INFO" : "10",
"Checkpoints" : "comment",
"CHECKPTREAD" : "0",
"CHECKPTWRITE" : "0",
"CHECKPT_FILE" : "../tmp/checkpoint_sofi3D",
}
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR SOFI3D
#-----------------------------------------------------------------
# description: example of json input file
# description/name of the model: homogeneous full space (hh.c)
#
{
"Domain Decomposition" : "comment",
"NPROCX" : "6",
"NPROCY" : "4",
"NPROCZ" : "4",
"3-D Grid" : "comment",
"NX" : "300",
"NY" : "300",
"NZ" : "300",
"DX" : "50.0",
"DY" : "50.0",
"DZ" : "50.0",
"FD order" : "comment",
"FDORDER" : "8",
"FDORDER_TIME" : "2",
"FDCOEFF" : "1",
"fdcoeff values: Taylor=1, Holberg=2" : "comment",
"Time Stepping" : "comment",
"TIME" : "2.0",
"DT" : "2.0e-3",
"Source" : "comment",
"SOURCE_SHAPE" : "1",
"source shape values: ricker=1;fumue=2;from_SIGNAL_FILE=3;SIN**3=4" : "comment",
"SIGNAL_FILE" : "signal_mseis.tz",
"SOURCE_TYPE" : "1",
"source_type values (point_source): explosive=1;force_in_x=2;in_y=3;in_z=4;custom=5;earthquake=6" : "comment",
"SOURCE_ALPHA, SOURCE_BETA" : "0.0 , 0.0",
"AMON, STR, DIP, RAKE" : "1.0e2 , 45.0 , 90.0 , 45.0",
"SRCREC" : "1",
"srcrec values : read from SOURCE_FILE=1, PLANE_WAVE=2 (internal)" : "comment",
"SOURCE_FILE" : "sources.dat",
"RUN_MULTIPLE_SHOTS" : "0",
"PLANE_WAVE_DEPTH" : "2106.0",
"PLANE_WAVE_ANGLE" : "0.0",
"TS" : "0.2",
"Model" : "comment",
"READMOD" : "0",
"MFILE" : "../model/test",
"WRITE_MODELFILES" : "0",
"Q-approximation" : "comment",
"L" : "0",
"FREF" : "5.0",
"FL1" : "5.0",
"TAU" : "0.00001",
"Boundary Conditions" : "comment",
"FREE_SURF" : "0",
"ABS_TYPE" : "2",
"FW" : "0",
"DAMPING" : "8.0",
"FPML" : "5.0",
"VPPML" : "3500.0",
"NPOWER" : "4.0",
"K_MAX_CPML" : "1.0",
"BOUNDARY" : "0",
"Snapshots" : "comment",
"SNAP" : "0",
"TSNAP1" : "6.6e-3",
"TSNAP2" : "4.8",
"TSNAPINC" : "0.2",
"IDX" : "1",
"IDY" : "1",
"IDZ" : "1",
"SNAP_FORMAT" : "3",
"SNAP_FILE" : "../snap/test",
"SNAP_PLANE" : "2",
"Receiver" : "comment",
"SEISMO" : "2",
"READREC" : "1",
"REC_FILE" : "receiver.dat",
"REFRECX, REFRECY, REFRECZ" : "0.0 , 0.0 , 0.0",
"XREC1,YREC1, ZREC1" : "54.0 , 2106.0, 2592.0",
"XREC2,YREC2, ZREC2" : "5400.0 , 2106.0, 2592.0",
"NGEOPH" : "1",
"Receiver array" : "comment",
"REC_ARRAY" : "0",
"REC_ARRAY_DEPTH" : "1350.0",
"REC_ARRAY_DIST" : "640.0",
"DRX" : "2",
"DRZ" : "2",
"Seismograms" : "comment",
"NDT, NDTSHIFT" : "1, 0",
"SEIS_FORMAT" : "3",
"SEIS_FILE" : "seismogram_bench_96",
"Monitoring the simulation" : "comment",
"LOG_FILE" : "../log/bench_96.log",
"LOG" : "1",
"OUT_SOURCE_WAVELET" : "1",
"OUT_TIMESTEP_INFO" : "10",
"Checkpoints" : "comment",
"CHECKPTREAD" : "0",
"CHECKPTWRITE" : "0",
"CHECKPT_FILE" : "../tmp/checkpoint_sofi3D",
}
7500 7500 7500 0 10 5
\ No newline at end of file
#!/bin/bash -x
#SBATCH --nodes=2
#SBATCH --ntasks=48
#SBATCH --ntasks-per-node=24
#SBATCH --cpus-per-task=1
#SBATCH --output=config_48.out.%j
#SBATCH --error=config_48.err.%j
#SBATCH --time=01:30:00
#SBATCH --partition=batch
# Load modules
module load GCC/5.4.0
module load MVAPICH2/2.2-GDR
# Run
srun ./../../../../bin/sofi3D sofi3D_48.json
#!/bin/bash
mpirun -np 48 ../../../../bin/sofi3D sofi3D_48.json | tee sofi3D_48.jout
clear all;
close all;
%%
runTime96=[100 100];
runTime192=[100 100];
runTime384=[100 100];
runTime768=[100 100];
runTime1536=[100 100];
runTime3000=[100 100];
mean96=mean(runTime96);
mean192=mean(runTime192);
mean384=mean(runTime384);
mean768=mean(runTime768);
mean1536=mean(runTime1536);
mean3000=mean(runTime3000);
speedUp=mean96./[mean96 mean192 mean384 mean768 mean1536 mean3000];
speedUpLinear=[1 2 4 8 16 31.25];
numCores=[96 192 384 768 1536 3000];
%% Plotting
figure
measured=plot(numCores,speedUp,'-o','LineWidth',2);
hold on
theo=plot(numCores,speedUpLinear,'LineWidth',2);
xlabel('Number of Cores')
ylabel('rel. SpeedUp bezogen auf 96 CPUs')
ld=legend([measured,theo],'Measured JURECA','Linear');
ld.Location='northwest';
title('JURECA')
ld.FontSize=16;
ax=gca;
ax.FontSize=16;
grid on
grid minor
\ No newline at end of file
%% Plot a seismogram as imageplot and wiggleplot
% GNU General Public License v3.0
%
% Author: Florian Wittkamp 2016
%
%% Initialitation
clear all;
close all;
%% Parameter
Traces=251;
Samples=1000;
filename='../seismogram_bench_48_p.bin';
%% Read Seismogram
fid=fopen([filename],'r','ieee-le');
Seismogram=fread(fid,[Samples,Traces],'float'); fclose(fid);
%% Wiggleplot
figure
for t=1:Traces;
plot(Seismogram(:,t)./max(Seismogram(:,t))+t,'red')
hold on
end
axis([0 Samples 1 Traces+1])
xlabel('Samples')
ylabel('Traces')
% %% Imageplot
% figure
% imagesc(Seismogram,[-1e-10 1e-10])
% xlabel('Traces')
% ylabel('Samples')
% title(['Imageplot ',filename])
\ No newline at end of file
## plot_seismogram.py
# GNU General Public License v3.0
# Plot seismogram in a wiggle plot
#
# Florian Wittkamp 2016
## Initialisation
from numpy import *
import matplotlib.pyplot as plt
# Seismogram is written out as matrix
# Dimension of Matris is: Traces*Samples
Traces=251
Samples=1000
filename='../seismogram_bench_48_p.bin'
# Read in Seismogram
file = open(filename, 'rb')
Seismogram=fromfile(file,dtype=float32)
Seismogram=reshape(Seismogram,(Traces,Samples))
Seismogram=transpose(Seismogram)
# Trace normalization
for trace in range(Traces):
Seismogram[:,trace]=Seismogram[:,trace]/max(Seismogram[:,trace])
# Plotting
plt.figure(1)
for trace in range(Traces):
plt.plot(Seismogram[:,trace]+trace,color='black')
plt.xlim([0,Samples])
plt.xlabel('Samples')
plt.ylim([-1,Traces])
plt.ylabel('Traces')
plt.savefig('Seismogram.pdf')
plt.show()
# Plotting Seismogram as image plot
# plt.figure(1)
# imgplot=plt.imshow(Seismogram,aspect='auto')
# imgplot.set_clim(-1e-9,1e-9)
# plt.ylabel('Sample')
# plt.xlabel('Tracenumber')
# plt.draw()
2500.0 2500.0 2500.0
2600.0 2600.0 2600.0
2700.0 2700.0 2700.0
2800.0 2800.0 2800.0
2900.0 2900.0 2900.0
3000.0 3000.0 3000.0
3100.0 3100.0 3100.0
3200.0 3200.0 3200.0
3300.0 3300.0 3300.0
3400.0 3400.0 3400.0
3500.0 3500.0 3500.0
3600.0 3600.0 3600.0
3700.0 3700.0 3700.0
3800.0 3800.0 3800.0
3900.0 3900.0 3900.0
4000.0 4000.0 4000.0
4100.0 4100.0 4100.0
4200.0 4200.0 4200.0
4300.0 4300.0 4300.0
4400.0 4400.0 4400.0
4500.0 4500.0 4500.0
4600.0 4600.0 4600.0
4700.0 4700.0 4700.0
4800.0 4800.0 4800.0
4900.0 4900.0 4900.0
5000.0 5000.0 5000.0
5100.0 5100.0 5100.0
5200.0 5200.0 5200.0
5300.0 5300.0 5300.0
5400.0 5400.0 5400.0
5500.0 5500.0 5500.0
5600.0 5600.0 5600.0
5700.0 5700.0 5700.0
5800.0 5800.0 5800.0
5900.0 5900.0 5900.0
6000.0 6000.0 6000.0
6100.0 6100.0 6100.0
6200.0 6200.0 6200.0
6300.0 6300.0 6300.0
6400.0 6400.0 6400.0
6500.0 6500.0 6500.0
6600.0 6600.0 6600.0
6700.0 6700.0 6700.0
6800.0 6800.0 6800.0
6900.0 6900.0 6900.0
7000.0 7000.0 7000.0
7100.0 7100.0 7100.0
7200.0 7200.0 7200.0
7300.0 7300.0 7300.0
7400.0 7400.0 7400.0
7500.0 7500.0 7500.0
7600.0 7600.0 7600.0
7700.0 7700.0 7700.0
7800.0 7800.0 7800.0
7900.0 7900.0 7900.0
8000.0 8000.0 8000.0
8100.0 8100.0 8100.0
8200.0 8200.0 8200.0
8300.0 8300.0 8300.0
8400.0 8400.0 8400.0
8500.0 8500.0 8500.0
8600.0 8600.0 8600.0
8700.0 8700.0 8700.0
8800.0 8800.0 8800.0
8900.0 8900.0 8900.0
9000.0 9000.0 9000.0
9100.0 9100.0 9100.0
9200.0 9200.0 9200.0
9300.0 9300.0 9300.0
9400.0 9400.0 9400.0
9500.0 9500.0 9500.0
9600.0 9600.0 9600.0
9700.0 9700.0 9700.0
9800.0 9800.0 9800.0
9900.0 9900.0 9900.0
10000.0 10000.0 10000.0
10100.0 10100.0 10100.0
10200.0 10200.0 10200.0
10300.0 10300.0 10300.0
10400.0 10400.0 10400.0
10500.0 10500.0 10500.0
10600.0 10600.0 10600.0
10700.0 10700.0 10700.0
10800.0 10800.0 10800.0
10900.0 10900.0 10900.0
11000.0 11000.0 11000.0
11100.0 11100.0 11100.0
11200.0 11200.0 11200.0
11300.0 11300.0 11300.0
11400.0 11400.0 11400.0
11500.0 11500.0 11500.0
11600.0 11600.0 11600.0
11700.0 11700.0 11700.0
11800.0 11800.0 11800.0
11900.0 11900.0 11900.0
12000.0 12000.0 12000.0
12100.0 12100.0 12100.0
12200.0 12200.0 12200.0
12300.0 12300.0 12300.0
12400.0 12400.0 12400.0
12500.0 12500.0 12500.0
12600.0 12600.0 12600.0
12700.0 12700.0 12700.0
12800.0 12800.0 12800.0
12900.0 12900.0 12900.0
13000.0 13000.0 13000.0
13100.0 13100.0 13100.0
13200.0 13200.0 13200.0
13300.0 13300.0 13300.0
13400.0 13400.0 13400.0
13500.0 13500.0 13500.0
13600.0 13600.0 13600.0
13700.0 13700.0 13700.0
13800.0 13800.0 13800.0
13900.0 13900.0 13900.0
14000.0 14000.0 14000.0
14100.0 14100.0 14100.0
14200.0 14200.0 14200.0
14300.0 14300.0 14300.0
14400.0 14400.0 14400.0
14500.0 14500.0 14500.0
14600.0 14600.0 14600.0
14700.0 14700.0 14700.0
14800.0 14800.0 14800.0
14900.0 14900.0 14900.0
15000.0 15000.0 15000.0
15100.0 15100.0 15100.0
15200.0 15200.0 15200.0
15300.0 15300.0 15300.0
15400.0 15400.0 15400.0
15500.0 15500.0 15500.0
15600.0 15600.0 15600.0
15700.0 15700.0 15700.0
15800.0 15800.0 15800.0
15900.0 15900.0 15900.0
16000.0 16000.0 16000.0
16100.0 16100.0 16100.0
16200.0 16200.0 16200.0
16300.0 16300.0 16300.0
16400.0 16400.0 16400.0
16500.0 16500.0 16500.0
16600.0 16600.0 16600.0
16700.0 16700.0 16700.0
16800.0 16800.0 16800.0
16900.0 16900.0 16900.0
17000.0 17000.0 17000.0
17100.0 17100.0 17100.0
17200.0 17200.0 17200.0
17300.0 17300.0 17300.0
17400.0 17400.0 17400.0
17500.0 17500.0 17500.0
17600.0 17600.0 17600.0
17700.0 17700.0 17700.0
17800.0 17800.0 17800.0
17900.0 17900.0 17900.0
18000.0 18000.0 18000.0
18100.0 18100.0 18100.0
18200.0 18200.0 18200.0
18300.0 18300.0 18300.0
18400.0 18400.0 18400.0
18500.0 18500.0 18500.0
18600.0 18600.0 18600.0
18700.0 18700.0 18700.0
18800.0 18800.0 18800.0
18900.0 18900.0 18900.0
19000.0 19000.0 19000.0
19100.0 19100.0 19100.0
19200.0 19200.0 19200.0
19300.0 19300.0 19300.0
19400.0 19400.0 19400.0
19500.0 19500.0 19500.0
19600.0 19600.0 19600.0
19700.0 19700.0 19700.0
19800.0 19800.0 19800.0
19900.0 19900.0 19900.0
20000.0 20000.0 20000.0
20100.0 20100.0 20100.0
20200.0 20200.0 20200.0
20300.0 20300.0 20300.0
20400.0 20400.0 20400.0
20500.0 20500.0 20500.0
20600.0 20600.0 20600.0
20700.0 20700.0 20700.0
20800.0 20800.0 20800.0
20900.0 20900.0 20900.0
21000.0 21000.0 21000.0
21100.0 21100.0 21100.0
21200.0 21200.0 21200.0
21300.0 21300.0 21300.0
21400.0 21400.0 21400.0
21500.0 21500.0 21500.0
21600.0 21600.0 21600.0
21700.0 21700.0 21700.0
21800.0 21800.0 21800.0
21900.0 21900.0 21900.0
22000.0 22000.0 22000.0
22100.0 22100.0 22100.0
22200.0 22200.0 22200.0
22300.0 22300.0 22300.0
22400.0 22400.0 22400.0
22500.0 22500.0 22500.0
22600.0 22600.0 22600.0
22700.0 22700.0 22700.0
22800.0 22800.0 22800.0
22900.0 22900.0 22900.0
23000.0 23000.0 23000.0
23100.0 23100.0 23100.0
23200.0 23200.0 23200.0
23300.0 23300.0 23300.0
23400.0 23400.0 23400.0
23500.0 23500.0 23500.0
23600.0 23600.0 23600.0
23700.0 23700.0 23700.0
23800.0 23800.0 23800.0
23900.0 23900.0 23900.0
24000.0 24000.0 24000.0
24100.0 24100.0 24100.0
24200.0 24200.0 24200.0
24300.0 24300.0 24300.0
24400.0 24400.0 24400.0
24500.0 24500.0 24500.0
24600.0 24600.0 24600.0
24700.0 24700.0 24700.0
24800.0 24800.0 24800.0
24900.0 24900.0 24900.0
25000.0 25000.0 25000.0
25100.0 25100.0 25100.0
25200.0 25200.0 25200.0
25300.0 25300.0 25300.0
25400.0 25400.0 25400.0
25500.0 25500.0 25500.0
25600.0 25600.0 25600.0
25700.0 25700.0 25700.0
25800.0 25800.0 25800.0
25900.0 25900.0 25900.0
26000.0 26000.0 26000.0
26100.0 26100.0 26100.0
26200.0 26200.0 26200.0
26300.0 26300.0 26300.0
26400.0 26400.0 26400.0
26500.0 26500.0 26500.0
26600.0 26600.0 26600.0
26700.0 26700.0 26700.0
26800.0 26800.0 26800.0
26900.0 26900.0 26900.0
27000.0 27000.0 27000.0
27100.0 27100.0 27100.0
27200.0 27200.0 27200.0
27300.0 27300.0 27300.0
27400.0 27400.0 27400.0
27500.0 27500.0 27500.0
\ No newline at end of file
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR SOFI3D
#-----------------------------------------------------------------
# description: example of json input file
# description/name of the model: homogeneous full space (hh.c)
#
{
"Domain Decomposition" : "comment",
"NPROCX" : "24",
"NPROCY" : "8",
"NPROCZ" : "8",
"3-D Grid" : "comment",
"NX" : "600",
"NY" : "600",
"NZ" : "600",
"DX" : "50.0",
"DY" : "50.0",
"DZ" : "50.0",
"FD order" : "comment",
"FDORDER" : "8",
"FDORDER_TIME" : "2",
"FDCOEFF" : "1",
"fdcoeff values: Taylor=1, Holberg=2" : "comment",
"Time Stepping" : "comment",
"TIME" : "2.0",
"DT" : "2.0e-3",
"Source" : "comment",
"SOURCE_SHAPE" : "1",
"source shape values: ricker=1;fumue=2;from_SIGNAL_FILE=3;SIN**3=4" : "comment",
"SIGNAL_FILE" : "signal_mseis.tz",
"SOURCE_TYPE" : "1",
"source_type values (point_source): explosive=1;force_in_x=2;in_y=3;in_z=4;custom=5;earthquake=6" : "comment",
"SOURCE_ALPHA, SOURCE_BETA" : "0.0 , 0.0",
"AMON, STR, DIP, RAKE" : "1.0e2 , 45.0 , 90.0 , 45.0",
"SRCREC" : "1",
"srcrec values : read from SOURCE_FILE=1, PLANE_WAVE=2 (internal)" : "comment",
"SOURCE_FILE" : "sources.dat",
"RUN_MULTIPLE_SHOTS" : "0",
"PLANE_WAVE_DEPTH" : "2106.0",
"PLANE_WAVE_ANGLE" : "0.0",
"TS" : "0.2",
"Model" : "comment",
"READMOD" : "0",
"MFILE" : "../model/test",
"WRITE_MODELFILES" : "0",
"Q-approximation" : "comment",
"L" : "0",
"FREF" : "5.0",
"FL1" : "5.0",
"TAU" : "0.00001",
"Boundary Conditions" : "comment",
"FREE_SURF" : "0",
"ABS_TYPE" : "2",
"FW" : "0",
"DAMPING" : "8.0",
"FPML" : "5.0",
"VPPML" : "3500.0",
"NPOWER" : "4.0",
"K_MAX_CPML" : "1.0",
"BOUNDARY" : "0",
"Snapshots" : "comment",
"SNAP" : "0",
"TSNAP1" : "6.6e-3",
"TSNAP2" : "4.8",
"TSNAPINC" : "0.2",
"IDX" : "1",
"IDY" : "1",
"IDZ" : "1",
"SNAP_FORMAT" : "3",
"SNAP_FILE" : "../snap/test",
"SNAP_PLANE" : "2",
"Receiver" : "comment",
"SEISMO" : "2",
"READREC" : "1",
"REC_FILE" : "receiver.dat",
"REFRECX, REFRECY, REFRECZ" : "0.0 , 0.0 , 0.0",
"XREC1,YREC1, ZREC1" : "54.0 , 2106.0, 2592.0",
"XREC2,YREC2, ZREC2" : "5400.0 , 2106.0, 2592.0",
"NGEOPH" : "1",
"Receiver array" : "comment",
"REC_ARRAY" : "0",
"REC_ARRAY_DEPTH" : "1350.0",
"REC_ARRAY_DIST" : "640.0",
"DRX" : "2",
"DRZ" : "2",
"Seismograms" : "comment",
"NDT, NDTSHIFT" : "1, 0",
"SEIS_FORMAT" : "3",
"SEIS_FILE" : "seismogram_bench_1536",
"Monitoring the simulation" : "comment",
"LOG_FILE" : "../log/bench_1536.log",
"LOG" : "1",
"OUT_SOURCE_WAVELET" : "1",
"OUT_TIMESTEP_INFO" : "10",
"Checkpoints" : "comment",
"CHECKPTREAD" : "0",
"CHECKPTWRITE" : "0",
"CHECKPT_FILE" : "../tmp/checkpoint_sofi3D",
}
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR SOFI3D
#-----------------------------------------------------------------
# description: example of json input file
# description/name of the model: homogeneous full space (hh.c)
#
{
"Domain Decomposition" : "comment",
"NPROCX" : "8",
"NPROCY" : "6",
"NPROCZ" : "4",
"3-D Grid" : "comment",
"NX" : "600",
"NY" : "600",
"NZ" : "600",
"DX" : "50.0",
"DY" : "50.0",
"DZ" : "50.0",
"FD order" : "comment",
"FDORDER" : "8",
"FDORDER_TIME" : "2",
"FDCOEFF" : "1",
"fdcoeff values: Taylor=1, Holberg=2" : "comment",
"Time Stepping" : "comment",
"TIME" : "2.0",
"DT" : "2.0e-3",
"Source" : "comment",
"SOURCE_SHAPE" : "1",
"source shape values: ricker=1;fumue=2;from_SIGNAL_FILE=3;SIN**3=4" : "comment",
"SIGNAL_FILE" : "signal_mseis.tz",
"SOURCE_TYPE" : "1",
"source_type values (point_source): explosive=1;force_in_x=2;in_y=3;in_z=4;custom=5;earthquake=6" : "comment",
"SOURCE_ALPHA, SOURCE_BETA" : "0.0 , 0.0",
"AMON, STR, DIP, RAKE" : "1.0e2 , 45.0 , 90.0 , 45.0",
"SRCREC" : "1",
"srcrec values : read from SOURCE_FILE=1, PLANE_WAVE=2 (internal)" : "comment",
"SOURCE_FILE" : "sources.dat",
"RUN_MULTIPLE_SHOTS" : "0",
"PLANE_WAVE_DEPTH" : "2106.0",
"PLANE_WAVE_ANGLE" : "0.0",
"TS" : "0.2",
"Model" : "comment",
"READMOD" : "0",
"MFILE" : "../model/test",
"WRITE_MODELFILES" : "0",
"Q-approximation" : "comment",
"L" : "0",
"FREF" : "5.0",
"FL1" : "5.0",
"TAU" : "0.00001",
"Boundary Conditions" : "comment",
"FREE_SURF" : "0",
"ABS_TYPE" : "2",
"FW" : "0",
"DAMPING" : "8.0",
"FPML" : "5.0",
"VPPML" : "3500.0",
"NPOWER" : "4.0",
"K_MAX_CPML" : "1.0",
"BOUNDARY" : "0",
"Snapshots" : "comment",
"SNAP" : "0",
"TSNAP1" : "6.6e-3",
"TSNAP2" : "4.8",
"TSNAPINC" : "0.2",
"IDX" : "1",
"IDY" : "1",
"IDZ" : "1",
"SNAP_FORMAT" : "3",
"SNAP_FILE" : "../snap/test",
"SNAP_PLANE" : "2",
"Receiver" : "comment",
"SEISMO" : "2",
"READREC" : "1",
"REC_FILE" : "receiver.dat",
"REFRECX, REFRECY, REFRECZ" : "0.0 , 0.0 , 0.0",
"XREC1,YREC1, ZREC1" : "54.0 , 2106.0, 2592.0",
"XREC2,YREC2, ZREC2" : "5400.0 , 2106.0, 2592.0",
"NGEOPH" : "1",
"Receiver array" : "comment",
"REC_ARRAY" : "0",
"REC_ARRAY_DEPTH" : "1350.0",
"REC_ARRAY_DIST" : "640.0",
"DRX" : "2",
"DRZ" : "2",
"Seismograms" : "comment",
"NDT, NDTSHIFT" : "1, 0",
"SEIS_FORMAT" : "3",
"SEIS_FILE" : "seismogram_bench_192",
"Monitoring the simulation" : "comment",
"LOG_FILE" : "../log/bench_192.log",
"LOG" : "1",
"OUT_SOURCE_WAVELET" : "1",
"OUT_TIMESTEP_INFO" : "10",
"Checkpoints" : "comment",
"CHECKPTREAD" : "0",
"CHECKPTWRITE" : "0",
"CHECKPT_FILE" : "../tmp/checkpoint_sofi3D",
}
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR SOFI3D
#-----------------------------------------------------------------
# description: example of json input file
# description/name of the model: homogeneous full space (hh.c)
#
{
"Domain Decomposition" : "comment",
"NPROCX" : "20",
"NPROCY" : "15",
"NPROCZ" : "10",
"3-D Grid" : "comment",
"NX" : "600",
"NY" : "600",
"NZ" : "600",
"DX" : "50.0",
"DY" : "50.0",
"DZ" : "50.0",
"FD order" : "comment",
"FDORDER" : "8",
"FDORDER_TIME" : "2",
"FDCOEFF" : "1",
"fdcoeff values: Taylor=1, Holberg=2" : "comment",
"Time Stepping" : "comment",
"TIME" : "2.0",
"DT" : "2.0e-3",
"Source" : "comment",
"SOURCE_SHAPE" : "1",
"source shape values: ricker=1;fumue=2;from_SIGNAL_FILE=3;SIN**3=4" : "comment",
"SIGNAL_FILE" : "signal_mseis.tz",
"SOURCE_TYPE" : "1",
"source_type values (point_source): explosive=1;force_in_x=2;in_y=3;in_z=4;custom=5;earthquake=6" : "comment",
"SOURCE_ALPHA, SOURCE_BETA" : "0.0 , 0.0",
"AMON, STR, DIP, RAKE" : "1.0e2 , 45.0 , 90.0 , 45.0",
"SRCREC" : "1",
"srcrec values : read from SOURCE_FILE=1, PLANE_WAVE=2 (internal)" : "comment",
"SOURCE_FILE" : "sources.dat",
"RUN_MULTIPLE_SHOTS" : "0",
"PLANE_WAVE_DEPTH" : "2106.0",
"PLANE_WAVE_ANGLE" : "0.0",
"TS" : "0.2",
"Model" : "comment",
"READMOD" : "0",
"MFILE" : "../model/test",
"WRITE_MODELFILES" : "0",
"Q-approximation" : "comment",
"L" : "0",
"FREF" : "5.0",
"FL1" : "5.0",
"TAU" : "0.00001",
"Boundary Conditions" : "comment",
"FREE_SURF" : "0",
"ABS_TYPE" : "2",
"FW" : "0",
"DAMPING" : "8.0",
"FPML" : "5.0",
"VPPML" : "3500.0",
"NPOWER" : "4.0",
"K_MAX_CPML" : "1.0",
"BOUNDARY" : "0",
"Snapshots" : "comment",
"SNAP" : "0",
"TSNAP1" : "6.6e-3",
"TSNAP2" : "4.8",
"TSNAPINC" : "0.2",
"IDX" : "1",
"IDY" : "1",
"IDZ" : "1",
"SNAP_FORMAT" : "3",
"SNAP_FILE" : "../snap/test",
"SNAP_PLANE" : "2",
"Receiver" : "comment",
"SEISMO" : "2",
"READREC" : "1",
"REC_FILE" : "receiver.dat",
"REFRECX, REFRECY, REFRECZ" : "0.0 , 0.0 , 0.0",
"XREC1,YREC1, ZREC1" : "54.0 , 2106.0, 2592.0",
"XREC2,YREC2, ZREC2" : "5400.0 , 2106.0, 2592.0",
"NGEOPH" : "1",
"Receiver array" : "comment",
"REC_ARRAY" : "0",
"REC_ARRAY_DEPTH" : "1350.0",
"REC_ARRAY_DIST" : "640.0",
"DRX" : "2",
"DRZ" : "2",
"Seismograms" : "comment",
"NDT, NDTSHIFT" : "1, 0",