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

Siegmar Gross siegmar.gross at informatik.hs-fulda.de
Fri Oct 5 04:24:49 CDT 2018


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 
--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 

loki mpich-master_2018-10-05_Linux.x86_64.64_cc 128 tail -40 
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 
Makefile:40490: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
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

discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:

More information about the discuss mailing list