[mpich-discuss] couldn't built mpich-master on SuSE Linux with Sun C
Siegmar Gross
siegmar.gross at informatik.hs-fulda.de
Wed May 9 02:31:39 CDT 2018
Hi,
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-05-09_Linux.x86_64.64_cc 143 tail -22
log.make.Linux.x86_64.64_cc | grep -v NOTICE
MOD src/binding/fortran/use_mpi/mpi_base.mod-stamp
GEN lib/libmpi.la
MOD src/binding/fortran/use_mpi/mpi.mod-stamp
"./src/include/mpichconf.h", line 1711: 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:16751: 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-05-09_Linux.x86_64.64_cc'
Makefile:39685: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/export2/src/mpich-master/mpich-master_2018-05-09_Linux.x86_64.64_cc'
Makefile:10429: recipe for target 'all' failed
make: *** [all] Error 2
loki mpich-master_2018-05-09_Linux.x86_64.64_cc 144
I used the following commands to download and configure MPICH.
git clone https://github.com/pmodels/mpich.git
cd mpich
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've also downloaded mpich-master-v3.3b2-49-g1807b26 and I was able to build
it with Sun C.
loki local 172 ls -l mpich-3.3_64_cc/bin/ mpich-master_64_cc/bin/
mpich-3.3_64_cc/bin/:
total 28632
-rwxr-xr-x 1 root root 3479448 May 4 09:23 hydra_nameserver
-rwxr-xr-x 1 root root 3473592 May 4 09:23 hydra_persist
-rwxr-xr-x 1 root root 3786272 May 4 09:23 hydra_pmi_proxy
lrwxrwxrwx 1 root root 6 May 4 09:23 mpic++ -> mpicxx
-rwxr-xr-x 1 root root 9588 May 4 09:23 mpicc
-rwxr-xr-x 1 root root 6847024 May 4 09:23 mpichversion
-rwxr-xr-x 1 root root 9163 May 4 09:23 mpicxx
lrwxrwxrwx 1 root root 13 May 4 09:23 mpiexec -> mpiexec.hydra
-rwxr-xr-x 1 root root 4635304 May 4 09:23 mpiexec.hydra
lrwxrwxrwx 1 root root 13 May 4 09:23 mpirun -> mpiexec.hydra
-rwxr-xr-x 1 root root 7053376 May 4 09:23 mpivars
-rwxr-xr-x 1 root root 3430 May 4 09:23 parkill
mpich-master_64_cc/bin/:
total 14864
-rwxr-xr-x 1 root root 3439656 May 9 09:17 hydra_nameserver
-rwxr-xr-x 1 root root 3437896 May 9 09:17 hydra_persist
-rwxr-xr-x 1 root root 3745912 May 9 09:17 hydra_pmi_proxy
lrwxrwxrwx 1 root root 13 May 9 09:17 mpiexec -> mpiexec.hydra
-rwxr-xr-x 1 root root 4587736 May 9 09:17 mpiexec.hydra
lrwxrwxrwx 1 root root 13 May 9 09:17 mpirun -> mpiexec.hydra
loki local 173 mpich-3.3_64_cc/bin/mpichversion
MPICH Version: 3.3b2
MPICH Release date: Fri May 4 00:55:55 CDT 2018
MPICH Device: ch3:nemesis
MPICH configure: --prefix=/usr/local/mpich-3.3_64_cc
--libdir=/usr/local/mpich-3.3_64_cc/lib64
--includedir=/usr/local/mpich-3.3_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=ye --enable-cxx --enable-romio --enable-debuginfo
--enable-smpcoll --enable-threads=multiple --with-thread-package=posix
--enable-shared
MPICH CC: cc -m64 -O2
MPICH CXX: CC -m64 -O2
MPICH F77: f77 -m64
MPICH FC: f95 -m64
MPICH Custom Information:
loki local 174
Do you have any ideas what's going wrong with the master version? 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
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