Skip to content

Getting mpi4py to ignore conda's MPI #378

Answered by leofang
bernstei asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, I am not sure what you're trying to achieve. Let me ask this: Have you tried the "external MPI" trick that conda-forge designed to support HPC clusters?
https://conda-forge.org/docs/user/tipsandtricks.html#using-external-message-passing-interface-mpi-libraries
Basically, if you are using MPICH/Open MPI (or their ABI-compatible variants), you can have an empty MPI package with real mpi4py & co installed from conda-forge. Then, you just need to ensure your own MPI implementation is supplied and locatable by the dynamic linker. No need to rebuild anything.

Replies: 12 comments 18 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dalcinl
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@leofang
Comment options

Comment options

You must be logged in to vote
1 reply
@leofang
Comment options

Comment options

You must be logged in to vote
6 replies
@dalcinl
Comment options

@bernstei
Comment options

@bernstei
Comment options

@bernstei
Comment options

@leofang
Comment options

Comment options

You must be logged in to vote
6 replies
@bernstei
Comment options

@bernstei
Comment options

@bernstei
Comment options

@dalcinl
Comment options

@bernstei
Comment options

Comment options

You must be logged in to vote
2 replies
@bernstei
Comment options

@dalcinl
Comment options

Comment options

You must be logged in to vote
2 replies
@dalcinl
Comment options

@bernstei
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #377 on July 20, 2023 13:55.