[OMPI users] include/mpi.h:201:32: error: two or more data types in declaration specifiers

2020-07-14 Thread Steve Brasier via users
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.


Re: [OMPI users] include/mpi.h:201:32: error: two or more data types in declaration specifiers

2020-07-14 Thread Gilles Gouaillardet via users
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
 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.


[OMPI users] The ABCs of Open MPI (parts 1 and 2): slides + videos posted

2020-07-14 Thread Jeff Squyres (jsquyres) via users
The slides and videos for parts 1 and 2 of the online seminar presentation "The 
ABCs of Open MPI" have been posted on both the Open MPI web site and the 
EasyBuild wiki:

https://www.open-mpi.org/video/?category=general

https://github.com/easybuilders/easybuild/wiki/EasyBuild-Tech-Talks-I:-Open-MPI

The last part of the seminar (part 3) will be held on Wednesday, August 5, 2020 
at:

- 11am US Eastern time
- 8am US Pacific time
- 3pm UTC
- 5pm CEST

-- 
Jeff Squyres
jsquy...@cisco.com