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:to:from:subject:message-id:date:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=NII
	5kE0lcMgvx1XiynUFY+rSKMZBAzynpkKD/GmsLhdaCQUlu0VARl0M1aepME9YuVD
	x5wAEGCA6JCCfq7A98HNCQVxysO+UvfcP+DUuCl4xVTc5uKgQ5Pfj/xmITWy6WUY
	mgIhe85q1DKZ4yAbDfYsMkhUc5fDgJadjwg5vwGc=
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:to:from:subject:message-id:date:mime-version
	:content-type:content-transfer-encoding; s=default; bh=z4y1bkul1
	0z98rk8CE0qKVIjta4=; b=jfEkivmE0DDXoNyVgew57NyMyAGh3H0N3kLqKR1wp
	7HVoj0AS3Ad8sIQ5qqlT3tTf7hDTHiuDgjgca7z/byvfdW3IlAqFS+jTwNou9/2A
	xGnt1nnaOUI/puwjk72AbulTd61L7jYYQ9Xi8UbIATYF+uQ6qaAlntVCfUYz20xf
	uM=
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.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=complied, f90, Hx-languages-length:836, serious
X-HELO: mail-pg0-f44.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:to:from:subject:message-id:date:user-agent         :mime-version:content-transfer-encoding;        bh=6AVlFyCheAEMtPtiF/aP7zQQJ1K0b0kqvaW8NqXmVbk=;        b=Nk01TQQtOoLi7NuJq8pf2l8cAE3OzQ6wLUaA5qZFnJ+ubL/jn8WBUjCuYf8AtR4nsZ         PB0Jrc4UpUS7lvXcXRy+czFJiwCnqq1pj4QWzFNJVPxP88xaAy0j1tn0x3fKRmF84S+p         4GS1cl3ICOYmkkBaIoRNOYz+0S2bFyWguXSpQrBDF3gQ41k7QSMZL/n2QxZ3aMRQf9uo         jhYJEMymW2KciwQLQD+MbqtbFEWvL3R5ujjixP3rTU/LX8taVZcxaeosLRoi7sbcnlJ2         0OMkT8cdh81bKpdnL2imbxAgMwfG+YIWq4GwtVZhKMdvdnASRLPmFoaeY/mC3K0m3ID7         bVog==
X-Gm-Message-State: AIkVDXLuc1No6rwRfDqKXPblNvaddDWuGqsYyUm1AS5JAQcaceoc4bNa4UvPELtAfqSziA==
X-Received: by 10.84.164.231 with SMTP id l36mr11918225plg.33.1484818539162;        Thu, 19 Jan 2017 01:35:39 -0800 (PST)
To: cygwin <cygwin@cygwin.com>
From: David Billinghurst <dbcygwin@gmail.com>
Subject: Success with coarrays and gfortran
Message-ID: <bc0ff105-0d48-aeed-63bc-b42a34a704b2@gmail.com>
Date: Thu, 19 Jan 2017 20:35:36 +1100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

I am pleased to report that I have successfully compiled 
OpenCoarrays-1.8.0 under cygwin and used it to build parallel coarray 
Fortran code using gfortran.  I have compiled and run a few toy cases, 
but nothing serious yet.

Steps taken were:

install openmpi, libopenmpi-devel, libopenmpifh12, libopenmpiusef08_11, 
gfortran

download OpenCoarrays-1.8.0.tar.gz from 
https://github.com/sourceryinstitute/opencoarrays/releases
tar xf  OpenCoarrays-1.8.0.tar.gz
cd OpenCoarrays-1.8.0
mkdir build
cd build

At this point I tried to build using install.sh but this failed. I 
didn't investigate.
I then fell back to the procedure documented in INSTALL.md

CC=gcc FC=gfortran cmake
make
ctest
install

All the tests pass.  f90 applications are complied using the 'caf' 
script and run using the 'cafrun' script.




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

