X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=nWIpifszzESzwR3/9DIto4EqSa20JMhT8nSRU/Fmno3
	NlTWam/MRU/kepSWa7VNCTiklPzabzM9cj+yhWWVM1rh503UCIHVxUyLdXx+Skub
	i6RXL2bEGuw6mnaOcDK3dKUtbMrrJ/5ULRH4Y7qkRYIwyj+sF3GFOm1Jta1YXQXI
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=GRjSf6HX3FXMyRT9mzMo8LJj3TM=; b=lPSejW5/QR0tDotzx
	HoRIIHdZXl4D4ibo7uTsFkRH9nLBlCs3BqvNAIlVfFjXDQDEVu7GepiNsouSo1lQ
	SpA10hsE3D0uO9+NKIil2kBJrwAgyBgJOasDSCxMeb89d6z1syiawbjBqfH6eS7J
	/PbTcIeDqoyG7N18dOlTSf13nY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f41.google.com
X-Received: by 10.194.89.168 with SMTP id bp8mr15675049wjb.73.1403768157685;        Thu, 26 Jun 2014 00:35:57 -0700 (PDT)
Message-ID: <53ABCD5B.8000307@gmail.com>
Date: Thu, 26 Jun 2014 09:35:55 +0200
From: Marco Atzeri <marco.atzeri@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Install OpenMPI in cygwin
References: <52BC7C12-900B-44B8-A53A-AD6DC7E3942C@ucla.edu>
In-Reply-To: <52BC7C12-900B-44B8-A53A-AD6DC7E3942C@ucla.edu>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 26/06/2014 06:53, Yue Guan wrote:
> Hi,
> I’m a student in UCLA. I want to infall OpenMPI on Cygwin64. Do you have a tutorial webpage for that?
> Thank you.
> Look forward to your reply.
>
> Best wishes,
> Yue Guan
>

Hi Yue,
nothing special on cygwin64 compared to other "Unix"

Use cygwin setup-x86_64.exe and install the openmpi packages you
need. At least:

libopenmpi           C library
libopenmpi-devel     devel library and header
           (you need this to develop and program with openmpi)
openmpi              utility and compiler interface
           (you need this to compile and run the programs)

additional there are

libopenmpicxx1       C++ library
libopenmpifh2        Fortran Library
libopenmpiuse1       Fortran use Library
     (Fortran is deprecated in the next release of MPI 3)

After installation, you can test openmpi
using the examples available here:

https://svn.open-mpi.org/source/xref/ompi_1.8/examples/

$ mpicc -o hello_c hello_c.c

$ mpirun -np 4 ./hello_c
Hello, world, I am 0 of 4, (Open MPI v1.7.5, ...)
Hello, world, I am 2 of 4, (Open MPI v1.7.5, ...)
Hello, world, I am 3 of 4, (Open MPI v1.7.5, ...)
Hello, world, I am 1 of 4, (Open MPI v1.7.5, ...)


Regards
Marco




--
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

