Re: [OMPI users] weird mpi error report: Type mismatch between arguments

2021-02-17 Thread Jeff Squyres (jsquyres) via users
On Feb 17, 2021, at 12:24 PM, Luis Diego Pinto via users wrote: > > Dear Christoph Niethammer, > > thank you very much for the advice, now i have imported the module "mpi_f08" > and indeed those issues are fixed. Exxxcellent. mpi_f08 is definitely the way to go for all new Fortran MPI code.

Re: [OMPI users] weird mpi error report: Type mismatch between arguments

2021-02-17 Thread Luis Diego Pinto via users
Dear Christoph Niethammer, thank you very much for the advice, now i have imported the module "mpi_f08" and indeed those issues are fixed. The compilation seems to work fine but unfortunately i got another small class of errors. I report a representative example below, maybe among the communit

Re: [OMPI users] weird mpi error report: Type mismatch between arguments

2021-02-17 Thread Christoph Niethammer via users
Hello Diego, The problem is the old (hopefully sometime deprecated) MPI Fortran interface (mpif.h) that now hits you as GCC 10 introduced stricter checks. Using mpif.h you cannot have function overloading based on argument types as, e.g., in C++, so the compiler sees two type mismatching calls h

Re: [OMPI users] weird mpi error report: Type mismatch between arguments

2021-02-17 Thread Gilles Gouaillardet via users
Diego, IIRC, you now have to build your gfortran 10 apps with -fallow-argument-mismatch Cheers, Gilles - Original Message - Dear OPENMPI users, i'd like to notify you a strange issue that arised right after installing a new up-to-date version of Linux (Kubuntu 20.10, with gcc-1

[OMPI users] weird mpi error report: Type mismatch between arguments

2021-02-17 Thread Luis Diego Pinto via users
Dear OPENMPI users, i'd like to notify you a strange issue that arised right after installing a new up-to-date version of Linux (Kubuntu 20.10, with gcc-10 version ) I am developing a software to be run in distributed memory machines with OpenMPI version 4.0.3. The error seems to be as much si