Difference between revisions of "Using DQ2 at NIKHEF"

From Atlas Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
     lists files in <dataset>
 
     lists files in <dataset>
 
  <li><tt>dq2_get -v -r <dataset></tt><br>
 
  <li><tt>dq2_get -v -r <dataset></tt><br>
     get dataset<br> with verbose output
+
     get dataset<br> with verbose output<br>
 
     <i>The option <tt>-r</tt> is needed to download files 'remotely' via the Grid. As far as I know (correct me if I'm wrong) it is not possible to copy directly from the Nikhef SE (like CASTOR at CERN)</i>.
 
     <i>The option <tt>-r</tt> is needed to download files 'remotely' via the Grid. As far as I know (correct me if I'm wrong) it is not possible to copy directly from the Nikhef SE (like CASTOR at CERN)</i>.
 
</ul>
 
</ul>

Revision as of 12:50, 26 March 2007

Set up

Assuming you have a Grid certificate [1], you need to do the following to be able to use DQ2 at Nikhef:

  • setup Grid:
    source /global/ices/lcg/current/etc/profile.d/grid_env.csh
  • setup DQ2:
    source setup.csh.NIKHEF

Oh, enneh... don't forget to do a grid-proxy-init.

Tools

  • dq2_ls <pattern>
    search for dataset with <pattern>
  • dq2_ls -g <dataset>
    lists files in <dataset>
  • dq2_get -v -r <dataset>
    get dataset
    with verbose output
    The option -r is needed to download files 'remotely' via the Grid. As far as I know (correct me if I'm wrong) it is not possible to copy directly from the Nikhef SE (like CASTOR at CERN).

Links