SPECFEM / specfem3d

SPECFEM3D_Cartesian simulates acoustic (fluid), elastic (solid), coupled acoustic/elastic, poroelastic or seismic wave propagation in any type of conforming mesh of hexahedra (structured or not).
GNU General Public License v3.0
403 stars 225 forks source link

Rank mismatch #1503

Open erlebach opened 2 years ago

erlebach commented 2 years ago

When running "make" on SPECFEM3D on an Ubuntu Linux system (gfortran and mpich have been installed), I get the following error:

  332 |   call MPI_BCAST(buffer,1,MPI_LOGICAL,0,my_local_mpi_comm_world,ier)
      |                 2
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/LOGICAL(4)).
src/shared/parallel.f90:484:17:

Where should I look to find the error?
I am using gcc version 11, and gcc v11.2 .

Thanks.

danielpeter commented 1 year ago

please see the following discussion comment related to this error: https://github.com/orgs/SPECFEM/discussions/1584#discussioncomment-4795279