[mpich-discuss] mpich-master: undefined references using Sun C

Madhu, Kavitha Tiptur kmadhu at anl.gov
Fri Oct 5 05:34:10 CDT 2018


Hi

I have created an issue here: https://github.com/pmodels/mpich/issues/3358

[https://avatars0.githubusercontent.com/u/1934591?s=400&v=4]<https://github.com/pmodels/mpich/issues/3358>

Linker error building mpich master mpich-master on "SUSE Linux Enterprise Server 12.3 (x86_64)" with Sun C 5.15 (Oracle Developer Studio 12.6). · Issue #3358 · pmodels/mpich<https://github.com/pmodels/mpich/issues/3358>
github.com
Linker error reported by Siegmar Gross siegmar.gross at informatik.hs-fulda.de when building MPICH master. loki mpich-master_2018-10-05_Linux.x86_64.64_cc 128 head -7 config.log | tail -1 $ ../mpich/c...




I would update the issue once reproduce the error and gain some insight into the problem.

________________________________
From: Siegmar Gross <siegmar.gross at informatik.hs-fulda.de>
Sent: Friday, October 5, 2018 4:24:49 AM
To: Users MPICH
Subject: [mpich-discuss] mpich-master: undefined references using Sun C

Hi,

I tried to install mpich-master on my "SUSE Linux Enterprise Server 12.3
(x86_64)" with Sun C 5.15 (Oracle Developer Studio 12.6).
Unfortunately, I get the following error.


loki mpich-master_2018-10-05_Linux.x86_64.64_cc 128 head -7 config.log | tail -1
   $ ../mpich/configure --prefix=/usr/local/mpich-master_64_cc
--libdir=/usr/local/mpich-master_64_cc/lib64
--includedir=/usr/local/mpich-master_64_cc/include64 CC=cc CXX=CC F77=f77 FC=f95
CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64 LDFLAGS=-m64 -L/usr/lib64
-R/usr/lib64 --enable-fortran=no --enable-cxx --enable-romio --enable-debuginfo
--enable-smpcoll --enable-threads=multiple --with-thread-package=posix
--enable-shared

loki mpich-master_2018-10-05_Linux.x86_64.64_cc 128 tail -40
log.make.Linux.x86_64.64_cc
"/export2/src/mpich-master/mpich/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h",
line 162: warning: parameter in inline asm statement unused: %3
"../mpich/src/include/mpir_handlemem.h", line 61: warning: null dimension: indirect
"../mpich/src/include/mpir_handlemem.h", line 122: warning: null dimension: indirect
   CC       src/env/mpivars.o
   CCLD     lib/libtvmpich.la
   GEN      lib/libmpi.la
"./src/include/mpichconf.h", line 1718: Warning (Anachronism): Attempt to
redefine __restrict__ without using #undef.
1 Warning(s) detected.
   CXXLD    lib/libmpicxx.la
   CCLD     src/env/mpichversion
   CCLD     src/env/mpivars
CC: -library=Crun cannot be used with -std=c++03. To use this library you need
to switch to -std=sun03
CC: -library=Cstd cannot be used with -std=c++03. To use this library you need
to switch to -std=sun03
Makefile:10783: recipe for target 'lib/libmpicxx.la' failed
make[2]: *** [lib/libmpicxx.la] Error 1
make[2]: *** Waiting for unfinished jobs....
src/env/mpichversion.o: In function `hwloc_distrib':
mpichversion.c:(.text+0xb0): undefined reference to `hwloc_bitmap_weight'
mpichversion.c:(.text+0x13d): undefined reference to `hwloc_bitmap_weight'
mpichversion.c:(.text+0x1e4): undefined reference to `hwloc_bitmap_dup'
mpichversion.c:(.text+0x219): undefined reference to `hwloc_bitmap_or'
src/env/mpichversion.o: In function `MPIR_Datatype_free_contents':
mpichversion.c:(.text+0x30d): undefined reference to `MPIR_Datatype_builtin'
mpichversion.c:(.text+0x32b): undefined reference to `MPIR_Datatype_direct'
mpichversion.c:(.text+0x339): undefined reference to `MPIR_Datatype_mem'
mpichversion.c:(.text+0x37f): undefined reference to `MPIR_Process'
mpichversion.c:(.text+0x3f9): undefined reference to `MPIR_Assert_fail'
src/env/mpichversion.o: In function `MPIR_Datatype_free':
mpichversion.c:(.text+0x43e): undefined reference to `MPIR_Dataloop_free'
mpichversion.c:(.text+0x445): undefined reference to `MPIR_Datatype_mem'
postopt: error: ld failed to link the binary
cc: postopt failed for src/env/.libs/mpichversion
Makefile:20510: recipe for target 'src/env/mpichversion' failed
make[2]: *** [src/env/mpichversion] Error 2
make[2]: Leaving directory
'/export2/src/mpich-master/mpich-master_2018-10-05_Linux.x86_64.64_cc'
Makefile:40490: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/export2/src/mpich-master/mpich-master_2018-10-05_Linux.x86_64.64_cc'
Makefile:10578: recipe for target 'all' failed
make: *** [all] Error 2
loki mpich-master_2018-10-05_Linux.x86_64.64_cc 129


I would be grateful, if somebody can fix the problem. Do you need anything
else? Thank you very much for any help in advance.


Kind regards

Siegmar
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
discuss Info Page - MPICH<https://lists.mpich.org/mailman/listinfo/discuss>
lists.mpich.org
To see the collection of prior postings to the list, visit the discuss Archives.. Using discuss: To post a message to all the list members, send email to discuss at mpich.org. You can subscribe to the list, or change your existing subscription, in the sections below.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20181005/4e7bd82c/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list