<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div>Hi Giuseppe,</div><div><br></div><div>I'll do next week. At the moment I'm not in my office and I have no access to my machine.</div><div><br></div><div>Best regards</div><div><br></div><div>Siegmar</div><div><br></div><div><br></div><div><br></div><div id="composer_signature">Von meinem Handy gesendet.</div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Ursprüngliche Nachricht --------</div><div>Von: "Congiu, Giuseppe" <gcongiu@anl.gov> </div><div>Datum: 26.09.18 21:41 (GMT+01:00) </div><div>An: discuss@mpich.org </div><div>Betreff: Re: [mpich-discuss] couldn't built mpich-master on SuSE Linux with
Sun C </div><div><br></div></div>Hi Siegmar,<br><br>I have tried replicating the linking problem using the configure options you provided. I have used Oracle Developer Studio 12.3.<br>Mpich master “701bc7e5f84467188dcdc1ff585349e994a9990a". Compilation worked fine for me. Can you attach your config.log<br>file so I can have a look at it? Moreover, can you recompile Mpich with "make V=1" and attach the corresponding output as well?<br><br>Thank you,<br>Giuseppe<br><br>> On Jun 6, 2018, at 6:21 AM, Siegmar Gross <siegmar.gross@informatik.hs-fulda.de> wrote:<br>> <br>> Hi,<br>> <br>> I tried to build mpich-master on my "SUSE Linux Enterprise Server 12.3<br>> (x86_64)" with Sun C 5.15 (Oracle Developer Studio 12.6). Unfortunately,<br>> I get the following error, that I already reported already on May 9th.<br>> <br>> <br>> loki mpich-master_2018-06-06_Linux.x86_64.64_cc 122 tail -22 log.make.Linux.x86_64.64_cc | grep -v NOTICE<br>> "../mpich/src/include/mpir_handlemem.h", line 61: warning: null dimension: indirect<br>> "../mpich/src/include/mpir_handlemem.h", line 122: warning: null dimension: indirect<br>> MOD src/binding/fortran/use_mpi/mpi.mod-stamp<br>> "./src/include/mpichconf.h", line 1708: Warning (Anachronism): Attempt to redefine __restrict__ without using #undef.<br>> 1 Warning(s) detected.<br>> f90: Warning: Option -shared passed to ld, if ld is invoked, ignored otherwise<br>> f90: Warning: Option --whole-archive passed to ld, if ld is invoked, ignored otherwise<br>> f90: Warning: Option --no-whole-archive passed to ld, if ld is invoked, ignored otherwise<br>> f90: Warning: Option -path passed to ld, if ld is invoked, ignored otherwise<br>> f90: Warning: Option -path passed to ld, if ld is invoked, ignored otherwise<br>> f90: Warning: Option -soname passed to ld, if ld is invoked, ignored otherwise<br>> /usr/bin/ld: -r and -shared may not be used together<br>> postopt: error: ld failed to link the binary<br>> Makefile:16787: recipe for target 'lib/libmpi.la' failed<br>> make[2]: *** [lib/libmpi.la] Error 2<br>> make[2]: Leaving directory '/export2/src/mpich-master/mpich-master_2018-06-06_Linux.x86_64.64_cc'<br>> Makefile:39797: recipe for target 'all-recursive' failed<br>> make[1]: *** [all-recursive] Error 1<br>> make[1]: Leaving directory '/export2/src/mpich-master/mpich-master_2018-06-06_Linux.x86_64.64_cc'<br>> Makefile:10453: recipe for target 'all' failed<br>> make: *** [all] Error 2<br>> loki mpich-master_2018-06-06_Linux.x86_64.64_cc 123<br>> <br>> <br>> I used the following commands to update and configure MPICH.<br>> <br>> cd mpich<br>> git pull https://github.com/pmodels/mpich.git master<br>> git submodule update --init --recursive<br>> autogen.sh<br>> <br>> mkdir mpich-master_`date -I'date'`_${SYSTEM_ENV}.${MACHINE_ENV}.64_cc<br>> cd mpich-master_`date -I'date'`_${SYSTEM_ENV}.${MACHINE_ENV}.64_cc<br>> <br>> ../mpich/configure \<br>> --prefix=/usr/local/mpich-master_64_cc \<br>> --libdir=/usr/local/mpich-master_64_cc/lib64 \<br>> --includedir=/usr/local/mpich-master_64_cc/include64 \<br>> CC="cc" CXX="CC" F77="f77" FC="f95" \<br>> CFLAGS="-m64" CXXFLAGS="-m64" FFLAGS="-m64" FCFLAGS="-m64" \<br>> LDFLAGS="-m64 -L/usr/lib64 -R/usr/lib64" \<br>> --enable-fortran=yes --enable-cxx --enable-romio \<br>> --enable-debuginfo --enable-smpcoll \<br>> --enable-threads=multiple --with-thread-package=posix \<br>> --enable-shared \<br>> |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_cc<br>> <br>> make -j 6 |& tee log.make.$SYSTEM_ENV.$MACHINE_ENV.64_cc<br>> <br>> <br>> I would be grateful, if somebody can fix the problem or is it a problem of the<br>> Oracle compiler?. Do you need anything else? Thank you very much for any help<br>> in advance.<br>> <br>> <br>> Kind regards<br>> <br>> Siegmar<br>> _______________________________________________<br>> discuss mailing list discuss@mpich.org<br>> To manage subscription options or unsubscribe:<br>> https://lists.mpich.org/mailman/listinfo/discuss<br><br>_______________________________________________<br>discuss mailing list discuss@mpich.org<br>To manage subscription options or unsubscribe:<br>https://lists.mpich.org/mailman/listinfo/discuss<br></body></html>