Tutorials on getting started with CMS Analysis within the UA group
- https://twiki.cern.ch/twiki/bin/view/CMSPublic/CRAB3FAQ
- https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookCRAB3Tutorial
- https://uscms.org/uscms_at_work/computing/LPC/usingEOSAtLPC.shtml
- https://uscms.org/uscms_at_work/computing/LPC/usingEOSAtLPC.shtml#eosQuotaIncrease
- https://uscms.org/uscms_at_work/computing/LPC/additionalEOSatLPC.shtml
- Example of command to ls
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
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
- CMSLPC - https://uscms.org/uscms_at_work/computing/setup/gpu.shtml
- LXPLUS - https://clouddocs.web.cern.ch/gpu/index.html
# 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 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