Versions Compared

Key

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

This is a custom Confluence template that is intended to be re-used in the creation of workshops presented by ARCC on the Wiki. All of the content in these sections is intended to be replaced by the author of the workshop. The first step in this style guide is to ensure that the the page is in wide mode to maximize the real estate for content when possible. The Title of the Page should be the same as the Title of the workshop and this section should include a quick intro to the topic, why it’s important for ARCC users, and what users should expect to get out of this workshop. Next should be a Table of Contents macro in vertical format. The Table is intended to be used as an agenda section for presenter mode as well as navigation for non-presenting viewing so that users can find the documentation and navigate to what they need to brush up on. Finally, at the end of each section, there should be a divider to indicate the separation of “slides”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, MATLAB, and Paraview interactive applications working. Jupyter Notebooks will be covered in another workshop.

...

Table of Contents
minLevel1
maxLevel1
outlinefalse
stylenone
typelist
printabletrue

Headers and Sections

...

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

...

Interactive Desktop

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. 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.

...