SPECFEM / specfem2d

SPECFEM2D simulates forward and adjoint seismic wave propagation in two-dimensional acoustic, (an)elastic, poroelastic or coupled acoustic-(an)elastic-poroelastic media, with Convolution PML absorbing conditions.
https://specfem.org
GNU General Public License v3.0
204 stars 149 forks source link

Issue on Running on multiple core #1173

Open vikasrajisro opened 1 year ago

vikasrajisro commented 1 year ago

Dear all I am trying to run specfem2d on multiple core (NPROC =8), the command ./bin/xmeshfem2D work smoothly but in next step the command ./bin/xspecfem2D is not working properly showing some error like this Source 1 Position (x,z) of the source = 100000.00000000000 185000.00000000000
Invalid position, mesh dimensions are: xmin/max = 32000.000000000000 99000.000000000000 zmin/zmax 0.0000000000000000 76000.000000000000
Please fix source location, exiting... Error: at least one source has x > xmax of the mesh Error detected, aborting MPI... proc 0 Abort(30) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 30) - process 0

Inspite if i use single core (NPROC=1) all commands runs smoothly. please someone help/suggest how the problem can be resolve.

Thanks &Regards VIKAS.