Using Jupyter notebooks on the frontends
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:
http://localhost:####/lab?token=...
or http://###.0.0.1:####/lab?token=...
"
where "####" is the localhost ID. 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.