mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-29 13:55:29 +08:00
Disable mpi on version mismatch (#1989)
This commit is contained in:
parent
2a980a76ce
commit
25814a9458
@ -69,6 +69,7 @@ struct MPIWrapper {
|
|||||||
if (version.find("Open MPI") == std::string::npos) {
|
if (version.find("Open MPI") == std::string::npos) {
|
||||||
std::cerr << "[mpi] MPI found but it does not appear to be Open MPI."
|
std::cerr << "[mpi] MPI found but it does not appear to be Open MPI."
|
||||||
<< "MLX requires Open MPI but this is " << version << std::endl;
|
<< "MLX requires Open MPI but this is " << version << std::endl;
|
||||||
|
libmpi_handle_ = nullptr;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user