delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/06/26/03:36:22

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
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 DOT atzeri AT gmail DOT 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 AT cygwin DOT com
Subject: Re: Install OpenMPI in cygwin
References: <52BC7C12-900B-44B8-A53A-AD6DC7E3942C AT ucla DOT edu>
In-Reply-To: <52BC7C12-900B-44B8-A53A-AD6DC7E3942C@ucla.edu>
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

- Raw text -


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