Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Fwd: Problems installing in Cygwin
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2008-10-31 16:33:37

On Oct 31, 2008, at 3:20 PM, Gustavo Seabra wrote:

>> As Jeff mentioned this component is not required on Windows. You
>> can disable
>> it completely in Open MPI and everything will continue to work
>> correctly.
>> Please add --enable-mca-no-build=memory_mallopt o maybe the more
>> generic (as
>> there is no need for any memory manager on Windows
>> --enable-mca-no-build=memory.
> Tried, doesn't quite work:
> If I configure with "--enable-mca-no-build=memory", the config dies
> with:
> *** Final output
> configure: error: conditional "OMPI_WANT_EXTERNAL_PTMALLOC2" was
> never defined.
> Usually this means the macro was only invoked conditionally.

Ew, yoinks. That's definitely a bug -- looks like we used an
AM_CONDITIONAL inside the main configure.m4 for ptmalloc2; whoops (it
needs to be inside MCA_memory_ptmalloc2_POST_CONFIG, not
MCA_memory_ptmalloc2_CONFIG). You're building up quite the bug list
-- thanks for your patience! It's probably unfortunately not that
surprising, though, since we don't test on Cygwin at all... :-\

> Now, if i try with "--enable-mca-no-build=memory_mallopt", the
> configuration script runs just fine, but the compilation dies when
> compiling "mca/paffinity/windows":
> libtool: compile: gcc -DHAVE_CONFIG_H -I.
> -I../../../../opal/include -I../../../../orte/include -I../../../..
> /ompi/include
> -I../../../../opal/mca/paffinity/linux/plpa/src/libplpa -I../../../..
> -DNDEBUG -finline-functions -fno-strict-aliasing -MT
> paffinity_windows_module.lo -MD -MP -MF
> .deps/paffinity_windows_module.Tpo -c paffinity_windows_module.c
> .libs/paffinity_windows_module.o
> paffinity_windows_module.c:44: error: parse error before "sys_info"
> [... and then a bunch of messages after that, all related to
> paffinity_windows_module.c, which...]
> [... I think are all related to this first one...]

I do the build system stuff in OMPI, but this part is all George /
Windows guys... Perhaps this is a difference compiling between
"normal" windows and Cygwin...?

Jeff Squyres
Cisco Systems