<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Siegmar,
<div class=""><br class="">
</div>
<div class="">We have looked into the problem. It seems this is not MPICH specific but rather libtools specific. I have created an issue (<a href="https://github.com/pmodels/mpich/issues/3350" class="">https://github.com/pmodels/mpich/issues/3350</a>) for this.
 You can look at it for bug fix updates.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Giuseppe <br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Oct 1, 2018, at 6:16 AM, Siegmar Gross <<a href="mailto:siegmar.gross@informatik.hs-fulda.de" class="">siegmar.gross@informatik.hs-fulda.de</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hi Giuseppe,<br class="">
<br class="">
my email is being held until the list moderator can review it for approval,<br class="">
because the attachments are too big. Therefore, I send it directly to you.<br class="">
<br class="">
<br class="">
Best regards<br class="">
<br class="">
Siegmar<br class="">
<br class="">
<br class="">
-------- Forwarded Message --------<br class="">
Subject: Re: [mpich-discuss] couldn't built mpich-master on SuSE Linux with Sun C<br class="">
Date: Mon, 1 Oct 2018 10:37:58 +0200<br class="">
From: Siegmar Gross <<a href="mailto:Siegmar.Gross@informatik.hs-fulda.de" class="">Siegmar.Gross@informatik.hs-fulda.de</a>><br class="">
To: Users MPICH <<a href="mailto:discuss@mpich.org" class="">discuss@mpich.org</a>><br class="">
<br class="">
Hi Giuseppe,<br class="">
<br class="">
today I've tried to build the latest master version so that you don't have<br class="">
to deal with an old version. I still get the same error.<br class="">
<br class="">
loki mpich-master_2018-10-01_Linux.x86_64.64_cc 150 cc -V<br class="">
cc: Studio 12.6 Sun C 5.15 Linux_i386 2017/05/30<br class="">
<br class="">
I've attached the requested files. Thank you very much for any help in advance.<br class="">
<br class="">
<br class="">
Best regards<br class="">
<br class="">
Siegmar<br class="">
<br class="">
<br class="">
<br class="">
On 09/26/18 21:41, Congiu, Giuseppe wrote:<br class="">
<blockquote type="cite" class="">Hi Siegmar,<br class="">
I have tried replicating the linking problem using the configure options you provided. I have used Oracle Developer Studio 12.3.<br class="">
Mpich master “701bc7e5f84467188dcdc1ff585349e994a9990a". Compilation worked fine for me. Can you attach your config.log<br class="">
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 class="">
Thank you,<br class="">
Giuseppe<br class="">
<blockquote type="cite" class="">On Jun 6, 2018, at 6:21 AM, Siegmar Gross <<a href="mailto:siegmar.gross@informatik.hs-fulda.de" class="">siegmar.gross@informatik.hs-fulda.de</a>> wrote:<br class="">
<br class="">
Hi,<br class="">
<br class="">
I tried to build mpich-master on my "SUSE Linux Enterprise Server 12.3<br class="">
(x86_64)" with Sun C 5.15 (Oracle Developer Studio 12.6). Unfortunately,<br class="">
I get the following error, that I already reported already on May 9th.<br class="">
<br class="">
<br class="">
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 class="">
"../mpich/src/include/mpir_handlemem.h", line 61: warning: null dimension: indirect<br class="">
"../mpich/src/include/mpir_handlemem.h", line 122: warning: null dimension: indirect<br class="">
 MOD      src/binding/fortran/use_mpi/mpi.mod-stamp<br class="">
"./src/include/mpichconf.h", line 1708: Warning (Anachronism): Attempt to redefine __restrict__ without using #undef.<br class="">
1 Warning(s) detected.<br class="">
f90: Warning: Option -shared passed to ld, if ld is invoked, ignored otherwise<br class="">
f90: Warning: Option --whole-archive passed to ld, if ld is invoked, ignored otherwise<br class="">
f90: Warning: Option --no-whole-archive passed to ld, if ld is invoked, ignored otherwise<br class="">
f90: Warning: Option -path passed to ld, if ld is invoked, ignored otherwise<br class="">
f90: Warning: Option -path passed to ld, if ld is invoked, ignored otherwise<br class="">
f90: Warning: Option -soname passed to ld, if ld is invoked, ignored otherwise<br class="">
/usr/bin/ld: -r and -shared may not be used together<br class="">
postopt: error: ld failed to link the binary<br class="">
Makefile:16787: recipe for target 'lib/<a href="http://libmpi.la" class="">libmpi.la</a>' failed<br class="">
make[2]: *** [lib/<a href="http://libmpi.la" class="">libmpi.la</a>] Error 2<br class="">
make[2]: Leaving directory '/export2/src/mpich-master/mpich-master_2018-06-06_Linux.x86_64.64_cc'<br class="">
Makefile:39797: recipe for target 'all-recursive' failed<br class="">
make[1]: *** [all-recursive] Error 1<br class="">
make[1]: Leaving directory '/export2/src/mpich-master/mpich-master_2018-06-06_Linux.x86_64.64_cc'<br class="">
Makefile:10453: recipe for target 'all' failed<br class="">
make: *** [all] Error 2<br class="">
loki mpich-master_2018-06-06_Linux.x86_64.64_cc 123<br class="">
<br class="">
<br class="">
I used the following commands to update and configure MPICH.<br class="">
<br class="">
cd mpich<br class="">
git pull <a href="https://github.com/pmodels/mpich.git" class="">https://github.com/pmodels/mpich.git</a> master<br class="">
git submodule update --init --recursive<br class="">
autogen.sh<br class="">
<br class="">
mkdir mpich-master_`date -I'date'`_${SYSTEM_ENV}.${MACHINE_ENV}.64_cc<br class="">
cd mpich-master_`date -I'date'`_${SYSTEM_ENV}.${MACHINE_ENV}.64_cc<br class="">
<br class="">
../mpich/configure \<br class="">
 --prefix=/usr/local/mpich-master_64_cc \<br class="">
 --libdir=/usr/local/mpich-master_64_cc/lib64 \<br class="">
 --includedir=/usr/local/mpich-master_64_cc/include64 \<br class="">
 CC="cc" CXX="CC" F77="f77" FC="f95" \<br class="">
 CFLAGS="-m64" CXXFLAGS="-m64" FFLAGS="-m64" FCFLAGS="-m64" \<br class="">
 LDFLAGS="-m64 -L/usr/lib64 -R/usr/lib64" \<br class="">
 --enable-fortran=yes --enable-cxx --enable-romio \<br class="">
 --enable-debuginfo --enable-smpcoll \<br class="">
 --enable-threads=multiple --with-thread-package=posix \<br class="">
 --enable-shared \<br class="">
 |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_cc<br class="">
<br class="">
make -j 6 |& tee log.make.$SYSTEM_ENV.$MACHINE_ENV.64_cc<br class="">
<br class="">
<br class="">
I would be grateful, if somebody can fix the problem or is it a problem of the<br class="">
Oracle compiler?. Do you need anything else? Thank you very much for any help<br class="">
in advance.<br class="">
<br class="">
<br class="">
Kind regards<br class="">
<br class="">
Siegmar<br class="">
_______________________________________________<br class="">
discuss mailing list     <a href="mailto:discuss@mpich.org" class="">discuss@mpich.org</a><br class="">
To manage subscription options or unsubscribe:<br class="">
<a href="https://lists.mpich.org/mailman/listinfo/discuss" class="">https://lists.mpich.org/mailman/listinfo/discuss</a><br class="">
</blockquote>
_______________________________________________<br class="">
discuss mailing list     <a href="mailto:discuss@mpich.org" class="">discuss@mpich.org</a><br class="">
To manage subscription options or unsubscribe:<br class="">
<a href="https://lists.mpich.org/mailman/listinfo/discuss" class="">https://lists.mpich.org/mailman/listinfo/discuss</a><br class="">
</blockquote>
<br class="">
<span id="cid:2E055910-8AFC-4C7D-9E46-A15683EAD708@mcs.anl.gov"><config.log></span><span id="cid:0EE51D78-9613-4D48-ACB5-681D09DDE958@mcs.anl.gov"><log.configure.Linux.x86_64.64_cc></span><span id="cid:D1A61038-0ADD-453A-8FAC-C2A5718323D8@mcs.anl.gov"><log.make.Linux.x86_64.64_cc></span></div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>