Versions Compared

Key

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

In the applications module in this tutorial the interactive applications were mentioned as available, but there are some nuances to getting them started and working for your use case. On this module we will go over getting the interactive desktop, MatLabMATLAB, and Paraview interactive applications working. Jupyter Notebooks will be covered in another module workshop.

...

Table of Contents
minLevel1
maxLevel1
outlinefalse
stylenone
typelist
printabletrue

...

Open OnDemand’s interactive desktop application enables users to use the MedicineBow HPC system as if it were a regular desktop computer that many are used to rather than a command line interface (CLI). However, since MedicineBow is a Linux based system, so is the interactive desktop and may not be as familiar as a Windows or Mac desktop.

Code Examples

Two Column Tables are nice ways to separate content/ Background info along with a code example on the same “Slide”. Please notice the table width. This should stop scroll bars from appearing

...

Bullets are nice to include for distinct points

...

yep

...

they

...

sure

...

Code Block
Please use the "code snippet" in the + button when creating code examples. Also please do not go
past the width of the table. This is to prevent scroll bars appearing













This is the Max number of code lines to show on an example

Straight Code - No context

Code Block
Limit to 16 lines in the example. 














This is the end

Same Thing With Images

...

Two Column Tables are nice ways to separate content/ Background info along with an image example on the same “Slide”. Please notice the table width. This should stop scroll bars from appearing

  • Bullets are nice to include for distinct points

  • yep

  • they

  • sure

  • are

    This is 14 lines

image-20240514-000033.pngImage Removed

Alternatively No Table

image-20240514-000127.pngImage Removed

Finally The End

...

Link to Previous sub-module or Home Module

...

On MedicineBow, the Xfce desktop environment is used to facilitate this functionality.

Before you use the interactive desktop be prepared that it will prompt you for:

  • Project/Account

  • Number of hours

  • Desktop Configuration for your CPU and RAM requirements

  • GPU requirements

...

Configuring the Desktop

In this simple example we configure the desktop with:

  • account

  • 1 hour

  • 1 cpu, 4GB

    • There are more options in the dropdown

  • No GPU

    • in the drop down the options are A30, L40s, and H100

image-20240722-163953.pngImage Added

...

Launching the Desktop

When launching the desktop, it will not open immediatley. What is happening is that the system is allocating the hardware needed and then submitting a job to a compute node to run.

Once it is ready, you will see a green bar that says it’s running.

To actually launch the desktop, you have to click the Launch button on the bottom of the box

image-20240722-172742.pngImage Added

image-20240722-172809.pngImage Added

...

Exploring the Desktop

Once launched, the desktop appears in the browser window, with familiar apps in the bottom menu bar like:

  • File browser image-20240722-173043.pngImage Added

  • Internet image-20240722-173057.pngImage Added

  • Terminal image-20240722-173118.pngImage Added

Some GUI applications can be launched in this desktop or manage files, etc.

image-20240722-172912.pngImage Added

...

MATLAB

Launching MATLAB is as similar process, the options are a little different where version of the software is one of them and the CPU and RAM options can be manually selected instead of a drop down.

...

Parallel Computing in MATLAB

If you’ve used Matlab before, you’ll be familiar with the window you see after launching. However, In order to use the parallel functionality of MATLAB, you have to set your environment.

...

Note

Also, be aware if you are running parallel, that by default, Matlab restricts you to 12 worker threads, so you’d need to override this if you needed by setting the poolobj = parapool (’local’, 24);

...

ParaView

Once again the process of launching the Paraview GUI is similar, but with different options:

...

Using Paraview

Once the application is launched, you will see the application running in your browser window.

...

Managing Interactive Sessions

It is a good practice to keep the number of interactive sessions you are working on in check. As each of these are using resources on MedicineBow, if you have many open sessions that are idle, you will be preventing other users from using them.

You can free up those resources by cancelling your sessions using the “Cancel” button image-20240722-175448.pngImage Added

image-20240722-175341.pngImage Added

...

Next Steps

Use the following link to provide feedback on this training: https://forms.gle/92CJWwULQdqL4hjm8 or use the QR code below.

...