Skip to content

modern-fortran/listings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

listings

Build Status GitHub issues

Code listings for Modern Fortran: Building Efficient Parallel Applications.

Getting started

To build and run the examples on your local machine, get the code using git:

git clone https://github.com/modern-fortran/listings
cd listings
make -k

-k : continue to make even if one command fails (for those that don't have caf compiler wrapper, for example).

or, you can select to make particular programs by:

make array_copy_mpi

Linux

Get the mpif90 compiler wrapper on Ubuntu ≥ 12.04:

apt install libopenmpi-dev openmpi-bin gfortran 

Get the caf compiler wrapper on Ubuntu ≥ 17.04:

apt install open-coarrays-bin

Mac

brew install gcc open-mpi

Run

mpirun -n 2 ./array_copy_mpi

Problems?

See the list of already open issues. If you can't find your issue, open a new issue.

Acknowledgements

Big thank you to contributors:

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •