[patch, contrib] Add support to install libcaf-mpi for multi-image coarray Fortran

Jerry DeLisle jvdelisle@charter.net
Thu Feb 16 06:21:00 GMT 2017


The attached patch adds a new subdirectory called mk-libcaf-multi under contrib 
which contains scripts which will download OpenCoarrays, build libcaf-mpi.a, and 
install it in the user provided --install-prefix.

As given the script is only manually executed by a user interested in doing so.

Eventually we would like to fully integrate the build of libcaf-mpi into gcc to 
provide full multi-image support for gfortran.  These scripts provide an 
intermediate means of doing so, bringing gfortran pretty close to full Fortran 
2008 and 2015 standards.

Providing this will greatly expand user testing and development of gfortran 
based CoArray Fortran (CAF) and simplify for users enabling this modern feature.

Tested on linux-x86-64 (Fedora 25) and MAC Darwin. Requires the user to 
previously have installed  mpich for the mpi library. The build uses cmake and 
bash 3 scripts to enable a lot of useful argument checking and diagnostics.

For those not familiar with Coarrays in Fortran and want or need to explore 
these advanced features, using this script is a very helful way to get started.

Others may chime in with comments or questions.

OK for trunk?

Regards,

Jerry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cafsubmit.diff
Type: text/x-patch
Size: 31860 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170216/1f5cd488/attachment.bin>


More information about the Fortran mailing list