Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 699 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 699 Bytes

fpm Usage

This repository includes limited fpm support as a secondary build path. The fpm build is staged because fpm does not run fypp preprocessing directly.

MPI build

cd fpm
./generate_fpm_src.py --backend mpi
cd fpm-src
fpm build --compiler mpifort --profile release

Use the MPI compiler wrapper that matches the MPI installation you want to use.

CAF build

cd fpm
./generate_fpm_src.py --backend caf
cd fpm-src
fpm build --compiler caf --profile release

For compilers that require explicit coarray flags instead of the OpenCoarrays caf wrapper, pass them through fpm:

fpm build --profile release --flag -coarray --link-flag -coarray