what are the side conditions for batch jobs (from "upload job xml")?
2 posters
Page 1 of 1
what are the side conditions for batch jobs (from "upload job xml")?
when I upload a job xml file to a space - are there any side conditions for execution?
(after fighting the input syntax, e.g., ':' is not allowed in the job name, my upload is apparently accepted
(no error message) but no job appears - not in the space, not in my account.)
Do the solvers and benchmarks have to be present in the space? (That would be inconvenient.)
I assume that I must have read access to benchmarks and solvers.
(What happens if some benchmarks/solvers are inaccessible?)
- J.
(after fighting the input syntax, e.g., ':' is not allowed in the job name, my upload is apparently accepted
(no error message) but no job appears - not in the space, not in my account.)
Do the solvers and benchmarks have to be present in the space? (That would be inconvenient.)
I assume that I must have read access to benchmarks and solvers.
(What happens if some benchmarks/solvers are inaccessible?)
- J.
j.waldmann- Posts : 84
Join date : 2014-04-26
Re: what are the side conditions for batch jobs (from "upload job xml")?
OK, I am debugging this (reading the source, actually) and it seems that creation of a Job fails (silently) if a job contains zero job pairs. (I had one Jobs element, containing several Job elements, some of them empty). I think line 232 in JobUtil.java is wrong (and could be deleted)
if (job.getJobPairs().size() == 0) {
// No pairs in the job means something is wrong; error out
errorMessage = "Error: no job pairs created for the job. Could not proceed with job submission.";
return -1;
}
but I can of course work around this, now that I know it.
if (job.getJobPairs().size() == 0) {
// No pairs in the job means something is wrong; error out
errorMessage = "Error: no job pairs created for the job. Could not proceed with job submission.";
return -1;
}
but I can of course work around this, now that I know it.
j.waldmann- Posts : 84
Join date : 2014-04-26
Re: what are the side conditions for batch jobs (from "upload job xml")?
Hi, Johannes. In the deploy yesterday I added at least a little more error-reporting, to tell you if there are no job pairs because a solver fails to have any configurations (something I have seen happen from time to time due to a problem uploading a solver). I hope this will help a little.
Aaron
Aaron
Similar topics
» Can't upload benchmarks together
» Cannot upload new solvers
» How to upload pre-processors?
» can't upload a post-processor
» upload solver (by pulling from URL) seems broken
» Cannot upload new solvers
» How to upload pre-processors?
» can't upload a post-processor
» upload solver (by pulling from URL) seems broken
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum