public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Install OpenMPI in cygwin
@ 2014-06-26  4:53 Yue Guan
  2014-06-26  7:36 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Yue Guan @ 2014-06-26  4:53 UTC (permalink / raw)
  To: cygwin

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


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Install OpenMPI in cygwin
  2014-06-26  4:53 Install OpenMPI in cygwin Yue Guan
@ 2014-06-26  7:36 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2014-06-26  7:36 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-26  7:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-26  4:53 Install OpenMPI in cygwin Yue Guan
2014-06-26  7:36 ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).