Skip to content

gparida/ShortExerciseTrigger2022

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

Trigger Short Exercise 2021

Trigger short exercise CMS DAS @ Fermilab LPC, January 2022

See DAS twiki for detailed instructions: https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideCMSDataAnalysisSchoolLPC2021TriggerExercise

Jupyter noteboooks

If you want to use Jupyter notebooks on cmslpc, please review the content of your ~/.ssh/config file on your system by executing:

cat ~/.ssh/config

In case the file does already contain the following lines, add:

Host cmslpc*.fnal.gov
    StrictHostKeyChecking no
    UserKnownHostsFile /dev/null

When you log into cmslpc, add a -L option to your ssh command:

ssh -L localhost:8888:localhost:8888 <YOUR USERNAME>@cmslpc-sl7.fnal.gov

Then you can make your area

source /cvmfs/cms.cern.ch/cmsset_default.csh
setenv SCRAM_ARCH slc7_amd64_gcc700
cd nobackup/
cmsrel CMSSW_10_6_25
cd CMSSW_10_6_25/src
cmsenv
git clone https://github.com/ahenckel/ShortExerciseTrigger2021.git
scram b -j 4

And start Jupyter with this command:

jupyter notebook --no-browser --port=8888 --ip 127.0.0.1

After a pause (while cmslpc loads the necessary libraries for the first time) you should see a message like the following:

[I 08:22:45.871 NotebookApp] Serving notebooks from local directory: /uscms_data/d2/pivarski/CMSSW_9_0_0_pre6/src
[I 08:22:45.871 NotebookApp] 0 active kernels 
[I 08:22:45.871 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[I 08:22:45.871 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 08:22:45.873 NotebookApp] 
    
    Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:
        http://localhost:8888/?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

About

Exercises for CMS DAS at Fermilab LPC, Jan 2020

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 47.1%
  • Python 33.6%
  • Jupyter Notebook 12.0%
  • C 7.3%