Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.46 KB

README.md

File metadata and controls

58 lines (41 loc) · 1.46 KB

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: