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

Failing to build MPI application, missing MPI runner #935

Closed
Carltoffel opened this issue Jun 13, 2023 · 2 comments
Closed

Failing to build MPI application, missing MPI runner #935

Carltoffel opened this issue Jun 13, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Carltoffel
Copy link
Member

Carltoffel commented Jun 13, 2023

Description

I want to build an MPI application, but there is no MPI runner on the login node because you have to submit a sbatch job.
I can fpm test my program (and I assume the same goes for fpm run) if I replace this function call with my sbatch runner.
But when using fpm build, a runner shouldn't be necessary. fpm build terminates before it starts compiling anything with the following error message:

<ERROR> *cmd_build* Model error: cannot find a valid mpi runner command

Expected Behaviour

fpm build shouldn't require an MPI runner in the path.

Version of fpm

0.9.0, 6d33e74

Platform and Architecture

Rocky Linux 8.7 (Green Obsidian)

Additional Information

GNU Fortran (GCC) 11.3.0
OpenMPI 4.1.4

Edit: I did some changes to fpm which affected the behaviour I described. Therefore, I fixed the description of symptoms.

@Carltoffel
Copy link
Member Author

After some more testing I realized, that fpm test (and probably fpm run, too) don't work, even if I provide the runner with the --runner option.

@perazz
Copy link
Contributor

perazz commented Jun 27, 2023

Solved by #937

@perazz perazz closed this as completed Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants