delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/06/13:57:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <24851301.post@talk.nabble.com>
Date: Thu, 6 Aug 2009 10:57:01 -0700 (PDT)
From: ProTonS <jorgeferrera23 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin (winxp) + mpich2 + msvc++
In-Reply-To: <4A7AF50C.3060302@cygwin.com>
MIME-Version: 1.0
References: <24846867 DOT post AT talk DOT nabble DOT com> <4A7AF50C DOT 3060302 AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com



Thanks for your time, Larry Hall. I will try to look in some mpi foruns
about it.

Bye bye.


Larry Hall (Cygwin) wrote:
>=20
> On 08/06/2009 09:43 AM, ProTonS wrote:
>>
>> Hello everybody. I have a problem here.
>>
>> Well, I need compile a mpi interface, and I must do it with cygwin and
>> msvc2008. Well I have already compiled and installed mpich2 with a make
>> and
>> make install. Now I have a mpi_interface here, I didn=C2=B4t develop it,=
 I
>> just
>> need compile it. My first error was:
>> unrecognized option '-GR' c++: unrecognized option '-EHsc' c++:
>> unrecognized option '-Zm200' c++: unrecognized option '-nologo' c++:
>>
>> Because I didnt have adjusted the makefile, one flag was CXX :=3D mpicxx=
 I
>> just changed it to CXX :=3D cl, to use msvc, ok? After that I received
>> another
>> error, the system cant find pthread.h. I searched on net and find a
>> library
>> to it,pth-2.0.7, and I have already installed it. Now I receiving another
>> error :/ The system cant find sys/time.h I searched in the msvc dir and I
>> just find timeb.h and utime.h I need the sys/time.h library I think.
>> Where
>> can I find it? And... I making the right process? changing the flag and
>> everything more?
>=20
> Since you're using 'cl' and MPL, neither of which is part of Cygwin, this
> questions seems off-topic for this list to me.  That said, if I look at
> the
> mpicxx man page, it says:
>=20
>    mpicxx is a convenience wrappers for the underlying C++ compiler.
>    Translation of an Open MPI program requires the linkage of the Open
>    MPI-specific libraries which may not reside in one of the standard
> search
>    directories of ld(1). It also often requires the inclusion of header
>    files what may also not be found in a standard location.
>=20
>    mpicxx passes its arguments to the underlying C++ compiler along with
> the
>    -I, -L and -l options required by Open MPI programs.
>=20
>=20
>    The Open MPI Team strongly encourages using the wrapper compilers
> instead
>    of attempting to link to the Open MPI libraries manually. This allows
> the
>    specific implementation of Open MPI to change without forcing changes
> to
>    linker directives in users' Makefiles. Indeed, the specific set of
> flags
>    and libraries used by the wrapper compilers depends on how Open MPI was
>    configured and built; the values can change between different
>    installations of the same version of Open MPI.
>=20
>    Indeed, since the wrappers are simply thin shells on top of an
> underlying
>    compiler, there are very, very few compelling reasons not to use
> mpicxx.
>=20
> So my interpretation of that makes me think the direction you took of
> overriding CXX is wrong.  But MPI forums and documentation would be your
> best source of information on this subject in my opinion.
>=20
>=20
> --=20
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 216 Dalton Rd.                          (508) 893-9889 - FAX
> Holliston, MA 01746
>=20
> _____________________________________________________________________
>=20
> A: Yes.
>  > Q: Are you sure?
>  >> A: Because it reverses the logical flow of conversation.
>  >>> Q: Why is top posting annoying in email?
>=20
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>=20
>=20
>=20

--=20
View this message in context: http://www.nabble.com/cygwin-%28winxp%29-%2B-=
mpich2-%2B-msvc%2B%2B-tp24846867p24851301.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019