Skip to Content.
Sympa Menu

atlas-connect-l - Re: [Atlas-connect-l] Setup HEP Root in nodes of MWT2

atlas-connect-l AT lists.bnl.gov

Subject: Atlas-connect-l mailing list

List archive

Chronological Thread  
  • From: David Lesny <ddl AT illinois.edu>
  • To: "Dr. Harinder Singh Bawa" <harinder.singh.bawa AT gmail.com>, atlas-connect-l <atlas-connect-l AT lists.bnl.gov>
  • Subject: Re: [Atlas-connect-l] Setup HEP Root in nodes of MWT2
  • Date: Thu, 5 Dec 2013 20:05:05 -0600

I believe what you are looking for is how to setup Atlas Local Root Base (ALRB),
which lives within the CVMFS repository atlas.cern.ch?

As part of your job, you can setup ARLB and ROOT with the following commands

export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
source $ATLAS_LOCAL_ROOT_BASE/user/atlasLocalSetup.sh
localSetupROOT --skipConfirm


I have some documentation and sample scripts that might help you with this at

http://twiki.mwt2.org/bin/view/Main/RCCSubmitIntoMWT2#Setting_up_a_working_environment

There is an example as to how to import a grid proxy, setup ARLB, etc

If you would like to see other examples, please let me know.

One item I should document is how to steer a job to a specific site (in this case MWT2 or Fresnostate)
You can use a requirement in your condor submit file which selects this

If you use the appropriate requirement in your condor submit file, your job will only run at MWT2 or Fresnostate
Requirements            = ( IS_RCC_mwt2 )
Requirements            = ( IS_RCC_fresnostate )

Perhaps it would also be useful if I automatically defined an environment variable when your job runs
that tells which  which site your job is at.  Then you could check in your script with something like

[[ $IS_RCC_mwt2 ]] && echo "Running at MWT2"

If that would be useful, it is very easy for me to add.

thanks, dave




On 12/5/2013 6:56 PM, Dr. Harinder Singh Bawa wrote:
Hello,

Is there any documentation as How ROOT can be setup in MWT2. I ran few basic jobs which is simple C code, it distributed and runs fine over the MWT2, FresnoT3
Now, What I am thinking is if I try to submit simple condor job which uses 1 rootfile and fetch say number of entries in a cutflow or any histogram. I need to take that 1 rootfile over number of nodes where my job runs. 


Then Setup the ROOT and fetch the ouput.

I know how to setup the Root in my nodes but dont know about MWT2. Could you give me directions if I can setup ATLAS environment in MWT2 cluster(ROOT automatically come inside that environment)

AM I thinking reasonably?:)




PS:
[hbawa@login ~]$ histogram hbawa
Val          |Ct (Pct)     Histogram
mwt2.org     |181 (57.83%) 
csufresno.edu|132 (42.17%)




--
Dr. Harinder Singh Bawa

                                          
[web][facebook][youtube][twitter]




_______________________________________________
Atlas-connect-l mailing list
Atlas-connect-l AT lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/atlas-connect-l

--
David Lesny

David Lesny

Senior Research Physicist

High Energy Physics
University of Illinois at Urbana-Champaign

Office: 217-333-4972  |  Fax: 217-333-4990

Skype: ddlesny | mwt2-ddlesny




Archive powered by MHonArc 2.6.24.

Top of Page