Tags:
tag this topic
create new tag
view all tags
---+ Data Storage This page describes where to store your data in order to run over it. In general all data files should be stored on dCache. A small amount of data can be stored on the local cluster for development purposes. afs space can be used to put output files/code that you may wish to share with others. ---+ On the local cluster For small to medium amounts of data it is recommended that you store it in either: <verbatim> /opt/ppd/scratch /opt/ppd/month </verbatim> Each has a capacity of 1.6 TB. Before downloading please check there is enough space left. Typically these directories are not erased periodically, however, this means you should not keep datasets which are no longer needed. If the disks are full you can send a mail to the group asking everyone to clean his/her space. To see who uses most, do 'du --max-depth=1' and then you can also ask people personally if they could reduce their diskspace. ---+ On AFS There is an /afs cell at RAL which you can find at: <verbatim> /afs/rl.ac.uk/</verbatim> ---+ On the dCache storage element locally Detail instructions on using the dCache element can be found on the [[Computing.Documentation.DCacheStorageElement][DCacheStorageElement]] page. To make things easier to manage please copy ATLAS datasets into: <verbatim> /pnfs/pp.rl.ac.uk/data/atlas/atlasralppdisk/</verbatim> You can use dq2-get to copy files directly into the dCache space. To do this log into heplnx109.gridpp.rl.ac.uk and do: <verbatim> cd $HOME source /afs/cern.ch/atlas/offline/external/GRID/ddm/DQ2Clients/setup.sh voms-proxy-init -voms atlas dq2-get -S srm://heplnx204.pp.rl.ac.uk:8443/srm/managerv2?SFN=/pnfs/pp.rl.ac.uk/data/atlas/atlasralppdisk/dewhurst user10.janstrube.ganga.data10_7TeV.00152221.physics_L1Calo.merge.AOD.r1239_p134.D3PD_v1.99.0</verbatim> where you can replace dewhurst with your name and user10.jan with the file you wish to download from the grid. Everybody has read write permission so be careful. Note: For some reason if you try this command while somewhere inside the /pnfs/pp.rl.ac.uk/ directory structure you will get an error saying that the file system is read only. ---+ On the dCache storage element on the grid The advantage of storing data on the grid is that there is a lot more available storage space. By Storing data on the grid at RAL local users will be able to run over the data interactively for developing software as well as looking at smaller samples as well as running over the same data as a grid job. The dis-advantage is that you don't have full control over your data and some things can take time. To download datafiles use rucio. The documentation on rucio can be found [[https://twiki.cern.ch/twiki/bin/view/AtlasComputing/RucioClientsHowTo][here]] . As this is grid you need to type <verbatim> localSetupRucioClients voms-proxy-init -voms atlas</verbatim> To download, find your dataset <verbatim> rucio list-dids mc12_13TeV: rucio list-dids mc12_13TeV:mc12_13TeV.116974.Pythia_AUET2BCTEQ6L1_ttbar_* rucio list-dids mc15_13TeV:mc15_13TeV.*EXOT9*p2363/ </verbatim> Note, every datasets now has a scope called mc15_13TeV, data15_13TeV etc which precedes the actual dataset. For the moment dq-ls still works but you need to ask for at least data15.13TeV. (the dot is important). As the dataset you want to access might be already existing on the group disk you might want to check this using <pre>rucio list-datasets-rse UKI-SOUTHGRID-RALPP_LOCALGROUPDISK</pre> This might take some time but will tell you what you asked for in the end. To ensure there is enough space in the group area, check<br /> <a href=http://www.hep.lancs.ac.uk/~love/ukdata/site/1/>this page</a>. Now when you are ready to download, do <pre>rucio add-rule <scope>:<dataset> 1 UKI-SOUTHGRID-RALPP_LOCALGROUPDISK</pre> This is a bit cryptic, but this does the replication. The scope is mc15_13TeV etc and does not seem to be really essential to be given. Rucio can find this out himself.To see something is happening <pre>rucio list-rules --account <username></pre> To see the dataset itself and the location of the files do <pre>rucio list-file-replicas --rse UKI-SOUTHGRID-RALPP_LOCALGROUPDISK <scope>:<dataset></pre> This is important as you can put the file location in a file and then give this file to your xAOD job.However the output is not just the complete path to the file. To create your filelist you might want to create it using sed <pre>sed 's/^.*SFN=//' inputlist > outputlist</pre> You might find the macro <a href="/twiki/pub/Atlas/DataStorage/preparelist.sh">preparelist.sh</a> useful. Just say preparelist.sh inputfile outputfile. It's very basic but works... You can also check the file directly and access it via root, e.g. <pre>ls -l /pnfs/pp.rl.ac.uk/data/atlas/atlaslocalgroupdisk/rucio/mc14_13TeV/<br />root -l /pnfs/pp.rl.ac.uk/data/atlas/atlaslocalgroupdisk/rucio/mc14_13TeV/f2</pre> The following is obsolete but still kept for the moment! If you wish to copy either ATLAS data that is already on the grid to RAL you can download a small amount using DQ2-get. If you want to run over a larger sample you can request data replication via [[http://panda.cern.ch:25980/server/pandamon/query?mode=ddm_req][Data Replication]] <verbatim> dq2-put -L SITENAME -s SOURCEDIRECTORY DATASETNAME</verbatim> The SITENAME is: UKI-SOUTHGRID-RALPP_SCRATCHDISK The DATASETNAME needs to follow the [[https://twiki.cern.ch/twiki/bin/view/Atlas/DQ2ClientsHowTo#DatasetNameRules][Dataset naming rules.]] -- Main.AlastairDewhurst - 2010-01-29 * [[%ATTACHURLPATH%/preparelist.sh][preparelist.sh]]: macro to get file list
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
sh
preparelist.sh
r1
manage
0.1 K
2015-07-02 - 10:57
MonikaWielers
macro to get file list
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r10
<
r9
<
r8
<
r7
<
r6
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r10 - 2015-07-12
-
MonikaWielers
Home
Site map
Atlas web
CMS web
Computing web
Documentation web
PPDITForum web
LHCb web
Main web
PPDLabSpace web
Sandbox web
TWiki web
Atlas Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
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