Versions Compared

Key

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

...

Standard sessions on login nodes do not guarantee access to dedicated resources such as cpus or memory, and strict limits on those are imposed. For interactive sessions with dedicated resources we will use ecinteractive

It is installed and available on all the Atos HPCF and ECS nodes, as well as the VDI. If you are connecting from your own computer with teleport, you can download it and run it there (only Mac, Linux or Windows WSL are supported).

  1. Can you get a dedicated interactive session with 10 GB of memory and 4 cpus for 8 hours?

    Expand
    titleSolution

    You can use ecinteractive . It is installed and available on all the Atos HPCF and ECS nodes, as well as the VDI, so you can run it from therelike so:

    No Format
    ecinteractive -c 4 -m 10 -t 8:00

    This will create an interactive job with the requested configuration and land you on a shell in a given node.If you are connecting from your own computer via teleport, you can download it and run it there (no Windows native support, only Mac, Linux or WSL supported).

    Note that by default and unless ran directly on ECS, ecinteractive will use HPCF as the backend. If you wish to force the session to be on ECS, you can dopass the extra option -p ecs

    No Format
    ecinteractive -p ecs -c 4 -m 10 -t 8:00



  2. Log out of that interactive session. Can you reattach to it?

    Expand
    titleSolution

    Your job kept running in the background, and there can only be one interactive job per user. You can attach as many concurrent shells to the same interactive session, for example in different terminal tabs, with:

    No Format
    ecinteractive

    If on ECS, you may want need to run:

    No Format
    ecinteractive -p ecs



  3. How can you get information (amount of resources, time left, etc) of your active ecinteractive session?

    Expand
    titleSolution

    At any point, from any session, you can query ecinteractive for any active sessions with:

    No Format
    ecinteractive -q

    If on ECS, you may want need to run:

    No Format
    ecinteractive -p ecs -q



  4. Cancel your interactive session

    Expand
    titleSolution


    No Format
    ecinteractive -k

    If on ECS, you may want need to run:

    No Format
    ecinteractive -p ecs -k



  5. We can also use ecinteractive to open a JupyterLab instance on the Atos HPCF or ECS. Start a JupyterLab session with 4 GB of memory. When you are happy, cancel the ecinteractive job, since only closing the browser tab will not stop the session.

    Tip
    titleWhere to run it

    You must run ecinteractive from either VDI or your own computer. If you run the command on the Atos HPCF or ECS, it will not be able to open any browser window.


    Expand
    titleSolution

    From VDI or your own computer, you can start up jupyter like so

    No Format
    ecinteractive -j -m 4

    If you want to start it on ECS, you will need to do

    No Format
    ecinteractive -j -m 4 -p ecs


    No Format
    ecinteractive -k

    If on ECS, you may want need to run:

    No Format
    ecinteractive -p ecs -lk

    If you still have the JupiterLab tab open in your browser, you will notice it will stop working.