[OMPI users] openMPI and ifort debuggin flags, is it possible?

2018-07-27 Thread 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 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  PCRoutineLineSource

MPIHyperStrem  005AA3F0  Unknown   Unknown  Unknown
MPIHyperStrem  00591A5C  mod_lathyp_mp_lat 219
 LATHYP.f90
MPIHyperStrem  005A0C2A  mod_optimizer_mp_ 279
 OPTIMIZER.f90
MPIHyperStrem  005986F2  mod_optimizer_mp_  34
 OPTIMIZER.f90
MPIHyperStrem  005A1F84  MAIN__114
 MAIN.f90
MPIHyperStrem  0040A46E  Unknown   Unknown  Unknown
libc-2.23.so   7FEA758B8830  __libc_start_main Unknown  Unknown
MPIHyperStrem  0040A369  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
___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Re: [OMPI users] openMPI and ifort debuggin flags, is it possible?

2018-07-27 Thread Gilles Gouaillardet
Diego,

Did you build OpenMPI with FCFLAGS=-r8 ?

Cheers,

Gilles

On Friday, July 27, 2018, Diego Avesani  wrote:

> 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  PCRoutineLineSource
>
> MPIHyperStrem  005AA3F0  Unknown   Unknown
>  Unknown
> MPIHyperStrem  00591A5C  mod_lathyp_mp_lat 219
>  LATHYP.f90
> MPIHyperStrem  005A0C2A  mod_optimizer_mp_ 279
>  OPTIMIZER.f90
> MPIHyperStrem  005986F2  mod_optimizer_mp_  34
>  OPTIMIZER.f90
> MPIHyperStrem  005A1F84  MAIN__114
>  MAIN.f90
> MPIHyperStrem  0040A46E  Unknown   Unknown
>  Unknown
> libc-2.23.so   7FEA758B8830  __libc_start_main Unknown
>  Unknown
> MPIHyperStrem  0040A369  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
>
>
___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

[OMPI users] Trouble writing code for simple 2 node client-server CheckLatency using openMPI

2018-07-27 Thread John Bauman
 Hello everyone,

I just want to start off by saying I have no experience using mpi, so
please forgive me if some of what I say below doesn't make perfect sense...

I am trying to write a simple client-server application to measure latency
in an rdma cluster with mpi.  I was able to write a tcp/ip socket latency
checker (CheckLatency.java), but I am having an issue doing something
similar using mpi.  I seem to have the environment for mpi setup correctly,
but I am having trouble getting the mpi version to work.

Please let me know if more details are needed... any help would be greatly
appreciated.

Thanks,

John


ClientServerLatency.tgz
Description: application/compressed
___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Re: [OMPI users] Error in file base/plm_base_launch_support.c: OPAL_HWLOC_TOPO

2018-07-27 Thread Lovelace III, Henry
Hi Gilles,

If I understand the instruction correctly by invoking the -showme command 
to give addition information. I did use the -showme command, however the files 
that are being compiled are C/C++ files and the header files.

cmake_file~~
set (EXENAME ansga2)

set (SRC_FILES
  apisa/nsga2/nsga2.cpp
  apisa/nsga2/nsga2_functions.cpp
  apisa/nsga2/nsga2.hpp
  apisa/nsga2/nsga2_io.cpp
)

~~~

~SHOWME~~


10:42 AM->hlovelac:nsga2 ../../../production/bin/mpicc -showme nsga2.cpp
gcc nsga2.cpp 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/include -pthread 
-Wl,-rpath -Wl,/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-Wl,--enable-new-dtags 
-L/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib -lmpi
10:42 AM->hlovelac:nsga2 ../../../production/bin/mpicc -showme 
nsga2_functions.cpp
gcc nsga2_functions.cpp 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/include -pthread 
-Wl,-rpath -Wl,/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-Wl,--enable-new-dtags 
-L/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib -lmpi
10:43 AM->hlovelac:nsga2 ../../../production/bin/mpicc -showme nsga2.hpp
gcc nsga2.hpp 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/include -pthread 
-Wl,-rpath -Wl,/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-Wl,--enable-new-dtags 
-L/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib -lmpi
10:44 AM->hlovelac:nsga2 ../../../production/bin/mpicc -showme nsga2_io.cpp
gcc nsga2_io.cpp 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/include -pthread 
-Wl,-rpath -Wl,/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-Wl,--enable-new-dtags 
-L/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib -lmpi



11:14 AM->hlovelac:nsga2 ../../../production/bin/mpifort -showme nsga2.cpp
gfortran nsga2.cpp 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/include -pthread 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib -Wl,-rpath 
-Wl,/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-Wl,--enable-new-dtags 
-L/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi
11:15 AM->hlovelac:nsga2 ../../../production/bin/mpifort -showme 
nsga2_functions.cpp
gfortran nsga2_functions.cpp 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/include -pthread 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib -Wl,-rpath 
-Wl,/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-Wl,--enable-new-dtags 
-L/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi
11:15 AM->hlovelac:nsga2 ../../../production/bin/mpifort -showme nsga2.hpp
gfortran nsga2.hpp 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/include -pthread 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib -Wl,-rpath 
-Wl,/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-Wl,--enable-new-dtags 
-L/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi
11:15 AM->hlovelac:nsga2 ../../../production/bin/mpifort -showme nsga2_io.cpp
gfortran nsga2_io.cpp 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/include -pthread 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib -Wl,-rpath 
-Wl,/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-Wl,--enable-new-dtags 
-L/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi



cmake_file~~


set (EXENAME aspea2)

set (SRC_FILES
  apisa/spea2/spea2.cpp
  apisa/spea2/spea2_functions.cpp
  apisa/spea2/spea2.hpp
  apisa/spea2/spea2_io.cpp
)

~~~

~SHOWME~~


10:50 AM->hlovelac:spea2 ../../../production/bin/mpicc -showme spea2.cpp
gcc spea2.cpp 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/include -pthread 
-Wl,-rpath -Wl,/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-Wl,--enable-new-dtags 
-L/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib -lmpi
10:50 AM->hlovelac:spea2 ../../../production/bin/mpicc -showme 
spea2_functions.cpp
gcc spea2_functions.cpp 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/include -pthread 
-Wl,-rpath -Wl,/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib 
-Wl,--enable-new-dtags 
-L/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/lib -lmpi
10:51 AM->hlovelac:spea2 ../../../production/bin/mpicc -showme spea2.hpp
gcc spea2.hpp 
-I/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/production/include -pthread 
-Wl,-rpath -Wl,/global/homes/h/hlovelac/BMAD/bmad_dist_2018_0727/prod