Skip to content

Tutorials on getting started with CMS Analysis within the UA group

License

Notifications You must be signed in to change notification settings

uzzielperez/UACMS-Getting-Started

Repository files navigation

UACMS Getting Started

Tutorials on getting started with CMS Analysis within the UA group

CRAB Notes

Private Production

EOS at LPC

CMS EOS and FNAL EOS

eos root://cmseos.fnal.gov ls /store/user/cuperez
  • Example of copying a directory from FNAL EOS to CMS EOS (lxplus)
  xrdcp root://cmseos.fnal.gov//store/user/lpcml/cuperez/diphotonClosureTest root://eosuser.cern.ch//eos/cms/store/group/phys_exotica/diphoton/fullRun2/uzzie
  xrdcp -r root://cmseos.fnal.gov//store/user/cuperez/GluGluSpin0ToGammaGamma_W_0p014_M_750_TuneCP2_UL/RunIISummer20UL17_GEN root://eosuser.cern.ch//eos/cms/store/group/phys_exotica/diphoton/fullRun2/uzzie

Conda LPC

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O $HOME/nobackup/miniconda3.sh
bash $HOME/nobackup/miniconda3.sh -b -f -u -p $HOME/nobackup/miniconda3
source $HOME/nobackup/miniconda3/etc/profile.d/conda.sh

CERN GPUs

# To log-in to the GPUs to set up port forwarding to play with jupyter notebook
ssh -L localhost:4867:localhost:4867 <username>@cmslpcgpu1.fnal.gov # gpu1 2 or 3, for no gpu use @<username>@cmslpc-el9.fnal.gov as of May 2024
cd /uscms/home/<username>/nobackup/projects # Edit towards dir
source $HOME/nobackup/miniconda3/etc/profile.d/conda.sh
conda activate pyt_root
jupyter notebook --no-browser --port=4867 --ip 0.0.0.0

Conda Environment

conda env create --file pyt_root_env.yml
conda env update --name your_environment_name --file environment.yml # To update
#or do something like
conda install cudatoolkit=11.3
pip install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html # in case conda doesn't have the specific versions available like pip does

CMS Analysis Journey

About

Tutorials on getting started with CMS Analysis within the UA group

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published