Hi Andrew,
On 03/04/2014 05:43 PM, Andrew Lahiff wrote:
> 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"
>
....
I've done that.
> 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
>
>
Where does that code go? Which script of directory is it in?
Cheers,
Steve
--
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/
|