Personal tools

Using VOTags

by admin last modified 2008-10-21 21:42

Mario explains:

To find out which tags are available on a specific sites:
$ lcg-ManageVOTag -host <host> -vo <vo> --list
 
f.e.:
$ lcg-ManageVOTag -host oberon.hep.kbfi.ee -vo cms --list
VO-cms-slc3_ia32_gcc323
VO-cms-CMSSW_0_6_1
VO-cms-CMSSW_0_7_0
VO-cms-CMSSW_0_7_2
VO-cms-CMSSW_0_8_1
VO-cms-CMSSW_0_8_2
VO-cms-CMSSW_0_8_3
VO-cms-CMSSW_0_8_4
VO-cms-CMSSW_1_0_0
 
the same tool can be also used by SGM-s to set new tags and remove old ones.
 
To find out which tags are installed on all systems for a specific VO then use this:
$ lcg-infosites --vo cms tag
valor del bdii: exp-bdii.cern.ch:2170
Name of the CE: node07.datagrid.cea.fr
 
Name of the CE: grid10.lal.in2p3.fr
        VO-cms-slc3_ia32_gcc323
        VO-cms-CMSSW_0_6_0
        VO-cms-CMSSW_0_7_0
        VO-cms-CMSSW_0_6_1
        VO-cms-CMSSW_0_8_1
        VO-cms-CMSSW_0_8_3
        VO-cms-CMSSW_0_8_4
 
Name of the CE: polgrid1.in2p3.fr
        VO-cms-CMSSW_0_8_4
        VO-cms-CMSSW_0_8_3
        VO-cms-CMSSW_0_8_2
        VO-cms-CMSSW_0_8_1
        VO-cms-CMSSW_0_6_1
        VO-cms-CMSSW_0_9_1
...
 
To schedule a job only on a cluster which for example has VO-cms-CMSSW_0_8_4 installed, then this line has to be added to the JDL:
 
Requirements = Member("VO-cms-CMSSW_0_8_4", other.GlueHostApplicationSoftwareRunTimeEnvironment);
 
for example:
 
Executable = "test.sh";
StdOutput = "Output.txt";
StdError = "Error.txt";
InputSandbox = "test.sh";
OutputSandbox = {"Output.txt", "Error.txt" };
Requirements = Member("VO-cms-CMSSW_0_8_4", other.GlueHostApplicationSoftwareRunTimeEnvironment);
 
hope it explains a bit. If you have more questions, ask.

--------------------------------
Mario Kadastik
CMS experiment

Document Actions
EU

Baltic Grid Second Phase (BalticGrid-II) project is funded by the EU within the framework of the Seventh Framework Programme, in the 'Research infrastructures' activity area, FP7-INFRA-2007-1.2.3: e-Science Grid infrastructures, contract No 223807.

Powered by Plone