Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in Parameter file (params.in) of demo #1

Closed
SuwenJunliu opened this issue Dec 26, 2019 · 2 comments
Closed

Problem in Parameter file (params.in) of demo #1

SuwenJunliu opened this issue Dec 26, 2019 · 2 comments

Comments

@SuwenJunliu
Copy link

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.

@akuhara
Copy link
Owner

akuhara commented Jan 7, 2020

I really appreciate your comments.
I will prepare for the demo shortly as you suggested.

@akuhara
Copy link
Owner

akuhara commented Jan 7, 2020

I have uploaded a directory for a synthetic case (sample_syn).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants