Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Opening a Jupyter Lab instance

You can also use ecinteractive to open up a Jupyter Lab instance on the HPCF.  The application would effectively run on the allocated node for the job, and would allow you to conveniently interact with it from your browser. When running from VDI or your end user device, ecinteractive will try to open it in a new tab automatically. Alternatively you may manually open the URL provided to connect to your Jupyter Lab session.

...

Expand
titleHow to connect to the Jupiter Lab instance from web browser on your end user device
  • Authenticate with Teleport using jump.ecmwf.int as described in the  Teleport SSH Access page
  • Copy ecinteractive script from hpc to your local machine:

    Code Block
    languagebash
    scp username@hpc-login:/usr/local/bin/ecinteractive .


  • Run ecinteractive script on your local machine:

    Code Block
    languagebash
    ./ecinteractive -u username -j

    "-u" should be used to provide ECMWF username if username on your local machine doesn't match username on the Atos HPC.

  • The ecinteractive job will start, new tab will automatically open on your web browser and attach to the Jupyter server running on the HPC. If not, you will get a link which can be used on your local machine only to paste it manually into the web browser. It should look like this:

    http://localhost:.....

  • To kill your ecinteractive job from the local machine use:

    Code Block
    languagebash
    ./ecinteractive -p hpc -k -u username


...