On Fri, Dec 09, 2005 at 03:31:10PM +0100, Jeff Templon wrote:
> I think that is your problem:
>
> David Garcia Aristegui wrote:
>
> >create queue geant4
> >set queue geant4 queue_type = Execution
> >set queue geant4 resources_max.cput = 48:00:00
> >set queue geant4 resources_max.walltime = 72:00:00
> >set queue geant4 acl_group_enable = True
> >set queue geant4 acl_groups = geant4
> >set queue geant4 acl_groups += geant4
> >set queue geant4 acl_groups += geant4
>
>
> Why so many lines per VO ... does YAIM re-do the ACLs every time?
> It looks quite weird.
>
Yes, YAIM does re-do the ACLs. So, from the number of
"set queue geant4 acl_groups" lines one can guess how many times it has
been run.
From /opt/lcg/yaim/functions/config_torque_server:
for VO in `echo $VOS | tr [:lower:] [:upper:]`; do
if eval echo \$VO_${VO}_QUEUES | grep -q "$QUEUE"; then
/usr/bin/qmgr -c "set queue $QUEUE acl_groups += `echo $VO | tr [:upper:] [:lower:]`"
fi
done
But then, as Louis Poncet pointed out, after setting up the queues once with
configure_node site-info.def CE_torque
one can just run
configure_node site-info.def CE
Cheers,
Preslav
|