Hi Gilles, thank you very much for your help to locate the problem.
in the mean time, and as a work around, you can make sure CPPFLAGS is not set in your environment( or set it to ""), and then invoke configure without CPPFLAGS="" assuming you are using a bash shell, you can simply do CPPFLAGS="" configure ... instead of configure ... CPPFLAGS=""
Unfortunately it doesn't work. First I used "unsetenv CPPFLAGS", "unsetenv CFLAGS", and "unsetenv CXXFLAGS" in my tcsh environment. I got the some error with "make" after "configure". Next I tried bash and your suggestion (CPPFLAGS wasn't defined but nevertheless I tried exactly your command sequence). linpc1 openmpi-2.0.0 164 bash linpc1:/export2/src/openmpi-2.0.0 # mkdir openmpi-v2.x-dev-456-g2b744c2-${SYSTEM_ENV}.${MACHINE_ENV}.64_gcc linpc1:/export2/src/openmpi-2.0.0 # cd openmpi-v2.x-dev-456-g2b744c2-${SYSTEM_ENV}.${MACHINE_ENV}.64_gcc linpc1:/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-456-g2b744c2-Linux.x86_64.64_gcc # CPPFLAGS="" ../openmpi-v2.x-dev-456-g2b744c2/configure --prefix=/usr/local/openmpi-2.0.0_64_gcc --libdir=/usr/local/openmpi-2.0.0_64_gcc/lib64 --with-jdk-bindir=/usr/local/jdk1.8.0/bin --with-jdk-headers=/usr/local/jdk1.8.0/include JAVA_HOME=/usr/local/jdk1.8.0 LDFLAGS="-m64" CC="gcc" CXX="g++" FC="gfortran" CFLAGS="-m64" CXXFLAGS="-m64" FCFLAGS="-m64" CPP="cpp" CXXCPP="cpp" CPPFLAGS="" CXXCPPFLAGS="" --enable-mpi-cxx --enable-cxx-exceptions --enable-mpi-java --enable-heterogeneous --enable-mpi-thread-multiple --with-hwloc=internal --without-verbs --with-wrapper-cflags="-std=c11 -m64" --with-wrapper-cxxflags="-m64" --with-wrapper-fcflags="-m64" --enable-debug |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_gcc
linpc1:/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-456-g2b744c2-Linux.x86_64.64_gcc # make |& tee log.make.$SYSTEM_ENV.$MACHINE_ENV.64_gcc linpc1:/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-456-g2b744c2-Linux.x86_64.64_gcc # tail -15 log.make.Linux.x86_64.64_gcc CC src/class/pmix_pointer_array.lo CC src/class/pmix_hash_table.lo CC src/include/pmix_globals.lo In file included from ../../../../../../openmpi-v2.x-dev-456-g2b744c2/opal/mca/pmix/pmix1xx/pmix/src/include/pmix_globals.c:19:0: /export2/src/openmpi-2.0.0/openmpi-v2.x-dev-456-g2b744c2/opal/mca/pmix/pmix1xx/pmix/include/private/types.h:43:27: fatal error: opal/mca/event/libevent2022/libevent2022.h: No such file or directory compilation terminated. make[4]: *** [src/include/pmix_globals.lo] Error 1 make[4]: Leaving directory `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-456-g2b744c2-Linux.x86_64.64_gcc/opal/mca/pmix/pmix1xx/pmix' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-456-g2b744c2-Linux.x86_64.64_gcc/opal/mca/pmix/pmix1xx/pmix' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-456-g2b744c2-Linux.x86_64.64_gcc/opal/mca/pmix/pmix1xx' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-456-g2b744c2-Linux.x86_64.64_gcc/opal' make: *** [all-recursive] Error 1 linpc1:/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-456-g2b744c2-Linux.x86_64.64_gcc # exit exit linpc1 openmpi-2.0.0 164 Kind regards Siegmar
Cheers, Gilles On 10/7/2015 4:42 PM, Siegmar Gross wrote:Hi, I tried to build openmpi-v2.x-dev-415-g5c9b192 and openmpi-dev-2696-gd579a07 on my machines (Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE Linux 12.1 x86_64) with gcc-5.1.0 and Sun C 5.13. I got the following error on all platforms with gcc and with Sun C only on my Linux machine. I've already reported the problem September 8th for the master trunk (at that time I didn't have the problem for the v2.x trunk. I use the following configure command. ../openmpi-dev-2696-gd579a07/configure \ --prefix=/usr/local/openmpi-master_64_gcc \ --libdir=/usr/local/openmpi-master_64_gcc/lib64 \ --with-jdk-bindir=/usr/local/jdk1.8.0/bin \ --with-jdk-headers=/usr/local/jdk1.8.0/include \ JAVA_HOME=/usr/local/jdk1.8.0 \ LDFLAGS="-m64" CC="gcc" CXX="g++" FC="gfortran" \ CFLAGS="-m64" CXXFLAGS="-m64" FCFLAGS="-m64" \ CPP="cpp" CXXCPP="cpp" \ CPPFLAGS="" CXXCPPFLAGS="" \ --enable-mpi-cxx \ --enable-cxx-exceptions \ --enable-mpi-java \ --enable-heterogeneous \ --enable-mpi-thread-multiple \ --with-hwloc=internal \ --without-verbs \ --with-wrapper-cflags="-std=c11 -m64" \ --with-wrapper-cxxflags="-m64" \ --with-wrapper-fcflags="-m64" \ --enable-debug \ |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_gcc openmpi-v2.x-dev-415-g5c9b192: ============================== linpc1 openmpi-v2.x-dev-415-g5c9b192-Linux.x86_64.64_gcc 135 tail -15 log.make.Linux.x86_64.64_gcc CC src/class/pmix_pointer_array.lo CC src/class/pmix_hash_table.lo CC src/include/pmix_globals.lo In file included from ../../../../../../openmpi-v2.x-dev-415-g5c9b192/opal/mca/pmix/pmix1xx/pmix/src/include/pmix_globals.c:19:0: /export2/src/openmpi-2.0.0/openmpi-v2.x-dev-415-g5c9b192/opal/mca/pmix/pmix1xx/pmix/include/private/types.h:43:27: fatal error: opal/mca/event/libevent2022/libevent2022.h: No such file or directory compilation terminated. make[4]: *** [src/include/pmix_globals.lo] Error 1 make[4]: Leaving directory `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-415-g5c9b192-Linux.x86_64.64_gcc/opal/mca/pmix/pmix1xx/pmix' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-415-g5c9b192-Linux.x86_64.64_gcc/opal/mca/pmix/pmix1xx/pmix' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-415-g5c9b192-Linux.x86_64.64_gcc/opal/mca/pmix/pmix1xx' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-415-g5c9b192-Linux.x86_64.64_gcc/opal' make: *** [all-recursive] Error 1 linpc1 openmpi-v2.x-dev-415-g5c9b192-Linux.x86_64.64_gcc 135 openmpi-dev-2696-gd579a07: ========================== linpc1 openmpi-dev-2696-gd579a07-Linux.x86_64.64_gcc 158 tail -15 log.make.Linux.x86_64.64_gcc CC src/class/pmix_pointer_array.lo CC src/class/pmix_hash_table.lo CC src/include/pmix_globals.lo In file included from ../../../../../../openmpi-dev-2696-gd579a07/opal/mca/pmix/pmix1xx/pmix/src/include/pmix_globals.c:19:0: /export2/src/openmpi-master/openmpi-dev-2696-gd579a07/opal/mca/pmix/pmix1xx/pmix/include/private/types.h:43:27: fatal error: opal/mca/event/libevent2022/libevent2022.h: No such file or directory compilation terminated. make[4]: *** [src/include/pmix_globals.lo] Error 1 make[4]: Leaving directory `/export2/src/openmpi-master/openmpi-dev-2696-gd579a07-Linux.x86_64.64_gcc/opal/mca/pmix/pmix1xx/pmix' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/export2/src/openmpi-master/openmpi-dev-2696-gd579a07-Linux.x86_64.64_gcc/opal/mca/pmix/pmix1xx/pmix' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export2/src/openmpi-master/openmpi-dev-2696-gd579a07-Linux.x86_64.64_gcc/opal/mca/pmix/pmix1xx' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export2/src/openmpi-master/openmpi-dev-2696-gd579a07-Linux.x86_64.64_gcc/opal' make: *** [all-recursive] Error 1 linpc1 openmpi-dev-2696-gd579a07-Linux.x86_64.64_gcc 159 I would be grateful if somebody can fix the problem. Thank you very much for any help in advance. Kind regards Siegmar _______________________________________________ users mailing list us...@open-mpi.org Subscription:http://www.open-mpi.org/mailman/listinfo.cgi/users Link to this post:http://www.open-mpi.org/community/lists/users/2015/10/27826.php_______________________________________________ users mailing list us...@open-mpi.org Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users Link to this post: http://www.open-mpi.org/community/lists/users/2015/10/27866.php
smime.p7s
Description: S/MIME Cryptographic Signature