Whoops, it's much simpler than that. The syntax is $(LOGNAME), not $
{LOGNAME}. It needs to be the RSL syntax, not the /bin/sh syntax.
Charles
On Jan 5, 2009, at 2:52 PM, Charles Bacon wrote:
I was just poking at this, and I see the same behavior as you do. I
looked at the jobmanager, and the effect of passing -cache-location
is equivalent to setting the RSL attribute "gass_cache", like:
anlextwls097-030:~ bacon$ cat a.rsl
&(executable="/bin/date")
(gass_cache="${GLOBUS_LOCATION}")
I thought that using the RSL might help isolate whether this was a
quoting-level issue, but I get the same globus_list assertion
failure that you do either way. I'll ask one of the developers to
see what's going on here.
Charles
On Jan 5, 2009, at 2:20 PM, Ian Stokes-Rees wrote:
Hi, I'm trying to configure my globus-job-manager in the globus-
jobs-manager.conf file as per the instructions here:
http://www.globus.org/api/c-globus-4.0.3/globus_gram_job_manager/html/globus_gram_job_manager_configuration.html
The -cache-location states that it must be unique for each user and
that RSL substitutions may be used. I can't find documentation on
exactly how to manage this, and attempts at:
-cache-location /opt/osg-shared/jobs/gass/${LOGNAME}
-cache-location /opt/osg-shared/jobs/gass/$LOGNAME
have both failed, with the output from the client (calling) side
being:
[ijsto...@neuroinformatics ~]$ globus-job-run abitibi.sbgrid.org /
bin/hostname
GRAM Job submission failed because data transfer to the server
failed (error code 10)
and in globus-gatekeeper.log, the last bits of the attempt show:
PID: 4893 -- Notice: 5: Authorized as local user: sbgrid
TIME: Mon Jan 5 14:58:21 2009
PID: 4893 -- Notice: 0: Child 4932 started
globus-job-manager: globus_list.c:82: globus_list_first: Assertion
`head != 0' failed.
I thought it may be that the directory needed to pre-exist, so I
created it with the following permissions:
[r...@abitibi ce-1.0]# ls -Flad /opt/osg-shared/jobs/gass/sbgrid
drwxrwxrwt 2 sbgrid sbgrid 4096 Jan 5 14:59 /opt/osg-shared/jobs/
gass/sbgrid/
but to no avail. It does "work" if I remove the $LOGNAME portion,
but then the various GASS sub-directories are owned by the first
user who accesses the system.
Please can someone help me fix my syntax for the appropriate RSL
substitution?
Cheers,
Ian
--
Ian Stokes-Rees W: http://sbgrid.org
[email protected] T: +1 617 418-4168
SBGrid, Harvard Medical School F: +1 617 432-5600
<ijstokes.vcf>