> I wonder if the error below be due to crap being left over in the > source tree. Can you do a "make clean". Note on a new checkout from > the v1.5 svn branch I was able to build 64 bit with the following > configure line:
linpc4 openmpi-1.5-Linux.x86_64.32_cc 123 make clean Making clean in test make[1]: Entering directory ... ../openmpi-1.5/configure \ FC=f95 F77=f77 CC=cc CXX=CC --without-openib --without-udapl \ --enable-heterogeneous --enable-cxx-exceptions --enable-shared \ --enable-orterun-prefix-by-default --with-sge --disable-mpi-threads \ --enable-mpi-f90 --with-mpi-f90-size=small --disable-progress-threads \ --prefix=/usr/local/openmpi-1.5_32_cc CFLAGS=-m64 CXXFLAGS=-m64 \ FFLAGS=-m64 FCFLAGS=-m64 make |& tee log.make.$SYSTEM_ENV.$MACHINE_ENV.32_cc ... make[3]: Leaving directory `/export2/src/openmpi-1.5/openmpi-1.5-Linux.x86_64.32_cc/opal/libltdl' make[2]: Leaving directory `/export2/src/openmpi-1.5/openmpi-1.5-Linux.x86_64.32_cc/opal/libltdl' Making all in asm make[2]: Entering directory `/export2/src/openmpi-1.5/openmpi-1.5-Linux.x86_64.32_cc/opal/asm' CC asm.lo rm -f atomic-asm.S ln -s ".../opal/asm/generated/atomic-ia32-linux-nongas.s" atomic-asm.S CPPAS atomic-asm.lo cc1: error: unrecognized command line option "-fno-directives-only" cc: cpp failed for atomic-asm.S make[2]: *** [atomic-asm.lo] Error 1 make[2]: Leaving directory `.../opal/asm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/.../opal' make: *** [all-recursive] Error 1 Do you know where I can find "-fno-directives-only"? "grep" didn't show any results. I tried to rebuild the package with my original settings and didn't succeed (same error as above) so that something must have changed in the last two days on "linpc4". The operator told me that he hasn't changed anything, so I have no idea why I cannot build the package today. The log-files from "configure" are identical, but the log-files from "make" differ (I changed the language with "setenv LC_ALL C" because I have some errors on other machines as well and wanted english messages so that you can read them). tyr openmpi-1.5 198 diff openmpi-1.5-Linux.x86_64.32_cc.old/log.configure.Linux.x86_64.32_cc openmpi-1.5-Linux.x86_64.32_cc/log.configure.Linux.x86_64.32_cc |more tyr openmpi-1.5 199 diff openmpi-1.5-Linux.x86_64.32_cc.old/log.make.Linux.x86_64.32_cc openmpi-1.5-Linux.x86_64.32_cc/log.make.Linux.x86_64.32_cc | more 3c3 < make[1]: Für das Ziel »all« ist nichts zu tun. --- > make[1]: Nothing to be done for `all'. 7c7 < make[1]: Für das Ziel »all« ist nichts zu tun. --- > make[1]: Nothing to be done for `all'. 74,76c74,76 < <Kommandozeile>:19:0: Warnung: »__FLT_EVAL_METHOD__« redefiniert < <eingebaut>:93:0: Anmerkung: dies ist die Stelle der vorherigen Definition < CCLD libasm.la --- > cc1: error: unrecognized command line option "-fno-directives-only" > cc: cpp failed for atomic-asm.S > make[2]: *** [atomic-asm.lo] Error 1 78,426c78 < Making all in datatype < make[2]: Entering directory `/.../opal/datatype' < CC libdatatype_reliable_la-opal_datatype_pack.lo < CC libdatatype_reliable_la-opal_datatype_unpack.lo < CCLD libdatatype_reliable.la < CC opal_convertor.lo ... The difference is that two days ago "__FLT_EVAL_METHOD__" was redefined and today it isn't. Obviously the package cannot be build without that redefinition. ... make[3]: Leaving directory `/.../opal/libltdl' make[2]: Leaving directory `/.../opal/libltdl' Making all in asm make[2]: Entering directory `/.../opal/asm' CC asm.lo rm -f atomic-asm.S ln -s "../../../openmpi-1.5/opal/asm/generated/atomic-ia32-linux-nongas.s" atomic-asm.S CPPAS atomic-asm.lo <Kommandozeile>:19:0: Warnung: »__FLT_EVAL_METHOD__« redefiniert <eingebaut>:93:0: Anmerkung: dies ist die Stelle der vorherigen Definition CCLD libasm.la make[2]: Leaving directory `/.../opal/asm' Making all in datatype make[2]: Entering directory `/.../opal/datatype' CC libdatatype_reliable_la-opal_datatype_pack.lo CC libdatatype_reliable_la-opal_datatype_unpack.lo ... Therefore I removed "setenv LC_ALL C" from my environment and logged in into linpc4 once more. But still no success. The messages are once more in german but "__FLT_EVAL_METHOD__" wasn't redefined. tyr openmpi-1.5 205 diff openmpi-1.5-Linux.x86_64.32_cc.old/log.make.Linux.x86_64.32_cc openmpi-1.5-Linux.x86_64.32_cc/log.make.Linux.x86_64.32_cc | more 74,76c74,76 < <Kommandozeile>:19:0: Warnung: »__FLT_EVAL_METHOD__« redefiniert < <eingebaut>:93:0: Anmerkung: dies ist die Stelle der vorherigen Definition < CCLD libasm.la --- > cc1: Fehler: nicht erkannte Kommandozeilenoption »-fno-directives-only« > cc: cpp failed for atomic-asm.S > make[2]: *** [atomic-asm.lo] Fehler 1 78,426c78 < Making all in datatype < make[2]: Entering directory `/.../opal/datatype' < CC libdatatype_reliable_la-opal_datatype_pack.lo < CC libdatatype_reliable_la-opal_datatype_unpack.lo < CCLD libdatatype_reliable.la ... I have no idea why it happens, but hopefully you know what happens. Kind regards Siegmar