---+ Retrieving MC output Outputs from Monte Carlo simulation are stored on disk at RAL and CERN. This page explains how to access this data. %TOC% ---++ CERN CASTOR MC production data is transferred to CERN CASTOR via <verbatim> srm://srm-public.cern.ch:8443/srm/managerv2 </verbatim> and accessible locally on <verbatim> /castor/cern.ch/grid/na62/mc </verbatim> e.g. <verbatim> lxplus> nsls /castor/cern.ch/grid/na62/mc prod protopop test </verbatim> ---++ Other replicas To find replicas for a given file, consult [[https://na62.gla.ac.uk/index.php?task=files][this table]]. Each expanded row will show the following information: <img src="%PUBURLPATH%/%WEB%/%TOPIC%/file.png" alt="file.png" width="801" height="159" /> To find other replicas, use the commands <verbatim> export LFC_HOST="lfc00.grid.hep.ph.ic.ac.uk" lcg-lr LFN </verbatim> where LFN is something that look like this =lfn:/grid/na62.vo.gridpp.ac.uk/prod/v0.9.0/Kch2pienu-2/pluto_v14_r27792.root= (see above). %X% Please note that LFC will soon be deprecated and this might not work for long. ---++ Retrieving a file from a remote SE If you have the LFN or the SRM of a file, the you can use =lcg-cp= to copy it to your local machine, e.g. <verbatim> lcg-cp -v srm://svr018.gla.scotgrid.ac.uk/dpm/gla.scotgrid.ac.uk/home/na62.vo.gridpp.ac.uk/prod/r722/Kch2pipi0pi0/pluto_v13_r27584.root ./pluto_v13_r27584.root lcg-cp -v lfn:/grid/na62.vo.gridpp.ac.uk/prod/v0.9.0/Kch2pienu-2/pluto_v14_r27792.root pluto_v14_r27792.root </verbatim> Please remember that in order to use the above grid commands, you must have a valid proxy. To create one, do <verbatim> voms-proxy-init -voms na62.vo.gridpp.ac.uk </verbatim> assuming you have a valid grid certificate (i.e. files =usercert.pem= and =userkey.pem= in =~/.globus/=). If you see the error message <verbatim> VOMS server for VO na62.vo.gridpp.ac.uk is not known! Check your vomses configuration. </verbatim> then you need to add the NA62 VO to your vomses configuration: <verbatim> lxplus> ls ~/.glite/vomses na62.vo.gridpp.ac.uk-voms02.gridpp.ac.uk na62.vo.gridpp.ac.uk-voms03.gridpp.ac.uk na62.vo.gridpp.ac.uk-voms.gridpp.ac.uk lxplus> cat ~/.glite/vomses/na62.vo.gridpp.ac.uk-voms* "na62.vo.gridpp.ac.uk" "voms02.gridpp.ac.uk" "15501" "/C=UK/O=eScience/OU=Oxford/L=OeSC/CN=voms02.gridpp.ac.uk" "na62.vo.gridpp.ac.uk" "na62.vo.gridpp.ac.uk" "voms03.gridpp.ac.uk" "15501" "/C=UK/O=eScience/OU=Imperial/L=Physics/CN=voms03.gridpp.ac.uk" "na62.vo.gridpp.ac.uk" "na62.vo.gridpp.ac.uk" "voms.gridpp.ac.uk" "15501" "/C=UK/O=eScience/OU=Manchester/L=HEP/CN=voms.gridpp.ac.uk" "na62.vo.gridpp.ac.uk" </verbatim> With this setup, =voms-proxy-init -voms na62.vo.gridpp.ac.uk= should work. If not, please contact the grid admin.
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
file.png
r1
manage
56.5 K
2016-03-15 - 10:31
DanProtopopescu
A row in the 'files' table
This topic: NA62
>
WebHome
>
MCOutputs
Topic revision: r1 - 2016-03-15 - DanProtopopescu
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback