@@ -23,56 +23,17 @@ cmsenv
2323git clone git@github.com:FNALLPC/MDS_CMSDAS.git -b 2026
2424cd MDS_CMSDAS
2525~~~
26- {: .language-bash}
27-
28-
29- The following commands one has to do it * everytime you log in into a new session* . They load the
30- environment and the packages needed for the exercises and open a jupyter notebook:
31- ~~~
32- source /cvmfs/sft.cern.ch/lcg/views/LCG_105/x86_64-el9-gcc11-opt/setup.sh
33- jupyter notebook --no-browser --port=8888 --ip 127.0.0.1
34- ~~~
35- {: .language-bash}
36-
37- > ## Remember
38- > The port number ` 8888 ` needs to match the port number you log-in to ` cmslpc ` .
39- >
40- > If someone has taken the ` 8888 ` port on the cmslpc node, you will need to use another one.
41- {: .callout}
42-
43- If these two lines are running sucessfully, you should see something like this:
44- ~~~
45-
46- [I 12:55:39.283 NotebookApp] Serving notebooks from local directory: /uscms_data/d3/christiw/MDSDAS_test/CMSSW_14_1_0_pre4/src/MDS_CMSDAS
47- [I 12:55:39.283 NotebookApp] Jupyter Notebook 6.4.0 is running at:
48- [I 12:55:39.283 NotebookApp] http://127.0.0.1:8888/?token=230ce3a068580ce4d808fde4b44c8575ebe4ae0fbb7d4b4f
49- [I 12:55:39.283 NotebookApp] or http://127.0.0.1:8888/?token=230ce3a068580ce4d808fde4b44c8575ebe4ae0fbb7d4b4f
50- [I 12:55:39.283 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
51- [C 12:55:39.321 NotebookApp]
52-
53- To access the notebook, open this file in a browser:
54- file:///uscms/homes/c/christiw/.local/share/jupyter/runtime/nbserver-412704-open.html
55- Or copy and paste one of these URLs:
56- http://127.0.0.1:8888/?token=230ce3a068580ce4d808fde4b44c8575ebe4ae0fbb7d4b4f
57- or http://127.0.0.1:8888/?token=230ce3a068580ce4d808fde4b44c8575ebe4ae0fbb7d4b4f
58- ~~~
59- {: .output}
60-
61- Copy and paste one of the last two urls in your favorite browser and now you can continue with the lesson 1 (Episode 1).
62-
6326
6427## Useful tips
6528
66- Since we launch jupyter server frequently, you can make an ` alias ` for that command in your ` ~/.bashrc ` file
29+ You can make an ` alias ` for that command in your ` ~/.bashrc ` file
6730~~~
6831alias sourcelcg='source /cvmfs/sft.cern.ch/lcg/views/LCG_105/x86_64-el9-gcc11-opt/setup.sh'
69- alias launchJupyter='jupyter notebook --no-browser --port=8888 --ip 127.0.0.1'
7032~~~
7133{: .language-bash}
7234then you can just do
7335~~~
7436sourcelcg
75- launchJupyter
7637~~~
7738after you login.
7839{: .language-bash}
0 commit comments