Success with coarrays and gfortran

David Billinghurst dbcygwin@gmail.com
Thu Jan 19 09:35:00 GMT 2017


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



More information about the Cygwin mailing list