From b56eaf9426cf6118b3900928f7d863d9fd815f57 Mon Sep 17 00:00:00 2001 From: vonka_j Date: Sat, 27 Aug 2022 18:51:43 +0000 Subject: [PATCH 1/9] Added remote access info --- computing.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/computing.md b/computing.md index 77e3003..33e520c 100644 --- a/computing.md +++ b/computing.md @@ -67,3 +67,14 @@ The `git` installed on the cristallina consoles is from 2015, so we can use cond sf_data is installed directly from github (using python ensures that the activated environment site-packages is used): python -m pip install git+https://github.com/paulscherrerinstitute/sf_datafiles@master + +## Remote access (for users) +#Through hop.psi.ch (nicer way) +Connect to PSI network for data access +`ssh -L user_name@hop.psi.ch user_name@ra.psi.ch -L5000:jupytera.psi.ch:443` +after that, just open the browser and type: +`https://localhost:5000/hub/login` +#Through NoMachine +see https://gitlab.psi.ch/maloja/docs/-/wikis/python/Getting-started + + From f34c4386571f7d9ce6891ca7270b479b17ed0415 Mon Sep 17 00:00:00 2001 From: vonka_j Date: Sat, 27 Aug 2022 18:52:13 +0000 Subject: [PATCH 2/9] Update computing.md --- computing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/computing.md b/computing.md index 33e520c..dbebd94 100644 --- a/computing.md +++ b/computing.md @@ -72,8 +72,10 @@ python -m pip install git+https://github.com/paulscherrerinstitute/sf_datafiles@ #Through hop.psi.ch (nicer way) Connect to PSI network for data access `ssh -L user_name@hop.psi.ch user_name@ra.psi.ch -L5000:jupytera.psi.ch:443` + after that, just open the browser and type: `https://localhost:5000/hub/login` + #Through NoMachine see https://gitlab.psi.ch/maloja/docs/-/wikis/python/Getting-started From 4819b091be82c4ff04b74c58b19dad3440b9128d Mon Sep 17 00:00:00 2001 From: vonka_j Date: Sat, 27 Aug 2022 18:52:43 +0000 Subject: [PATCH 3/9] Fixed formatting --- computing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/computing.md b/computing.md index dbebd94..9920827 100644 --- a/computing.md +++ b/computing.md @@ -69,14 +69,14 @@ sf_data is installed directly from github (using python ensures that the activat python -m pip install git+https://github.com/paulscherrerinstitute/sf_datafiles@master ## Remote access (for users) -#Through hop.psi.ch (nicer way) +# Through hop.psi.ch (nicer way) Connect to PSI network for data access `ssh -L user_name@hop.psi.ch user_name@ra.psi.ch -L5000:jupytera.psi.ch:443` after that, just open the browser and type: `https://localhost:5000/hub/login` -#Through NoMachine +# Through NoMachine see https://gitlab.psi.ch/maloja/docs/-/wikis/python/Getting-started From a5513fc856888e6b51c9ae773194dd640dd6eb6f Mon Sep 17 00:00:00 2001 From: vonka_j Date: Sat, 27 Aug 2022 18:53:30 +0000 Subject: [PATCH 4/9] Fixed formatting again --- computing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/computing.md b/computing.md index 9920827..c3b7956 100644 --- a/computing.md +++ b/computing.md @@ -68,15 +68,15 @@ sf_data is installed directly from github (using python ensures that the activat python -m pip install git+https://github.com/paulscherrerinstitute/sf_datafiles@master -## Remote access (for users) -# Through hop.psi.ch (nicer way) +# Remote access (how can users get to RA) +## Through hop.psi.ch (nicer way) Connect to PSI network for data access `ssh -L user_name@hop.psi.ch user_name@ra.psi.ch -L5000:jupytera.psi.ch:443` after that, just open the browser and type: `https://localhost:5000/hub/login` -# Through NoMachine +## Through NoMachine see https://gitlab.psi.ch/maloja/docs/-/wikis/python/Getting-started From 1d4152ee5badcbc0c8984b4ed11df0eb364316ed Mon Sep 17 00:00:00 2001 From: vonka_j Date: Thu, 15 Sep 2022 12:25:02 +0000 Subject: [PATCH 5/9] Update computing.md --- computing.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/computing.md b/computing.md index c3b7956..ead63ed 100644 --- a/computing.md +++ b/computing.md @@ -79,4 +79,13 @@ after that, just open the browser and type: ## Through NoMachine see https://gitlab.psi.ch/maloja/docs/-/wikis/python/Getting-started +# Setting up the cluster: +This is a short summary of the steps to be followed to access the experimental data and the compute resources available for Cristallina users. + +# Copy the bash +Once on ra (ssh user_name@ra.psi.ch as described above), copy the bash file: +`ln -s /sf/cristallina/bin/setting_up_ra.sh` +and run it +`sh setting_up_ra.sh` +This should set up the working python enviroments. For the analysis, please use the 'analysis' enviroment, which is set as a default one. From 89d01bfbc05d195c1a8a5bef33e53e68e248b1ca Mon Sep 17 00:00:00 2001 From: vonka_j Date: Thu, 15 Sep 2022 12:25:41 +0000 Subject: [PATCH 6/9] Update computing.md --- computing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/computing.md b/computing.md index ead63ed..d52dfa4 100644 --- a/computing.md +++ b/computing.md @@ -85,7 +85,9 @@ This is a short summary of the steps to be followed to access the experimental d # Copy the bash Once on ra (ssh user_name@ra.psi.ch as described above), copy the bash file: `ln -s /sf/cristallina/bin/setting_up_ra.sh` + and run it `sh setting_up_ra.sh` + This should set up the working python enviroments. For the analysis, please use the 'analysis' enviroment, which is set as a default one. From 9e3f19e655bdfa4cea4a432054bbed507ad76abd Mon Sep 17 00:00:00 2001 From: vonka_j Date: Thu, 15 Sep 2022 12:26:23 +0000 Subject: [PATCH 7/9] Update computing.md --- computing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/computing.md b/computing.md index d52dfa4..00db12a 100644 --- a/computing.md +++ b/computing.md @@ -82,7 +82,7 @@ see https://gitlab.psi.ch/maloja/docs/-/wikis/python/Getting-started # Setting up the cluster: This is a short summary of the steps to be followed to access the experimental data and the compute resources available for Cristallina users. -# Copy the bash +### Copy the bash Once on ra (ssh user_name@ra.psi.ch as described above), copy the bash file: `ln -s /sf/cristallina/bin/setting_up_ra.sh` From e2f7821797eebed3f3875aa02d69846219fdd724 Mon Sep 17 00:00:00 2001 From: vonka_j Date: Thu, 15 Sep 2022 12:26:36 +0000 Subject: [PATCH 8/9] Update computing.md --- computing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/computing.md b/computing.md index 00db12a..87341f0 100644 --- a/computing.md +++ b/computing.md @@ -82,7 +82,7 @@ see https://gitlab.psi.ch/maloja/docs/-/wikis/python/Getting-started # Setting up the cluster: This is a short summary of the steps to be followed to access the experimental data and the compute resources available for Cristallina users. -### Copy the bash +### Copy the bash file Once on ra (ssh user_name@ra.psi.ch as described above), copy the bash file: `ln -s /sf/cristallina/bin/setting_up_ra.sh` From 979d4be6457496f479a0560cf8dd6cfc6907b1ab Mon Sep 17 00:00:00 2001 From: vonka_j Date: Thu, 15 Sep 2022 12:45:04 +0000 Subject: [PATCH 9/9] Update computing.md --- computing.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/computing.md b/computing.md index 87341f0..f13938d 100644 --- a/computing.md +++ b/computing.md @@ -82,12 +82,18 @@ see https://gitlab.psi.ch/maloja/docs/-/wikis/python/Getting-started # Setting up the cluster: This is a short summary of the steps to be followed to access the experimental data and the compute resources available for Cristallina users. -### Copy the bash file -Once on ra (ssh user_name@ra.psi.ch as described above), copy the bash file: -`ln -s /sf/cristallina/bin/setting_up_ra.sh` +### Set up the enviroments paths +Once on ra (ssh user_name@ra.psi.ch as described above), create a symbolic link to the bash file: +`ln -s /sf/cristallina/bin/setting_up_ra.sh ~` and run it `sh setting_up_ra.sh` This should set up the working python enviroments. For the analysis, please use the 'analysis' enviroment, which is set as a default one. +### Running own jupyter instance +Once on ra, copy the bash file: +`cp /sf/cristallina/bin/jupyter_on_ra.sh ~` +and run it. +This +