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");
std::map<std::string, std::string>::iterator it = _specific_parameters.find("LoalLevelerJobType");
if (it != _specific_parameters.end())
params["LL_JOBTYPE"] = it->second;
+ it = _specific_parameters.find("VishnuPassword");
+ if (it != _specific_parameters.end())
+ params["VISHNU_PASSWORD"] = it->second;
+ it = _specific_parameters.find("VishnuHostname");
+ if (it != _specific_parameters.end())
+ params["VISHNU_HOSTNAME"] = it->second;
+ it = _specific_parameters.find("VishnuHostLogin");
+ if (it != _specific_parameters.end())
+ params["VISHNU_HOST_LOGIN"] = it->second;
+ it = _specific_parameters.find("VishnuHostWorkdir");
+ if (it != _specific_parameters.end())
+ params["VISHNU_HOST_WORKDIR"] = it->second;
return params;
}
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 {