mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-11-01 00:28:11 +08:00 
			
		
		
		
	Disable mpi on version mismatch (#1989)
This commit is contained in:
		 Angelos Katharopoulos
					Angelos Katharopoulos
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						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; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user