Using Jupyter notebooks on the frontends: Difference between revisions

From Tycho
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
</pre>
</pre>


Some command lines down, it should appear a text saying "Or copy and paste one of these URLs" followed by the URLs links. Copy & Paste any of those two links in your browser and you should be able to navigate into your home directory through the Jupyter server
After some command lines down, it should appear a text saying "Or copy and paste one of these URLs" followed by the URLs links. Copy & Paste any of those two links in your browser and you should be able to navigate into your home directory through the Jupyter server in your browser.

Revision as of 13:02, 15 November 2023

Remote data analysis, compilations, and short test runs are possible by using Jupyter notebooks. The configuration for a Jupyter notebook server has to be done after loading the python module. As of August 3, 2021 the system version of python is 3.8.11. To access the python module provided by Anaconda3-2021.05 type in the terminal:

>> module load python/anaconda3

This loads many packages, including ipython, Jupyter and YT. If additional packages are needed in the Anaconda environment, contact Andrius.

To call jupyter-lab without background type in the terminal:

>> jupiter-lab --no-browser

It is possible to call jupyter-lab using background, type in the terminal:

>> nohup jupyter-lab --no-browser >& jlog &

it should appear an ID number of your job.

To check the URL to use and open the Jupyter kernel in the browser type in the terminal:

>> cat jlog

After some command lines down, it should appear a text saying "Or copy and paste one of these URLs" followed by the URLs links. Copy & Paste any of those two links in your browser and you should be able to navigate into your home directory through the Jupyter server in your browser.