[Mvapich-discuss] Build failure with NVHPC compilers

Subramoni, Hari subramoni.1 at osu.edu
Fri Apr 8 15:10:29 EDT 2022


Hi, Martin.

Sorry to hear that you’re facing this issue. I think we had resolved some of these with the latest MVAPICH2 2.3.7 release. Could you please try that and let us know?

Best,
Hari.

From: Mvapich-discuss <mvapich-discuss-bounces+subramoni.1=osu.edu at lists.osu.edu> On Behalf Of Martin Cuma via Mvapich-discuss
Sent: Friday, April 8, 2022 1:38 PM
To: mvapich-discuss at lists.osu.edu
Subject: [Mvapich-discuss] Build failure with NVHPC compilers

We're building MVAPICH2 2.3.6, either with Spack or separately, but we get the following error: libtool: link: nvc -DNDEBUG -DNVALGRIND -O2 -rdynamic -o src/pm/mpirun/mpirun_rsh src/pm/mpirun/mpirun_rsh.o src/pm/mpirun/mpirun_util.o src/pm/mpirun/mpmd.o ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
    Report Suspicious  <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/KGKeukY!vwQd8KhtD6YgRRdxXq6lVwz_pmoVfAv3la7st7qWXg8WzQWYSS7ZWa25ggu60-uhf0nQhhuuf8uEOZTNjyu5CZDYwEw_XpEtUBv0NGeJwqG_RmZcdviH4CSgkbaHCBlxdx1zAnkS63qw_9ikM6EBLQ$>   ‌
ZjQcmQRYFpfptBannerEnd
We're building MVAPICH2 2.3.6, either with Spack or separately, but we get the following error:

libtool: link: nvc -DNDEBUG -DNVALGRIND -O2 -rdynamic -o src/pm/mpirun/mpirun_rsh src/pm/mpirun/mpirun_rsh.o src/pm/mpirun/mpirun_util.o src/pm/mpirun/mpmd.o src/pm/mpirun/mpirun_dbg.o src/pm/mpirun/mpirun_ckpt.o src/pm/mpirun/mpirun_params.o src/pm/mpirun/param.o src/pm/mpirun/signal_processor.o src/pm/mpirun/wfe_mpirun.o src/pm/mpirun/m_state.o src/pm/mpirun/read_specfile.o src/pm/mpirun/gethostip.o src/pm/mpirun/environ.o src/mpid/ch3/channels/common/src/util/mv2_config.o src/mpid/ch3/channels/common/src/util/crc32h.o src/mpid/ch3/channels/common/src/util/error_handling.o src/mpid/ch3/channels/common/src/util/debug_utils.o  -lm src/pm/mpirun/src/hostfile/libhostfile.a src/pm/mpirun/src/db/libdb.a src/pm/mpirun/src/slurm/libslurm.a src/pm/mpirun/src/slurm/libnodelist.a src/pm/mpirun/src/slurm/libtasklist.a src/pm/mpirun/src/pbs/libpbs.a -lrt -lpthread
libtool: compile:  nvfortran -Isrc/binding/fortran/use_mpi -module src/binding/fortran/use_mpi -c src/binding/fortran/use_mpi/mpi_base.f90 -o src/binding/fortran/use_mpi/mpi_base.o >/dev/null 2>&1
nvc-Error-Unknown switch: -rdynamic
nvc-Error-Unknown switch: -rdynamic

It looks like the configure injects the -rdynamic flag, which is not present in NVHPC (=PGI) compilers, into the LDFLAGS for the mpirun builds:

$ grep rdynamic *
Makefile:src_pm_mpirun_mpirun_rsh_LDFLAGS = -rdynamic
Makefile:src_pm_mpirun_mpiexec_mpirun_rsh_LDFLAGS = -rdynamic
Makefile:src_pm_mpirun_mpispawn_LDFLAGS = -rdynamic

Is there anything we can do about this to enable this build to succeed, or will it be necessary to edit the configure script?

Thanks,

Martin Cuma
Center for High Performance Computing
University of Utah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/mvapich-discuss/attachments/20220408/b4576ec8/attachment-0019.html>


More information about the Mvapich-discuss mailing list