Samuel,
there is clearly no hope when you use mpi.mod and mpi_f08.mod
my point was, it is not even possible to expect "legacy" mpif.h work
with different compilers.
and by the way, if the application is compiled with -i8 (fortran integer
is 8 bytes by default), then OpenMPI must have been compiled with the
very same compiler and -i8 too.
Cheers,
Gilles
On 3/4/2016 11:28 AM, Christopher Samuel wrote:
On 04/03/16 12:17, Dave Turner wrote:
My understanding is that OpenMPI built with either Intel or
GNU compilers should be able to use the other compilers using the
OMPI_CC and OMPI_FC environmental variables.
Sadly not, we tried this but when our one of our very few FORTRAN users
(who happened to be our director) tried to use it it failed because the
mpi.mod module created during the build is compiler dependent. :-(
So ever since we've done separate builds for GCC and for Intel.
All the best!
Chris