Zhaolun-Liu / SeisFlows-2DWD

BSD 2-Clause "Simplified" License
11 stars 2 forks source link

An error meet in sfsubmit #1

Closed xichaoqiang closed 2 years ago

xichaoqiang commented 2 years ago

Dear Dr.Liu

I try run your code in my virtual machine.

But met an error message. The bellowing figures are the snapshots of error messages.

Can you help me fix it?

Best regards, Xi

image

The bin files had copied in the 0000 folder.

image

The dat files have been created.

image

Here is the error message output in the file.

image

There is no traces data in all three folders.

image

Zhaolun-Liu commented 2 years ago

It may be because of the different versions of the SPECFEM2D and the setting of Par_file has been changed. Go to folder "scratch/solver/000000", and try to run "./bin/xmeshfem2D", check the output error.

xichaoqiang commented 2 years ago

image

xichaoqiang commented 2 years ago

My used specfem2d version is your specfem2d-patch-1.

Zhaolun-Liu commented 2 years ago

I see. The specfem2d-patch-1 package is the latest version. So, lots of the parameters in Par_file have been changed. For example, your error indicates that "NUMBER_OF_SIMULTANEOUS_RUNS = 1" should be added to the Par_file. There are others parameters that need to be modified. You can try to adjust the Par_file in "checker_2dwd/DATA/Par_file" according to the Par_file in "SPECFEM2D/EXAMPLES". I will try to update my examples late. Also, in the latest version of the specfem2d, the name of the output seismic record has been changed (see "write_seismograms.F90"). So, you need to change it either in SPECFEM2D or in Seisflow.

Zhaolun-Liu commented 2 years ago

Hi Xichao Thanks for the comments. I update examples. Please check if it works now. I also upload a "write_seismograms.F90". You can replace it in your specfem2d so that you dont need to change the seisflow.

xichaoqiang commented 2 years ago

Thanks for your kindly reply. This problem has been fixed . I meet an new problem.

The gpu option parameter.py is false.

image

Zhaolun-Liu commented 2 years ago

you can turn off GPU mode for "xsmooth_sem" by changing 'true' to 'false' at line 277 of SeisFlows-2DWD/seisflows/solver/specfem2d.py

xichaoqiang commented 2 years ago

@Zhaolun-Liu

Dear Dr.Liu

This problem has been fixed .

Inversion aborted in the fifth iteration.

I am not sure this is right.

Best regards, Xi

image

Zhaolun-Liu commented 2 years ago

Yes. It seems right to me.

xichaoqiang commented 2 years ago

Dr Liu, thanks for your kindly reply.