Hi Andrew,
I expect these directories must go on the worker nodes too?
Steve
On 03/04/2014 05:43 PM, Andrew Lahiff wrote:
>
> Hi,
>
> Sites with ARC CEs who want to support LHCb need to make a few
> configuration changes. This is to ensure that there is an environment
> variable available to jobs which specifies the name of the queue.
>
> Include the following line in /etc/arc.conf in the “[grid-manager]”
> section:
>
> authplugin="PREPARING timeout=60,onfailure=pass,onsuccess=pass
> /usr/local/bin/default_rte_plugin.py %S %C %I ENV/GLITE"
>
> where default_rte_plugin.py can be found here:
>
> /afs/cern.ch/user/a/alahiff/public/default_rte_plugin.py
>
> This will set ENV/GLITE as a default runtime environment – this is
> important since LHCb are unable to specify runtime environments in
> their JDLs. You can of course use a different name for the runtime
> environment if you want, but my preference is to just have a single
> RTE that all VOs use.
>
> Also, ensure that the following is included in your ENV/GLITE RTE:
>
> if [ "x$1" = "x0" ]; then
>
> env_idx=0
>
> env_var="joboption_env_$env_idx"
>
> while [ -n "${!env_var}" ]; do
>
> env_idx=$((env_idx+1))
>
> env_var="joboption_env_$env_idx"
>
> done
>
> eval joboption_env_$env_idx="NORDUGRID_ARC_QUEUE=$joboption_queue"
>
> fi
>
> This will setup an environment variable called NORDUGRID_ARC_QUEUE
> which specifies the name of the queue.
>
> Regards,
>
> Andrew.
>
>
> --
> Scanned by iCritical.
>
>
--
Steve Jones [log in to unmask]
System Administrator office: 220
High Energy Physics Division tel (int): 42334
Oliver Lodge Laboratory tel (ext): +44 (0)151 794 2334
University of Liverpool http://www.liv.ac.uk/physics/hep/
|