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
411 stars 229 forks source link

model_external_values.F90 #1437

Open xuhanqing98 opened 3 years ago

xuhanqing98 commented 3 years ago

Hi! When I try to call model_external_values.f90, I type "Gfortran model_external_values.f90" at the terminal, and there is an error: model_external_values.f90:175:Error: Can't open included file 'mpif.h' But I did not find mpif.h in SPECFEM3D

danielpeter commented 3 years ago

you will need an MPI installation on your machine. when installed, that MPI package will provide mpif.h.

if you don't have an MPI installation on your machine, you would use a serial version compilation, using the configuration flag --without-mpi