Discussion:
[OMPI users] openMPI and ifort debuggin flags, is it possible?
Diego Avesani
2018-07-27 08:48:23 UTC
Permalink
Dear all,

I am developing a code for hydrological applications. It is written in
FORTRAN and I am using ifort combine with openMPI.

In this moment, I am debugging my code due to the fact that I have some NaN
errors. As a consequence, I have introduce in my Makefile some flags for
the ifort compiler. In particular:

-c -r8 -align *-CB -traceback -check all -check uninit -ftrapuv -debug all*
-fpp

However, this produce some unexpected errors/warning with mpirun. This is
the error\warning:

Image PC Routine Line Source

MPIHyperStrem 00000000005AA3F0 Unknown Unknown Unknown
MPIHyperStrem 0000000000591A5C mod_lathyp_mp_lat 219
LATHYP.f90
MPIHyperStrem 00000000005A0C2A mod_optimizer_mp_ 279
OPTIMIZER.f90
MPIHyperStrem 00000000005986F2 mod_optimizer_mp_ 34
OPTIMIZER.f90
MPIHyperStrem 00000000005A1F84 MAIN__ 114
MAIN.f90
MPIHyperStrem 000000000040A46E Unknown Unknown Unknown
libc-2.23.so 00007FEA758B8830 __libc_start_main Unknown Unknown
MPIHyperStrem 000000000040A369 Unknown Unknown Unknown
forrtl: warning (406): fort: (1): In call to SHUFFLE, an array temporary
was created for argument #1



My questions is:
It is possible to use ifort debugging flags with openMPI?

thanks a lot

Diego
Gilles Gouaillardet
2018-07-27 14:05:29 UTC
Permalink
Diego,

Did you build OpenMPI with FCFLAGS=-r8 ?

Cheers,

Gilles
Post by Diego Avesani
Dear all,
I am developing a code for hydrological applications. It is written in
FORTRAN and I am using ifort combine with openMPI.
In this moment, I am debugging my code due to the fact that I have some
NaN errors. As a consequence, I have introduce in my Makefile some flags
-c -r8 -align *-CB -traceback -check all -check uninit -ftrapuv -debug
all* -fpp
However, this produce some unexpected errors/warning with mpirun. This is
Image PC Routine Line Source
MPIHyperStrem 00000000005AA3F0 Unknown Unknown
Unknown
MPIHyperStrem 0000000000591A5C mod_lathyp_mp_lat 219
LATHYP.f90
MPIHyperStrem 00000000005A0C2A mod_optimizer_mp_ 279
OPTIMIZER.f90
MPIHyperStrem 00000000005986F2 mod_optimizer_mp_ 34
OPTIMIZER.f90
MPIHyperStrem 00000000005A1F84 MAIN__ 114
MAIN.f90
MPIHyperStrem 000000000040A46E Unknown Unknown
Unknown
libc-2.23.so 00007FEA758B8830 __libc_start_main Unknown
Unknown
MPIHyperStrem 000000000040A369 Unknown Unknown
Unknown
forrtl: warning (406): fort: (1): In call to SHUFFLE, an array temporary
was created for argument #1
It is possible to use ifort debugging flags with openMPI?
thanks a lot
Diego
Diego Avesani
2018-08-03 17:17:16 UTC
Permalink
Dear Gilles, dear all,

I do not remember.
I use -r8 when I compile.

What do you think?
It could be a problem?


Thanks a lot

Diego
Post by Gilles Gouaillardet
Diego,
Did you build OpenMPI with FCFLAGS=-r8 ?
Cheers,
Gilles
Post by Diego Avesani
Dear all,
I am developing a code for hydrological applications. It is written in
FORTRAN and I am using ifort combine with openMPI.
In this moment, I am debugging my code due to the fact that I have some
NaN errors. As a consequence, I have introduce in my Makefile some flags
-c -r8 -align *-CB -traceback -check all -check uninit -ftrapuv -debug
all* -fpp
However, this produce some unexpected errors/warning with mpirun. This
Image PC Routine Line
Source
MPIHyperStrem 00000000005AA3F0 Unknown Unknown
Unknown
MPIHyperStrem 0000000000591A5C mod_lathyp_mp_lat 219
LATHYP.f90
MPIHyperStrem 00000000005A0C2A mod_optimizer_mp_ 279
OPTIMIZER.f90
MPIHyperStrem 00000000005986F2 mod_optimizer_mp_ 34
OPTIMIZER.f90
MPIHyperStrem 00000000005A1F84 MAIN__ 114
MAIN.f90
MPIHyperStrem 000000000040A46E Unknown Unknown
Unknown
libc-2.23.so 00007FEA758B8830 __libc_start_main Unknown
Unknown
MPIHyperStrem 000000000040A369 Unknown Unknown
Unknown
forrtl: warning (406): fort: (1): In call to SHUFFLE, an array temporary
was created for argument #1
It is possible to use ifort debugging flags with openMPI?
thanks a lot
Diego
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
Gilles Gouaillardet
2018-08-03 20:05:53 UTC
Permalink
Diego,

Yes, that would be clearly an issue.

Cheers,

Gilles
Post by Diego Avesani
Dear Gilles, dear all,
I do not remember.
I use -r8 when I compile.
What do you think?
It could be a problem?
Thanks a lot
Diego
On 27 July 2018 at 16:05, Gilles Gouaillardet <
Post by Gilles Gouaillardet
Diego,
Did you build OpenMPI with FCFLAGS=-r8 ?
Cheers,
Gilles
Post by Diego Avesani
Dear all,
I am developing a code for hydrological applications. It is written in
FORTRAN and I am using ifort combine with openMPI.
In this moment, I am debugging my code due to the fact that I have some
NaN errors. As a consequence, I have introduce in my Makefile some flags
-c -r8 -align *-CB -traceback -check all -check uninit -ftrapuv -debug
all* -fpp
However, this produce some unexpected errors/warning with mpirun. This
Image PC Routine Line
Source
MPIHyperStrem 00000000005AA3F0 Unknown Unknown
Unknown
MPIHyperStrem 0000000000591A5C mod_lathyp_mp_lat 219
LATHYP.f90
MPIHyperStrem 00000000005A0C2A mod_optimizer_mp_ 279
OPTIMIZER.f90
MPIHyperStrem 00000000005986F2 mod_optimizer_mp_ 34
OPTIMIZER.f90
MPIHyperStrem 00000000005A1F84 MAIN__ 114
MAIN.f90
MPIHyperStrem 000000000040A46E Unknown Unknown
Unknown
libc-2.23.so 00007FEA758B8830 __libc_start_main Unknown
Unknown
MPIHyperStrem 000000000040A369 Unknown Unknown
Unknown
forrtl: warning (406): fort: (1): In call to SHUFFLE, an array temporary
was created for argument #1
It is possible to use ifort debugging flags with openMPI?
thanks a lot
Diego
_______________________________________________
users mailing list
https://lists.open-mpi.org/mailman/listinfo/users
Loading...