From bce6509990bb500d904f42ff525ac53929a24873 Mon Sep 17 00:00:00 2001 From: prascle Date: Thu, 5 Jun 2008 08:18:06 +0000 Subject: [PATCH] PR: Patch from Bernard Secher --- src/ResourcesManager/SALOME_ResourcesManager.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ResourcesManager/SALOME_ResourcesManager.cxx b/src/ResourcesManager/SALOME_ResourcesManager.cxx index 2d6224d75..90f273d69 100644 --- a/src/ResourcesManager/SALOME_ResourcesManager.cxx +++ b/src/ResourcesManager/SALOME_ResourcesManager.cxx @@ -218,12 +218,12 @@ Engines::MachineParameters* SALOME_ResourcesManager::GetMachineParameters(const p_ptr->mpiImpl = "mpich2"; else if( resource.mpi == openmpi ) p_ptr->mpiImpl = "openmpi"; + else if( resource.mpi == slurm ) + p_ptr->mpiImpl = "slurm"; if( resource.Batch == pbs ) p_ptr->batch = "pbs"; else if( resource.Batch == lsf ) p_ptr->batch = "lsf"; - else if( resource.Batch == slurm ) - p_ptr->batch = "slurm"; return p_ptr; } -- 2.39.2