Roberto, good to know our solution does indeed work.
For interest, here's the recipe we used in Glasgow, which should be
generally applicable to cfengine sites:
Objective:
1. Ensure that GLITE_LOCAL_CUSTOMIZATION_DIR is set to a valid
directory in the job's environment.
2. Within that directory, create a file called "cp_1.sh" containing
cd $EDG_WL_SCRATCH
Implementation in cfengine:
directories:
torque::
/etc/glite mode=0755 owner=root group=root
copy:
torque::
$(skel)/torque/env/glite_local.csh mode=755 dest=/
etc/profile.d/glite_local.csh type=sum
$(skel)/torque/env/glite_local.sh mode=755 dest=/etc/
profile.d/glite_local.sh type=sum
$(skel)/torque/env/cp_1.sh mode=755 dest=/etc/glite/
cp_1.sh type=sum
With glite_local.{sh,csh} defining GLITE_LOCAL_CUSTOMIZATION_DIR to
be /etc/glite.
Cheers
Graeme
On 27 Mar 2007, at 17:09, Roberto Santinelli wrote:
> Hi all,
> you might find at http://santinel.home.cern.ch/santinel/glite.xml
>
> some preliminary results from a second round of tests over the
> grid for
> testing how the variable EDG_WL_SCRATCH is taken into account if
> the job
> gets submitted through gLite WMS. After my first broadcast some sites
> applied in their own the suggestion I pointed out and since then,
> they seem to behave as expected.
> This is a proof that the recipe works!
> So far the following sites passed this trivial test (as you can see).
>
> vr016.gla.scotgrid.ac.uk
> ce1-egee.srce.hr
> g03n02.pdc.kth.se
> grid6.mif.vu.lt
>
> I hope that soon all of involved sites will be able handle
> correctly this
> EDG_WL_SCRATCH variable.
>
> LHCb will restart soon to submit through gLite WMS.
>
> Thanks for your comprehension
> R.
>
> ************************************************
> Roberto Santinelli - Ph.D
> EUROPEAN LABORATORY FOR PARTICLE PHYSICS
> IT Division - PSS-ED/EIS Team
> Building: 28 Office: R-019
> Phone: +41 22 767 1925
> Mobile: +41 76 487 0443 (int. 16-0433)
> Fax1: +41 22 766 9214
> Fax2: +41 22 767 4900
> Email: [log in to unmask]
> ICQ: 257963601
> Web: http://santinel.web.cern.ch/santinel/
> ************************************************
--
Dr Graeme Stewart - http://wiki.gridpp.ac.uk/wiki/User:Graeme_stewart
GridPP DM Wiki - http://wiki.gridpp.ac.uk/wiki/Data_Management
ScotGrid - http://www.scotgrid.ac.uk/ http://scotgrid.blogspot.com/
|