result = "OK";
return result;
}
+ if (batch_type == "ccc")
+ {
+ INFOS("test_jobsubmit_simple not yet implemented for ccc... return OK");
+ result = "OK";
+ return result;
+ }
if (batch_type == "sge")
{
INFOS("test_jobsubmit_simple not yet implemented for sge... return OK");
return result;
}
+ if (batch_type == "ccc")
+ {
+ INFOS("test_jobsubmit_simple not yet implemented for ccc... return OK");
+ result = "OK";
+ return result;
+ }
+
if (batch_type == "sge")
{
INFOS("test_jobsubmit_simple not yet implemented for sge... return OK");
#ifdef WITH_LIBBATCH
#include <Batch/Batch_Date.hxx>
+#include <Batch/Batch_FactBatchManager_eCCC.hxx>
#include <Batch/Batch_FactBatchManager_eLSF.hxx>
#include <Batch/Batch_FactBatchManager_ePBS.hxx>
#include <Batch/Batch_BatchManager_eClient.hxx>
message += "eSGE";
fact = new Batch::FactBatchManager_eSGE;
break;
+ case ccc:
+ message += "eCCC";
+ fact = new Batch::FactBatchManager_eCCC;
+ break;
case ssh_batch:
message += "eSSH";
fact = new Batch::FactBatchManager_eSSH;
resource.Batch = sge;
else if (aBatch == "ssh_batch")
resource.Batch = ssh_batch;
+ else if (aBatch == "ccc")
+ resource.Batch = ccc;
else
resource.Batch = none;
}
case sge:
xmlNewProp(node, BAD_CAST test_batch, BAD_CAST "sge");
break;
+ case ccc:
+ xmlNewProp(node, BAD_CAST test_batch, BAD_CAST "ccc");
+ break;
case ssh_batch:
xmlNewProp(node, BAD_CAST test_batch, BAD_CAST "ssh_batch");
break;
return "lsf";
else if (Batch == sge)
return "sge";
+ else if (Batch == ccc)
+ return "ccc";
else
return "ssh";
}
enum AccessModeType {interactive, batch};
-enum BatchType {none, pbs, lsf, sge, ssh_batch};
+enum BatchType {none, pbs, lsf, sge, ssh_batch, ccc};
enum MpiImplType {nompi, lam, mpich1, mpich2, openmpi, slurm, prun};
p_ptr->batch = "lsf";
else if( resource.Batch == sge )
p_ptr->batch = "sge";
+ else if( resource.Batch == ccc )
+ p_ptr->batch = "ccc";
else if( resource.Batch == ssh_batch )
p_ptr->batch = "ssh";
resource.Batch = lsf;
else if (aBatch == "sge")
resource.Batch = sge;
+ else if (aBatch == "ccc")
+ resource.Batch = ccc;
else if (aBatch == "ssh_batch")
resource.Batch = ssh_batch;
else if (aBatch == "")