Difference between revisions of "LST1School2021 MVA"
Line 9: | Line 9: | ||
ssh -NfL localhost:8889:localhost:8889 NAME.SURNAME@cp01 | ssh -NfL localhost:8889:localhost:8889 NAME.SURNAME@cp01 | ||
Open URL of notebook in local browser | Open URL of notebook in local browser | ||
+ | </pre> | ||
+ | |||
+ | * Install lstchain in your local machine | ||
+ | <pre style="color: blue"> | ||
+ | LSTCHAIN_VER=0.8.3 | ||
+ | wget https://raw.githubusercontent.com/cta-observatory/cta-lstchain/v$LSTCHAIN_VER/environment.yml | ||
+ | conda env create -n lst -f environment.yml | ||
+ | conda activate lst | ||
+ | pip install lstchain==$LSTCHAIN_VER | ||
+ | pip install lstmcpipe==0.5.1 | ||
+ | </pre> | ||
+ | |||
+ | * Repository of example notebooks: [https://github.com/cta-observatory/2022_01_lstchain_school 2022_01_lstchain_school] | ||
+ | |||
+ | * Install school software/data in your local machine | ||
+ | https://github.com/cta-observatory/2022_01_lstchain_school/blob/main/README.md | ||
+ | <pre style="color: blue"> | ||
+ | conda install -c conda-forge -n base mamba | ||
+ | |||
+ | git clone https://github.com/cta-observatory/2022_01_lstchain_school.git | ||
+ | cd 2022_01_lstchain_school | ||
+ | |||
+ | mamba env create -f environment.yml | ||
+ | mamba activate lst-school-2022-01 | ||
+ | </pre> | ||
+ | |||
+ | * LST1 + MAGIC analysis | ||
+ | <pre style="color: blue"> | ||
+ | ssh cp01 | ||
+ | source /fefs/aswg/software/conda/etc/profile.d/conda.sh | ||
+ | conda activate lst-school-2022-01-magic-lst1 | ||
+ | jupyter notebook --no-browser | ||
+ | ssh -NfL localhost:8889:localhost:8889 monica.vazquez@cp01 | ||
+ | </pre> | ||
+ | |||
+ | *GAMMALEARN | ||
+ | <pre style="color: blue"> | ||
+ | cd /Users/monicava/LSTSCHOOL3/2022_01_lstchain_school/gammalearn | ||
+ | mamba env create -f environment_glearn.yml | ||
+ | conda activate glearn | ||
</pre> | </pre> |
Revision as of 10:25, 8 February 2022
- Login in La Palma cluster instructions: Requirements.pdf
- Running remote notebook in the La Palma IT cluster
ssh cp01 source /fefs/aswg/software/conda/etc/profile.d/conda.sh conda activate lstchain-v0.8.2 jupyter notebook --no-browser ssh -NfL localhost:8889:localhost:8889 NAME.SURNAME@cp01 Open URL of notebook in local browser
- Install lstchain in your local machine
LSTCHAIN_VER=0.8.3 wget https://raw.githubusercontent.com/cta-observatory/cta-lstchain/v$LSTCHAIN_VER/environment.yml conda env create -n lst -f environment.yml conda activate lst pip install lstchain==$LSTCHAIN_VER pip install lstmcpipe==0.5.1
- Repository of example notebooks: 2022_01_lstchain_school
- Install school software/data in your local machine
https://github.com/cta-observatory/2022_01_lstchain_school/blob/main/README.md
conda install -c conda-forge -n base mamba git clone https://github.com/cta-observatory/2022_01_lstchain_school.git cd 2022_01_lstchain_school mamba env create -f environment.yml mamba activate lst-school-2022-01
- LST1 + MAGIC analysis
ssh cp01 source /fefs/aswg/software/conda/etc/profile.d/conda.sh conda activate lst-school-2022-01-magic-lst1 jupyter notebook --no-browser ssh -NfL localhost:8889:localhost:8889 monica.vazquez@cp01
- GAMMALEARN
cd /Users/monicava/LSTSCHOOL3/2022_01_lstchain_school/gammalearn mamba env create -f environment_glearn.yml conda activate glearn