result = "OK";
return result;
}
+ if (batch_type == "slurm")
+ {
+ INFOS("test_jobsubmit_simple not yet implemented for slurm... return OK");
+ result = "OK";
+ return result;
+ }
if (batch_type == "sge")
{
INFOS("test_jobsubmit_simple not yet implemented for sge... return OK");
mpiImpl = new MpiImpl_MPICH2();
else if(mpi_type == "openmpi")
mpiImpl = new MpiImpl_OPENMPI();
- else if(mpi_type == "slurm")
+ else if(mpi_type == "slurmmpi")
mpiImpl = new MpiImpl_SLURM();
else
{
return result;
}
+ if (batch_type == "slurm")
+ {
+ INFOS("test_jobsubmit_simple not yet implemented for slurm... return OK");
+ result = "OK";
+ return result;
+ }
+
if (batch_type == "sge")
{
INFOS("test_jobsubmit_simple not yet implemented for sge... return OK");
case openmpi:
mpi = "openmpi";
break;
- case slurm:
- mpi = "slurm";
+ case slurmmpi:
+ mpi = "slurmmpi";
break;
case prun:
mpi = "prun";
case ccc:
bmType = "eCCC";
break;
+ case slurm:
+ bmType = "eSLURM";
+ break;
case ssh_batch:
bmType = "eSSH";
break;
resource.mpi = mpich2;
else if (anMpi == "openmpi")
resource.mpi = openmpi;
- else if (anMpi == "slurm")
- resource.mpi = slurm;
+ else if (anMpi == "slurmmpi")
+ resource.mpi = slurmmpi;
else if (anMpi == "prun")
resource.mpi = prun;
else
resource.Batch = ssh_batch;
else if (aBatch == "ccc")
resource.Batch = ccc;
+ else if (aBatch == "slurm")
+ resource.Batch = slurm;
else if (aBatch == "ll")
resource.Batch = ll;
else
resource.mpi = mpich2;
else if (anMpi == "openmpi")
resource.mpi = openmpi;
- else if (anMpi == "slurm")
- resource.mpi = slurm;
+ else if (anMpi == "slurmmpi")
+ resource.mpi = slurmmpi;
else if (anMpi == "prun")
resource.mpi = prun;
else
case ccc:
xmlNewProp(node, BAD_CAST test_batch, BAD_CAST "ccc");
break;
+ case slurm:
+ xmlNewProp(node, BAD_CAST test_batch, BAD_CAST "slurm");
+ break;
case ssh_batch:
xmlNewProp(node, BAD_CAST test_batch, BAD_CAST "ssh_batch");
break;
case openmpi:
xmlNewProp(node, BAD_CAST test_mpi, BAD_CAST "openmpi");
break;
- case slurm:
- xmlNewProp(node, BAD_CAST test_mpi, BAD_CAST "slurm");
+ case slurmmpi:
+ xmlNewProp(node, BAD_CAST test_mpi, BAD_CAST "slurmmpi");
break;
case prun:
xmlNewProp(node, BAD_CAST test_mpi, BAD_CAST "prun");
return "sge";
else if (Batch == ccc)
return "ccc";
+ else if (Batch == slurm)
+ return "slurm";
else if (Batch == ll)
return "ll";
else
return "mpich2";
else if (mpi == openmpi)
return "openmpi";
- else if (mpi == slurm)
- return "slurm";
+ else if (mpi == slurmmpi)
+ return "slurmmpi";
else
return "prun";
}
enum AccessModeType {interactive, batch};
-enum BatchType {none, pbs, lsf, sge, ssh_batch, ccc, ll};
+enum BatchType {none, pbs, lsf, sge, ssh_batch, ccc, ll, slurm};
-enum MpiImplType {nompi, lam, mpich1, mpich2, openmpi, slurm, prun};
+enum MpiImplType {nompi, lam, mpich1, mpich2, openmpi, slurmmpi, prun};
class RESOURCESMANAGER_EXPORT ResourceDataToSort
{
p_ptr->mpiImpl = "mpich2";
else if( resource.mpi == openmpi )
p_ptr->mpiImpl = "openmpi";
- else if( resource.mpi == slurm )
- p_ptr->mpiImpl = "slurm";
+ else if( resource.mpi == slurmmpi )
+ p_ptr->mpiImpl = "slurmmpi";
else if( resource.mpi == prun )
p_ptr->mpiImpl = "prun";
p_ptr->batch = "sge";
else if( resource.Batch == ccc )
p_ptr->batch = "ccc";
+ else if( resource.Batch == slurm )
+ p_ptr->batch = "slurm";
else if( resource.Batch == ssh_batch )
p_ptr->batch = "ssh";
else if( resource.Batch == ll )
resource.Batch = lsf;
else if (aBatch == "sge")
resource.Batch = sge;
- else if (aBatch == "ccc")
- resource.Batch = ccc;
+ else if (aBatch == "slurm")
+ resource.Batch = slurm;
else if (aBatch == "ssh_batch")
resource.Batch = ssh_batch;
else if (aBatch == "ll")
resource.mpi = mpich2;
else if (anMpi == "openmpi")
resource.mpi = openmpi;
- else if (anMpi == "slurm")
- resource.mpi = slurm;
+ else if (anMpi == "slurmmpi")
+ resource.mpi = slurmmpi;
else if (anMpi == "prun")
resource.mpi = prun;
else if (anMpi == "")