Skip to content

ljdursi/coarray-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coarray Fortran Examples

Simple Coarray Fortran examples for teaching.

Using gfortran 5.1, mpich3, and the OpenCoarrays MPI backend, one compiles and runs these programs as follows:

mpifort diffusion/diffusion-coarray.f90 -fcoarray=lib -o diffusion/diffusion-coarray -L ${PATH_TO_OPENCOARRAY_LIB} -lcaf_mpi
mpirun -np 8 diffusion/diffusion-coarray 

A Makefile is provided which you can edit to include the relevant paths.

If you don't have gcc 5.1 and opencoarrays installed, you can use the available vagrant VM; documentation for downloading the vagrant VM or building it can be found in the vm directory

About

Simple coarray examples for teaching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published