hexfarm.rutgers.edu CDF Hints
Suggested CDF Procedures
Setup of CDF Software
The standard CDF software setup is:
source ~cdfsoft/cdf2.cshrc
setup cdfsoft2 {release #}
setup sam
setenv SAM_STATION cdf-rutgers
setenv CAF_CURRENT rutgers
Register as a user of SAM
Register as a SAM user. Ask to belong to working groups "test"
and "rutgers" at least. You can change the list at any time.
Submitting the CAF Job
The standard CAF job submission uses the option
--dataset z8v25z
or equivalent in the cafgui (use your own dataset_id).
This defines environ variable SAM_DATASET used below.
For other instructions, see the HEXCAF user guide. Or CafSubmit, CafGui.
CDF DHInput options
cache set SAM
include dataset $env(SAM_DATASET)
- DO NOT USE "cache set dcache" or the default.
- The "SAM" option uses the local SAM cache disk and will cause a
fetch from Fermilab if your requested files are not already present
in local SAM space. Files fetched will be kept locally until disk
space is needed for new requests so subsequent read requests will
not cause a fetch from Fermilab. Links on the web page above this
show what files and datasets are present locally.
- Rutgers secondary datasets are stored at Fermilab and are available
by the same "SAM" option.
- The rootd option works in the worker nodes as well as in hexfm1. It
enables the read of data from any CDF computing system that has the
rootd daemon working. Such daemons exist on fcdflnxN, the CAF
systems, and CDF Trailer computing systems. This option also
enables static disks to be read. Note that no local copy of files
are kept; the files are transferred directly into the user jobs.
- If there is SAM trouble with the delivery of files, help might
be available at cdfsam-admin@fnal.gov (do not use sam-admin@fnal.gov
even if the error message says to do so).
Export of Data
Data can be exported from the scratch or static data disks on
the farm by using the rootd daemon on
hexfs1. The DHInput syntax for a remote node to read the
data is "include file
root://hexfs1.rutgers.edu:1094//scr4/OTHER/amit/ele-etlp08_dst_remade/*"