akuhara / rf_inv Goto Github PK
View Code? Open in Web Editor NEWReceiver function inversion by reversible-jump Markov-chain Monte Carlo
License: GNU General Public License v3.0
Receiver function inversion by reversible-jump Markov-chain Monte Carlo
License: GNU General Public License v3.0
There is a bug related to borehole option, leading to failure of forward computation.
Prohibit thin layer by wavelength criterion.
Should accept different ways of RF normalization.
It seems that the whole program has been revised, so I reinstalled the package for inversion.
When I compile this program with OpenMPI-5.0.0, it showed the Error, etc.
mpif-sizeof.h:66:48:
Error: Fortran 2008: The symbol ‘real128’, referenced at (1), is not in the selected standard
mpif-sizeof.h:67:14:
Error: Parameter ‘real128’ at (1) has not been declared or is a variable, which does not reduce to a constant expression
The -std option in Makefile may cause it, and it seems that f2003 is incompatible with those ‘real128’ declarations in the mpi header. Maybe we could change the FFLAGS into
FFLAGS = -g -Wall -std=f2008 -pedantic -fbounds-check -O0 -Wuninitialized \
-ffpe-trap=invalid,zero,overflow -fbacktrace \
-fno-range-check
The second error might be a little bit tricky. When I ran the demo, it showed the error
ERROR: cannot create ./rslt/params.in.copy
That is because there is no folder named "rslt", and it might be fixed with
mkdir rslt
before running this demo.
When I installed the package and ran the program with the file "params.in" in demo, I receive:
ERROR: cannot create Note:/params.in.copy
I think the reason why it happened is that : There is a mistake in params.in
# Output directory
#---------------------------------------------------------
# OUTDIR: output directory
Note: quotation mark is necessary
'./result'
#
There should be a # before "Note: quotation mark is necessary"
When I add the # before the "Note: quotation mark is necessary", I receive:
Sigma is solved for trace 1
At line 240 of file src/params.f90
Fortran runtime error: Bad real number in item 2 of list input
Then I check the fortran code of "params.f90", I found that "line 240" is the parameter of sigma.
According to the demo of params.in, there should be 3 line about "Min./Max. of noise sigma". In order words, This part of "params.in"
# Min./Max. of noise sigma
0.005 0.08
#
should be changed into
# Min./Max. of noise sigma
0.005 0.08
0.005 0.08
0.005 0.08
#
Besides, before running this demo, we should prepare the SAC files and "reference.mod" file.
In the view of above, I think that if there is a specific demo, this program will be used easier.
Need to calculate determinant when multiple Gaussian parameters are used.
Erruneous forward calculation when
hello akuhara!
when I try to invert my own data setting a little bit large ray parameter like 0.15(s/km) in the param file, it just crashed and report an error like :
Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
but when using values around 0.06-0.1(s/km) like those in the examples, it works well.
Is it a problem of the propagator matrix itself or I set something else wrong?
yangjudiao
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.