case slurm:
bmType = "SLURM";
break;
- case ssh_batch:
+ case none:
bmType = "LOCAL";
break;
case ll:
resource.HostName = Kernel_Utils::GetHostname();
resource.DataForSort._Name = DEFAULT_RESOURCE_NAME;
resource.Protocol = sh;
- resource.Batch = ssh_batch;
+ resource.Batch = none;
if (getenv("HOME") != NULL && getenv("APPLI") != NULL)
{
resource.AppliPath = string(getenv("HOME")) + "/" + getenv("APPLI");
return "oar";
case coorm:
return "coorm";
- case ssh_batch:
- return "ssh_batch";
default:
throw SALOME_Exception("Unknown batch type");
}
Batch = slurm;
else if (batchTypeStr == "ccc")
Batch = ccc;
- else if (batchTypeStr == "ssh_batch")
- Batch = ssh_batch;
else if (batchTypeStr == "ll")
Batch = ll;
else if (batchTypeStr == "vishnu")
Batch = oar;
else if (batchTypeStr == "coorm")
Batch = coorm;
- else if (batchTypeStr == "")
+ else if (batchTypeStr == "" || batchTypeStr == "none" || batchTypeStr == "ssh_batch")
Batch = none;
else
throw SALOME_Exception((string("Unknown batch type ") + batchTypeStr).c_str());
enum ResourceType {cluster, single_machine};
-enum BatchType {none, pbs, lsf, sge, ssh_batch, ccc, ll, slurm, vishnu, oar, coorm};
+enum BatchType {none, pbs, lsf, sge, ccc, ll, slurm, vishnu, oar, coorm};
enum MpiImplType {nompi, lam, mpich1, mpich2, openmpi, ompi, slurmmpi, prun};