Hi,
I know that you don't try to port Open Mpi to Cygwin at the moment but
perhaps you can give me a hint how to proceed. I tried to build
openmpi-1.5.1rc1 on Cygwin 1.5.25 with gcc-4 with the following options.
../openmpi-1.5.1rc1r24104/configure --prefix=/usr/local/openmpi-1.5.1-gcc-4
CC=gcc-4 CPP=cpp-4 CXX=g++-4 CXXCPP=cpp-4 F77=gfortran-4 FC=gfortran-4
CFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 FCFLAGS=-m32 CXXLDFLAGS=-m32
LDFLAGS=-m32 CPPFLAGS= C_INCL_PATH= C_INCLUDE_PATH= CPLUS_INCLUDE_PATH=
OBJC_INCLUDE_PATH= MPIHOME= --without-udapl --without-openib
--without-cs-fs --enable-mpi-f90 --with-mpi-f90-size=small
--enable-heterogeneous --enable-cxx-exceptions --enable-shared
--enable-orterun-prefix-by-default --with-threads=posix
--enable-mpi-threads --disable-progress-threads --disable-vt
"--disable-vt" was necessary to avoid some errors. I got the following
output in config.log.
## --------- ##
## Platform. ##
## --------- ##
hostname = eiger
uname -m = i686
uname -r = 1.5.25(0.156/4/2)
uname -s = CYGWIN_NT-5.1
uname -v = 2008-06-12 19:34
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
...
My configure-log-file contains the following two lines:
checking for architecture... i686
configure: WARNING: Unknown architecture ... proceeding anyway
In my opinion all other warnings in that file are unimportant because
I get them on Solaris and Linux as well. "make" breaks with some errors.
eiger openmpi-1.5.1-Cygwin.x86_gcc-4 56 grep -i error
log.make.Cygwin.x86_gcc-4 | more
...
CC error.lo
.../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error:
'HKEY' undeclared (first use in this function)
.../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error:
(Each undeclared identifier is reported only once
.../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error:
for each function it appears in.)
.../opal/mca/installdirs/windows/opal_installdirs_windows.c:72: error:
expected ';' before 'ompi_key'
.../opal/mca/installdirs/windows/opal_installdirs_windows.c:82: error:
'ERROR_SUCCESS' undeclared (first use in this function)
.../opal/mca/installdirs/windows/opal_installdirs_windows.c:82: error:
'HKEY_LOCAL_MACHINE' undeclared (first use in this function)
...
"opal_installdirs_windows.c" needs some header files which are not
available.
eiger openmpi-1.5.1-Cygwin.x86_gcc-4 79 find . -name constants.h
eiger openmpi-1.5.1-Cygwin.x86_gcc-4 80 find . -name installdirs.h
eiger openmpi-1.5.1-Cygwin.x86_gcc-4 81 find . -name opal_config.h
./opal/include/opal_config.h
What can I do, that the first two files will be created? Are they
necessary for Cygwin or is it only windows stuff? How can I avoid
the windows-subtree in Cygwin if it is not necessary? Thank you very
much for any help in advance.
Kind regards
Siegmar
|