Code listings for Modern Fortran: Building Efficient Parallel Applications.
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
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
brew install gcc open-mpi
mpirun -n 2 ./array_copy_mpi
See the list of already open issues. If you can't find your issue, open a new issue.
Big thank you to contributors: