Hi Gilles,

thank you very much for your help. Now C and C++ are link
compatible.


Kind regards

Siegmar


On 05/07/16 12:15, Gilles Gouaillardet wrote:
Siegmar,

per the config.log, you need to update your CXXFLAGS="-m64 -library=stlport4
-std=sun03"
or just CXXFLAGS="-m64"

Cheers,

Gilles

On Saturday, May 7, 2016, Siegmar Gross <siegmar.gr...@informatik.hs-fulda.de
<mailto:siegmar.gr...@informatik.hs-fulda.de>> wrote:

    Hi,

    today I tried to install openmpi-v1.10.2-176-g9d45e07 on my "SUSE Linux
    Enterprise Server 12 (x86_64)" with Sun C 5.14 beta. Unfortunately
    "configure" breaks, because it thinks that C and C++ are link
    incompatible. I used the following configure command.

    ../openmpi-v1.10.2-176-g9d45e07/configure \
      --prefix=/usr/local/openmpi-1.10.3_64_cc \
      --libdir=/usr/local/openmpi-1.10.3_64_cc/lib64 \
      --with-jdk-bindir=/usr/local/jdk1.8.0_66/bin \
      --with-jdk-headers=/usr/local/jdk1.8.0_66/include \
      JAVA_HOME=/usr/local/jdk1.8.0_66 \
      LDFLAGS="-m64 -mt -Wl,-z -Wl,noexecstack" CC="cc" CXX="CC" FC="f95" \
      CFLAGS="-m64 -mt" CXXFLAGS="-m64 -library=stlport4" FCFLAGS="-m64" \
      CPP="cpp" CXXCPP="cpp" \
      --enable-mpi-cxx \
      --enable-cxx-exceptions \
      --enable-mpi-java \
      --enable-heterogeneous \
      --enable-mpi-thread-multiple \
      --with-hwloc=internal \
      --without-verbs \
      --with-wrapper-cflags="-m64 -mt" \
      --with-wrapper-cxxflags="-m64 -library=stlport4" \
      --with-wrapper-fcflags="-m64" \
      --with-wrapper-ldflags="-mt" \
      --enable-debug \
      |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_cc


    I don't know if it is a compiler problem or a problem with the
    configure command. Perhaps you are nevertheless interested in
    the problem.


    Kind regards

    Siegmar



_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: https://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2016/05/29132.php

Reply via email to