case ll:
bmType = "eLL";
break;
+ case vishnu:
+ bmType = "eVISHNU";
+ break;
default:
LAUNCHER_MESSAGE("Bad batch description of the resource: Batch = " << params.Batch);
throw LauncherException("No batchmanager for that cluster - Bad batch description of the resource");
resource.Batch = slurm;
else if (aBatch == "ll")
resource.Batch = ll;
+ else if (aBatch == "vishnu")
+ resource.Batch = vishnu;
else
resource.Batch = none;
}
case ll:
xmlNewProp(node, BAD_CAST test_batch, BAD_CAST "ll");
break;
+ case vishnu:
+ xmlNewProp(node, BAD_CAST test_batch, BAD_CAST "vishnu");
+ break;
default:
xmlNewProp(node, BAD_CAST test_batch, BAD_CAST "");
}
return "slurm";
else if (Batch == ll)
return "ll";
+ else if (Batch == vishnu)
+ return "vishnu";
else
return "ssh";
}
enum AccessModeType {interactive, batch};
-enum BatchType {none, pbs, lsf, sge, ssh_batch, ccc, ll, slurm};
+enum BatchType {none, pbs, lsf, sge, ssh_batch, ccc, ll, slurm, vishnu};
enum MpiImplType {nompi, lam, mpich1, mpich2, openmpi, slurmmpi, prun};
p_ptr->batch = "ssh";
else if( resource.Batch == ll )
p_ptr->batch = "ll";
+ else if( resource.Batch == vishnu )
+ p_ptr->batch = "vishnu";
return p_ptr;
}
resource.Batch = ssh_batch;
else if (aBatch == "ll")
resource.Batch = ll;
+ else if (aBatch == "vishnu")
+ resource.Batch = vishnu;
else if (aBatch == "")
resource.Batch = none;
else {