This is strange. I just ran the exact command you gave, and it worked just fine. However, I do notice one potential, unrelated problem. You set $F90, but $F90 is not used. The variable you want is $FC. Similarly CCFLAGS should be CXXFLAGS. Also, I don't believe any of the *LINKER variables have any impact. See the end of the output from ./configure --help for all the environment variables.

My suggestion would be to remove the build tree, and start over again. It is possible that there is something laying around that is screwing up the build.

Tim

On Feb 20, 2007, at 2:20 PM, Arif Ali wrote:

Tim Prins wrote:
Hi Arif,

This is a problem with libtool and the IBM compilers and shared libraries. The easiest thing to do is to build static libraries instead by passing "--disable-shared --enable-static" to configure.

I am currently unaware of any workarounds to make compiling shared libraries work with the IBM compilers.

Hope this helps,

Ok, overcoming that, it fails with many errors, with 1.2b3/4, i'll post the details later

with 1.1.4 I get a lot further and can't get past the following statemement, any ideas? I have tried deleting the backslashes (\), I have tried (\) before all the spaces, but still no luck. I have also tried taking the two variables for the date out, and still get " input file " not found". after taking all the escape characters out \" it works. Any way to avoid this?


xlC_64 -DHAVE_CONFIG_H -I. -I../../../../openmpi-1.1.4/ompi/tools/ ompi_info -I../../../opal/include -I../../../orte/include - I../../../ompi/include -I../../../ompi/include - DOMPI_CONFIGURE_USER="\"root\"" -DOMPI_CONFIGURE_HOST="\"cseppc01 \"" -DOMPI_CONFIGURE_DATE="\"Tue Feb 20 18:46:58 GMT 2007\"" - DOMPI_BUILD_USER="\"$USER\"" -DOMPI_BUILD_HOST="\"`hostname`\"" - DOMPI_BUILD_DATE="\"`date`\"" -DOMPI_BUILD_CFLAGS="\"-DNDEBUG -O3 \"" -DOMPI_BUILD_CPPFLAGS="\"-I../../../../openmpi-1.1.4 -I../../.. -I../../../../openmpi-1.1.4/opal/include -I../../../../ openmpi-1.1.4/orte/include -I../../../../openmpi-1.1.4/ompi/ include \"" -DOMPI_BUILD_CXXFLAGS="\"-O -DNDEBUG \"" - DOMPI_BUILD_CXXCPPFLAGS="\"-I../../../../openmpi-1.1.4 -I../../.. - I../../../../openmpi-1.1.4/opal/include -I../../../../openmpi-1.1.4/ orte/include -I../../../../openmpi-1.1.4/ompi/include \"" - DOMPI_BUILD_FFLAGS="\"-O3\"" -DOMPI_BUILD_FCFLAGS="\"-O3\"" - DOMPI_BUILD_LDFLAGS="\"-export-dynamic -O3 \"" - DOMPI_BUILD_LIBS="\"-lnsl -lutil \"" -DOMPI_CC_ABSOLUTE="\"/usr/ local/bin/xlc_64\"" -DOMPI_CXX_ABSOLUTE="\"/usr/local/bin/xlC_64\"" -DOMPI_F77_ABSOLUTE="\"/usr/local/bin/xlf_64\"" - DOMPI_F90_ABSOLUTE="\"/usr/bin/gfortran\"" - DOMPI_F90_BUILD_SIZE="\"small\"" -I../../../../openmpi-1.1.4 - I../../.. -I../../../../openmpi-1.1.4/opal/include -I../../../../ openmpi-1.1.4/orte/include -I../../../../openmpi-1.1.4/ompi/ include -O -DNDEBUG -c -o ompi_info.o ../../../../openmpi-1.1.4/ ompi/tools/ompi_info/ompi_info.cc
xlC: 1501-228 input file Feb not found
xlC: 1501-228 input file 20 not found
xlC: 1501-228 input file 18:46:58 not found
xlC: 1501-228 input file GMT not found
xlC: 1501-228 input file 2007" not found
xlC: 1501-228 input file Feb not found
xlC: 1501-228 input file 20 not found
xlC: 1501-228 input file 19:01:05 not found
xlC: 1501-228 input file GMT not found
xlC: 1501-228 input file 2007" not found
xlC: 1501-228 input file " not found
xlC: 1501-228 input file " not found
xlC: 1501-228 input file " not found
xlC: 1501-228 input file " not found
xlC: 1501-228 input file " not found
xlC: 1501-228 input file " not found
xlC: 1501-228 input file Feb not found
xlC: 1501-228 input file 20 not found
xlC: 1501-228 input file 18:46:58 not found
xlC: 1501-228 input file GMT not found
xlC: 1501-228 input file 2007" not found
xlC: 1501-228 input file Feb not found
xlC: 1501-228 input file 20 not found
xlC: 1501-228 input file 19:01:05 not found
xlC: 1501-228 input file GMT not found
xlC: 1501-228 input file 2007" not found
xlC: 1501-228 input file " not found
xlC: 1501-228 input file " not found
xlC: 1501-228 input file " not found
xlC: 1501-228 input file " not found
xlC: 1501-228 input file " not found
xlC: 1501-228 input file " not found
"../../../../openmpi-1.1.4/ompi/tools/ompi_info/ompi_info.cc", line 1.21: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/ompi_info.cc", line 1.23: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/ompi_info.cc", line 1.24: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/ompi_info.cc", line 1.25: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/ompi_info.cc", line 1.28: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/ompi_info.cc", line 1.36: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/ompi_info.cc", line 1.49: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/ompi_info.cc", line 1.52: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/components.cc", line 1.21: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/components.cc", line 1.23: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/components.cc", line 1.24: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/components.cc", line 1.25: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/components.cc", line 1.28: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/components.cc", line 1.36: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/components.cc", line 1.49: 1540-0866 (W) A string literal must end before the end of the source line. "../../../../openmpi-1.1.4/ompi/tools/ompi_info/components.cc", line 1.52: 1540-0866 (W) A string literal must end before the end of the source line.
make[2]: *** [ompi_info.o] Error 252
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [components.o] Error 252
make[2]: Leaving directory `/root/ocf/software/openmpi-ofed-xl/ompi/ tools/ompi_info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ocf/software/openmpi-ofed-xl/ompi'
make: *** [all-recursive] Error 1



--
regards,
Arif Ali
Software Engineer
OCF plc

Mobile: +44 (0)7970 148 122
Office: +44 (0)114 257 2200
Fax:    +44 (0)114 257 0022
Email:  a...@ocf.co.uk
Web:    http://www.ocf.co.uk

Skype:  arif_ali80
MSN:    a...@ocf.co.uk

<aali.vcf>

Reply via email to