Cluster Account Setup

From Daya Bay
Jump to navigation Jump to search

This topic describes how to set up Daya Bay software on the various clusters collaboration clusters. See also Category:Clusters topic.

Per cluster setup

IHEP cluster

See the dbp:IHEPUserGuide topic.

PDSF at LBNL

See the dbp:PDSFUserGuide topic.

Running a tutorial example

The following will build the TESDemoData and TESDemo packages in the tutorial, you can easily modify this to execute your own codes.

 . /common/dayabay/global/NuWa/NuWa-1.6.0/setup.sh
 cd <workarea>/tutorial/TESDemoData/cmt
 cmt config
 . setup.sh
 gmake
 cd ../../TESDemo/cmt
 cmt config
 . setup.sh
 gmake
 ../share/RunTESDemo.py

Coop at BNL

Use of coop is deprecated in favor of working on the BNL RACF Cluster.

Pre-installed releases

The user "dayabay" has the most recent release of the offline software up and running for you! They are installed into

~dayabay/offline/NuWa-RELEASE/

Replace RELEASE with your desired and available release. To set up your environment do the following:

cd ~dayabay/offline/NuWa-RELEASE/
source setup.sh     # or setup.csh
cd dybgaudi/DybRelease/cmt
source setup.sh     # or setup.csh

You can now use this release or do further setup for your own packages. Go back to Getting Started to see how.

RACF at BNL

See BNL RACF Cluster.

Onsite Offline Cluster

See Onsite Cluster.

Generic "Legacy" Setup

In general a site's local setup is stored in the

External/SITE/cmt/requirements 

file (see dbp:BuildSystem) and each site is recomended to commit their requirements file to that area under the name requirements.SITE_NAME.

See below for cluster-specific environment setup. Once that is done you can setup your environment for the specific top-level package you will want to run. This is independent of the specific cluster environment.

For example, to use the MC:


cd /path/to/your/code/G4dyb/cmt
cmt br cmt config
cmt br make
source setup.sh
G4dybApp.exe somefile.mac


The cmt br cmt config and cmt br make are only needed in initial installation, or any time you update and rebuild the software.