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../../../..
-D_REENTRANT -O3
 -DNDEBUG -finline-functions -fno-strict-aliasing -MT
paffinity_windows_module.lo -MD -MP -MF
 .deps/paffinity_windows_module.Tpo -c paffinity_windows_module.c
-DDLL_EXPORT -DPIC -o
 .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

Reply via email to