It fixes a problem on cluster clamart2 where the default server name is not the one where the jobs are submitted.
if (sline.size() == 0)
throw EmulationException("Error in the submission of the job on the remote host");
- size_t pos = sline.find(".");
- string strjob;
- if(pos == string::npos)
- strjob = sline;
- else
- strjob = sline.substr(0,pos);
-
- JobId id(this, strjob);
+ JobId id(this, sline);
return id;
}