Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Should MPI.mpiexec() be ENV["MPITRAMPOLINE_MPIEXEC"] when MPIPreference.binary = MPITrampoline_jll? #820

Open
Sbozzolo opened this issue Feb 23, 2024 · 2 comments

Comments

@Sbozzolo
Copy link

I am using MPITrampoline_jll as my binary and I have set MPITRAMPOLINE_MPIEXEC. MPI.mpiexec() is picking up the artifact in my .julia, leading to failures. Shouldn't mpiexec always be MPITRAMPOLINE_MPIEXEC when using MPITrampoline?

@JBlaschke
Copy link
Contributor

I principle, I am happy with this solution -- as it is the officially-documented workflow: https://github.com/eschnett/MPItrampoline

My question is if we should add some things to MPIPreferences -- e.g.:

  1. a check to ensure that MPITRAMPOLINE_MPIEXEC is defined
  2. a preference configure sensible defaults for MPITRAMPOLINE_MPIEXEC

The reason why I suggest these is so that one could configure the default behaviour of Julia in a single LocalPreferences.toml

@Sbozzolo
Copy link
Author

This probably ties in with #801 ?

I don't know what a reasonable default for MPITRAMPOLINE_MPIEXEC might be.

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

2 participants