I'm trying to compile WRF against openmpi4 installed using Spack, using gcc 7. It's hitting lots of errors of which the first appears to be in the mpi header:
ranlib ../libio_grib1.a In file included from c_code.c:27:0: $HOME/spack/opt/spack/linux-centos7-broadwell/gcc-7.3.0/openmpi-4.0.3 -ziwdzwh77wcddumuqk5akbmodploffo6/include/mpi.h:201:32: error: two or more data types in declaration specifiers #define ompi_fortran_integer_t int ^ I've managed to compile other codes using this same combination. Any suggestions as to what I'm doing wrong? many thanks Steve http://stackhpc.com/ Please note I work Tuesday to Friday.