Difference between revisions of "ARC HTCondor Accounting"

From GridPP Wiki
Jump to: navigation, search
Line 5: Line 5:
 
  authplugin="FINISHING timeout=60,onfailure=pass,onsuccess=pass /usr/local/bin/scaling_factors_plugin.py %S %C %I"
 
  authplugin="FINISHING timeout=60,onfailure=pass,onsuccess=pass /usr/local/bin/scaling_factors_plugin.py %S %C %I"
  
where scaling_factors_plugin.py is available here: https://gist.github.com/alahiff/3a427620e73b42d9282d#file-scaling_factors_plugin-py
+
where scaling_factors_plugin.py is available here: https://gist.github.com/alahiff/3a427620e73b42d9282d#file-scaling_factors_plugin-py. This assumes that an attribute MachineRalScaling is added to each job automatically by HTCondor, corresponding to the scaling factor for each worker node.

Revision as of 10:57, 5 June 2014

This page explains how APEL accounting is done at the RAL Tier-1.

We include the following line in the [grid-manager] section of /etc/arc.conf:

authplugin="FINISHING timeout=60,onfailure=pass,onsuccess=pass /usr/local/bin/scaling_factors_plugin.py %S %C %I"

where scaling_factors_plugin.py is available here: https://gist.github.com/alahiff/3a427620e73b42d9282d#file-scaling_factors_plugin-py. This assumes that an attribute MachineRalScaling is added to each job automatically by HTCondor, corresponding to the scaling factor for each worker node.