Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable MPI module files #929

Closed
perazz opened this issue Jun 8, 2023 · 1 comment
Closed

Enable MPI module files #929

perazz opened this issue Jun 8, 2023 · 1 comment

Comments

@perazz
Copy link
Member

perazz commented Jun 8, 2023

Originally posted by @Carltoffel in #859 (comment) :

          When I use the MPI metapackage with `use mpi`, I also have to use `build.external-modules = ["mpi"]`. Is this behaviour intended? Otherwise, I get:
 + which mpiexec
/usr/bin/mpiexec
<ERROR> *cmd_run* Targets error: Unable to find source for module dependency: "mpi" used by "app/main.f90"

In the example_packages directory, import mpif.h is used, which circumvents this. Which method is preferred?


@perazz
Copy link
Member Author

perazz commented Jun 8, 2023

Closed by #930.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant