Steve, For some unknown reason, this macro declaration seems to cause the crash ... when it is expanded, and the logs you posted do not show that. Could you please post a larger chunk of the logs? please run 'make -j 1' so no logs are interleaved and hence hard to decipher.
Cheers, Gilles On Tue, Jul 14, 2020 at 7:25 PM Steve Brasier via users <users@lists.open-mpi.org> wrote: > > 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.