mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-29 05:31:18 +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) {
|
||||
std::cerr << "[mpi] MPI found but it does not appear to be Open MPI."
|
||||
<< "MLX requires Open MPI but this is " << version << std::endl;
|
||||
libmpi_handle_ = nullptr;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user