[mpich-discuss] couldn't built mpich-master on SuSE Linux with Sun C

Siegmar Gross siegmar.gross at informatik.hs-fulda.de
Thu Sep 27 00:02:28 CDT 2018


Hi Giuseppe,
I'll do next week. At the moment I'm not in my office and I have no access to my machine.
Best regards
Siegmar


Von meinem Handy gesendet.
-------- Ursprüngliche Nachricht --------Von: "Congiu, Giuseppe" <gcongiu at anl.gov> Datum: 26.09.18  21:41  (GMT+01:00) An: discuss at mpich.org Betreff: Re: [mpich-discuss] couldn't built mpich-master on SuSE Linux with
  Sun C 
Hi Siegmar,

I have tried replicating the linking problem using the configure options you provided. I have used Oracle Developer Studio 12.3.
Mpich master “701bc7e5f84467188dcdc1ff585349e994a9990a". Compilation worked fine for me. Can you attach your config.log
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?

Thank you,
Giuseppe

> On Jun 6, 2018, at 6:21 AM, Siegmar Gross <siegmar.gross at informatik.hs-fulda.de> wrote:
> 
> Hi,
> 
> I tried to build 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, that I already reported already on May 9th.
> 
> 
> loki mpich-master_2018-06-06_Linux.x86_64.64_cc 122 tail -22 log.make.Linux.x86_64.64_cc | grep -v NOTICE
> "../mpich/src/include/mpir_handlemem.h", line 61: warning: null dimension: indirect
> "../mpich/src/include/mpir_handlemem.h", line 122: warning: null dimension: indirect
>  MOD      src/binding/fortran/use_mpi/mpi.mod-stamp
> "./src/include/mpichconf.h", line 1708: Warning (Anachronism): Attempt to redefine __restrict__ without using #undef.
> 1 Warning(s) detected.
> f90: Warning: Option -shared passed to ld, if ld is invoked, ignored otherwise
> f90: Warning: Option --whole-archive passed to ld, if ld is invoked, ignored otherwise
> f90: Warning: Option --no-whole-archive passed to ld, if ld is invoked, ignored otherwise
> f90: Warning: Option -path passed to ld, if ld is invoked, ignored otherwise
> f90: Warning: Option -path passed to ld, if ld is invoked, ignored otherwise
> f90: Warning: Option -soname passed to ld, if ld is invoked, ignored otherwise
> /usr/bin/ld: -r and -shared may not be used together
> postopt: error: ld failed to link the binary
> Makefile:16787: recipe for target 'lib/libmpi.la' failed
> make[2]: *** [lib/libmpi.la] Error 2
> make[2]: Leaving directory '/export2/src/mpich-master/mpich-master_2018-06-06_Linux.x86_64.64_cc'
> Makefile:39797: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/export2/src/mpich-master/mpich-master_2018-06-06_Linux.x86_64.64_cc'
> Makefile:10453: recipe for target 'all' failed
> make: *** [all] Error 2
> loki mpich-master_2018-06-06_Linux.x86_64.64_cc 123
> 
> 
> I used the following commands to update and configure MPICH.
> 
> cd mpich
> git pull https://github.com/pmodels/mpich.git master
> git submodule update --init --recursive
> autogen.sh
> 
> mkdir mpich-master_`date -I'date'`_${SYSTEM_ENV}.${MACHINE_ENV}.64_cc
> cd mpich-master_`date -I'date'`_${SYSTEM_ENV}.${MACHINE_ENV}.64_cc
> 
> ../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=yes --enable-cxx --enable-romio \
>  --enable-debuginfo --enable-smpcoll \
>  --enable-threads=multiple --with-thread-package=posix \
>  --enable-shared \
>  |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_cc
> 
> make -j 6 |& tee log.make.$SYSTEM_ENV.$MACHINE_ENV.64_cc
> 
> 
> I would be grateful, if somebody can fix the problem or is it a problem of the
> Oracle compiler?. 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 mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20180927/4489dcc9/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