Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] [OMPI svn-full] svn:open-mpi r17983
From: George Bosilca (bosilca_at_[hidden])
Date: 2008-03-27 10:58:13


Well, technically speaking Interix it's not ... 100% Microsoft, even
if now it's somehow integrated in Windows. It does not support the
standard Windows environment (such as windows.h) nor the compilers. It
come with gcc (3.3), and most of the Unix tools.

   george.

On Mar 27, 2008, at 6:13 AM, Jeff Squyres wrote:
> Gotcha. Should this stuff go in ompi/config/ompi_microsoft.m4?
>
> (I don't really care; I just already see a Microsoft file, so I
> figured I'd ask the question)
>
>
> On Mar 26, 2008, at 9:54 PM, George Bosilca wrote:
>> Interix or SUA or SFU is the POSIX layer integrated with the latest
>> versions of Windows (such as Vista, and Server 2003). It provide
>> fork,
>> rsh basically most of the tools we need.
>>
>> george.
>>
>> Jeff Squyres wrote:
>>> What's Interix?
>>>
>>> On Mar 26, 2008, at 7:20 PM, bosilca_at_[hidden] wrote:
>>>
>>>> Author: bosilca
>>>> Date: 2008-03-26 19:20:33 EDT (Wed, 26 Mar 2008)
>>>> New Revision: 17983
>>>> URL: https://svn.open-mpi.org/trac/ompi/changeset/17983
>>>>
>>>> Log:
>>>> Add support for Interix.
>>>>
>>>> Added:
>>>> trunk/config/ompi_interix.m4 (contents, props changed)
>>>> Text files modified:
>>>> trunk/acinclude.m4 | 1 +
>>>> trunk/configure.ac | 3 +++
>>>> 2 files changed, 4 insertions(+), 0 deletions(-)
>>>>
>>>> Modified: trunk/acinclude.m4
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> ===================================================================
>>>> --- trunk/acinclude.m4 (original)
>>>> +++ trunk/acinclude.m4 2008-03-26 19:20:33 EDT (Wed, 26 Mar 2008)
>>>> @@ -108,6 +108,7 @@
>>>> # Include the macros for Windows checking
>>>> #
>>>> m4_include(config/ompi_microsoft.m4)
>>>> +m4_include(config/ompi_interix.m4)
>>>>
>>>> #
>>>> # The config/mca_no_configure_components.m4 file is generated by
>>>>
>>>> Added: trunk/config/ompi_interix.m4
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> ===================================================================
>>>> --- (empty file)
>>>> +++ trunk/config/ompi_interix.m4 2008-03-26 19:20:33 EDT (Wed, 26
>>>> Mar 2008)
>>>> @@ -0,0 +1,56 @@
>>>> +dnl -*- shell-script -*-
>>>> +dnl
>>>> +dnl Copyright (c) 2008 The University of Tennessee and The
>>>> University
>>>> +dnl of Tennessee Research Foundation. All
>>>> rights
>>>> +dnl reserved.
>>>> +dnl $COPYRIGHT$
>>>> +dnl
>>>> +dnl Additional copyrights may follow
>>>> +dnl
>>>> +dnl $HEADER$
>>>> +dnl
>>>> +
>>>> +
>>>> ######################################################################
>>>> +#
>>>> +# OMPI_INTERIX
>>>> +#
>>>> +# Detect if the environment is SUA/SFU (i.e. Interix) and modify
>>>> +# the compiling environment accordingly.
>>>> +#
>>>> +# USAGE:
>>>> +# OMPI_INTERIX()
>>>> +#
>>>> +
>>>> ######################################################################
>>>> +AC_DEFUN([OMPI_INTERIX],[
>>>> +
>>>> + AC_MSG_CHECKING(for Interix environment)
>>>> + AC_TRY_COMPILE([],
>>>> + [#if !defined(__INTERIX)
>>>> + #error Normal Unix environment
>>>> + #endif],
>>>> + is_interix=yes,
>>>> + is_interix=no)
>>>> + AC_MSG_RESULT([$is_interix])
>>>> + if test "$is_interix" = "yes"; then
>>>> +
>>>> + ompi_show_subtitle "Interix detection"
>>>> +
>>>> + if ! test -d /usr/include/port; then
>>>> + AC_MSG_WARN([Compiling Open MPI under Interix require
>>>> an up-to-date])
>>>> + AC_MSG_WARN([version of libport. Please ask your
>>>> system
>>>> administrator])
>>>> + AC_MSG_WARN([to install it (pkg_update -L libport).])
>>>> + AC_MSG_ERROR([*** Cannot continue])
>>>> + fi
>>>> + #
>>>> + # These are the minimum requirements for Interix ...
>>>> + #
>>>> + AC_MSG_WARN([ -lport was added to the linking flags])
>>>> + LDFLAGS="-lport $LDFLAGS"
>>>> + AC_MSG_WARN([ -D_ALL_SOURCE -D_USE_LIBPORT was added to
>>>> the compilation flags])
>>>> + CFLAGS="-D_ALL_SOURCE -D_USE_LIBPORT -I/usr/include/port
>>>> $CFLAGS"
>>>> + CPPFLAGS="-D_ALL_SOURCE -D_USE_LIBPORT -I/usr/include/port
>>>> $CPPFLAGS"
>>>> + CXXFLAGS="-D_ALL_SOURCE -D_USE_LIBPORT -I/usr/include/port
>>>> $CXXFLAGS"
>>>> +
>>>> + fi
>>>> +
>>>> +])
>>>>
>>>> Modified: trunk/configure.ac
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> =
>>>> ===================================================================
>>>> --- trunk/configure.ac (original)
>>>> +++ trunk/configure.ac 2008-03-26 19:20:33 EDT (Wed, 26 Mar 2008)
>>>> @@ -192,6 +192,9 @@
>>>> AM_CONDITIONAL(OMPI_NEED_WINDOWS_REPLACEMENTS,
>>>> test "$ompi_cv_c_compiler_vendor" = "microsoft" )
>>>>
>>>> +# Do all Interix detections if necessary
>>>> +OMPI_INTERIX
>>>> +
>>>> # Does the compiler support "ident"-like constructs?
>>>>
>>>> OMPI_CHECK_IDENT([CC], [CFLAGS], [c], [C])
>>>> _______________________________________________
>>>> svn-full mailing list
>>>> svn-full_at_[hidden]
>>>> http://www.open-mpi.org/mailman/listinfo.cgi/svn-full
>>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> devel mailing list
>> devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
>
> --
> Jeff Squyres
> Cisco Systems
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel



  • application/pkcs7-signature attachment: smime.p7s