[mpich-discuss] couldn't built mpich-master on SuSE Linux with Sun C
Siegmar Gross
siegmar.gross at informatik.hs-fulda.de
Wed Jun 6 06:21:17 CDT 2018
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
More information about the discuss
mailing list