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

Error in running xmeshfem3d command #1700

Open
VarunD21029 opened this issue May 31, 2024 · 5 comments
Open

Error in running xmeshfem3d command #1700

VarunD21029 opened this issue May 31, 2024 · 5 comments

Comments

@VarunD21029
Copy link

I am having the following error when I am running xspecfem3d command.

"Error nglob: sorted value 966017 differs from pre-computed 970023"

Can anyone help in this regards. Thanks in advance.

@VarunD21029 VarunD21029 changed the title Errornin running xspecfem 3d command Error in running xspecfem 3d command May 31, 2024
@aakash10gupta
Copy link
Contributor

Hi @VarunD21029, it is likely a problem with the design of your mesh. Do you see the error on running xmeshfem3D or xspecfem3D? Please double-check, and report back with relevant input data files if you need further assistance, else close this issue.

@VarunD21029
Copy link
Author

Hi @VarunD21029, it is likely a problem with the design of your mesh. Do you see the error on running xmeshfem3D or xspecfem3D? Please double-check, and report back with relevant input data files if you need further assistance, else close this issue.

Yes you are correct it is error in xmeshfem3D command. I am unable to figure out the error. I am attaching a screenshot if that helps. Thanks for your reply
specfem_error

@aakash10gupta
Copy link
Contributor

Hi @VarunD21029, it is likely a problem with the design of your mesh. Please double-check your mesh design inputs.

You can also try looking at the problematic mesh using ParaView or another relevant software. The problematic mesh file should be in the your databases folder defined by the LOCAL_PATH variable in your Mesh_Par_file, and will have a name similar to mesh_debug.vtk.

This code block might also be helpful - https://github.com/SPECFEM/specfem3d/blob/master/src/meshfem3D/create_meshfem_mesh.f90#L763-L798

@VarunD21029
Copy link
Author

VarunD21029 commented Jun 5, 2024

Issue is resolved. I defined interface 1 at shallower depth than interface 2. Thanks for your help and sorry for the trouble

@aakash10gupta
Copy link
Contributor

@VarunD21029, good to hear that you were able to resolve the issue. If you can, please change xspecfem 3d to xmeshfem3D in the title, and then close this issue. Thanks!

@VarunD21029 VarunD21029 changed the title Error in running xspecfem 3d command Error in running xmeshfem3d command Jun 6, 2024
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