OpenMOM-mpi I am trying to compile MOM and have installed openmpi 1.8.1 getting an installation error below Looking for some help in openmpi to make sure the mpif.h is loaded correctly Should I use an older version of openmpi? Thank You Dan Shell
gfortran -Duse_netCDF -Duse_netCDF3 -Duse_libMPI -DUSE_OCEAN_BGC -DENABLE_ODA -DSPMD -DLAND_BND_TRACERS -c -I/root/Desktop/NEW_MOM/newmom/src/shared/include -I/root/Desktop/NEW_MOM/newmom/src/shared/mpp/include /root/Desktop/NEW_MOM/newmom/src/shared/mpp/mpp_data.F90 /root/Desktop/NEW_MOM/newmom/src/shared/mpp/mpp_data.F90:23: include <mpif.h> 1 Error: Unclassifiable statement at (1) /root/Desktop/NEW_MOM/newmom/src/shared/mpp/include/mpp_data_mpi.inc:8.31: Included at /root/Desktop/NEW_MOM/newmom/src/shared/mpp/mpp_data.F90:45: integer :: stat(MPI_STATUS_SIZE) 1 Error: Symbol 'mpi_status_size' at (1) has no IMPLICIT type /root/Desktop/NEW_MOM/newmom/src/shared/mpp/mpp_data.F90:28.16: public :: stat, mpp_stack, ptr_stack, status, ptr_status, sync, ptr_sync 1 Error: The module or main program array 'stat' at (1) must have constant shape make: *** [mpp_data.o] Error 1 if ( 2 ) then echo Make failed to create lib_FMS.a Make failed to create lib_FMS.a