Replies: 1 comment 2 replies
-
The external-modules key has been added with #438, but this is not yet part of a released version, unfortunately. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I came across a discussion on discourse where other users were trying to build an MPI program with fpm. However, the solutions there do not work for me. Namely, having
in my
fpm.toml
file results in the errorKey external-modules is not allowed in [build]
. I guess maybe the issue is that this update hasn't been pushed to release? My conda installation is up to date.The other solution (hacky but would be nice to have these sorts of workarounds) was
but this simply gives the error
Unable to find source for module dependency: "mpi" used by "app/piMC_mpi.F90"
, even though I can build with mpifort or indeed withgfortran piMC_mpi.F90 $(mpif90 --showme:link)
.Beta Was this translation helpful? Give feedback.
All reactions