[torqueusers] Torque 4.1.2 does not accept hostname with '-'
mej at lbl.gov
Mon Oct 22 10:52:42 MDT 2012
On Sunday, 21 October 2012, at 00:41:14 (-0400),
Ezell, Matthew A. wrote:
> We found this on our test system. The problem was in the 4.1.2
> "subjob" feature. We developed patches and sent them to Adaptive.
> You can either pull r6794 and r6799 from the subversion branch
> '4.1-fixes' or just wait until 4.1.3 is released.
Thanks for the pointers. Unfortunately, we've been running with those
changes in place for quite some time now, and it doesn't seem to have
fixed the problem. So I guess we'll keep looking.
For what it's worth, I found this error some time ago (which, based on
the revision numbers you gave me, came from your patch). It doesn't
seem to fix the issue either, but it's still likely needed (because
dash will always be exactly equal to dot as a result):
--- src/server/job_func.c (revision 6967)
+++ src/server/job_func.c (working copy)
@@ -2197,7 +2197,7 @@
* the get the external sub-job */
if (get_subjob == TRUE)
- dot = strchr(jobid, '-');
+ dot = strchr(jobid, '.');
if (((dash = strchr(jobid, '-')) != NULL) &&
(dot != NULL) &&
Michael Jennings <mej at lbl.gov>
Senior HPC Systems Engineer
High-Performance Computing Services
Lawrence Berkeley National Laboratory
Bldg 50B-3209E W: 510-495-2687
MS 050B-3209 F: 510-486-8615
More information about the torqueusers