LPC Computing
Step 1: General setup and preparing the test directories
On this page we will describe the basic setup needed to set up the CMS software environment on the UAF. First, setup your environment as previously discussed.
Before we get started using the UAF to produce some events we want to create an area in pnfs where we permanently want to store some of the results. By default it is assumed that you want to use dcache to prmanantly store the data meanining the destination direectory is in the /pnfs.
mkdir /pnfs/cms/WAX/2/<your_user_name>
mkdir /pnfs/cms/WAX/2/<your_user_name>/test
The setup scirpt can be checked out from cvs:
cd /storage/data/<your_user_name>
setenv CVSROOT :pserver:anonymous@cdcvs.fnal.gov:/cvs/lpc
cvs login
Use password: lpc
cvs co Tutorials/muon
cd Tutorials/muon
mkdir top
We can use the setup_mumu.pl script to create scripts and job description files for us. The use of this scripts will be explained on the following pages.
setup_mumu.pl $PWD/top <your_user_name>@fnal.gov
/pnfs/cms/WAX/2/<your_user_name>/test dccp
will create some files in the scripts area that we will use later on.
Note: If you wish to use a disk area, you should use cp for the
copycommand.
cd top
source setup_tut.csh
will set up some useful environmental variables which will make it easier to navigate:
$TOP : Top of your tutorial area
$SCRIPTS : Area where most of the scripts and job description files are located
$Analysis : This is the area where we will analyse Root files etc.
$PNFS_PATH : Area in the pnfs files system where we store the final results.
Now we are set up and ready to go!