arrow-left
All pages
gitbookPowered by GitBook
1 of 3

Loading...

Loading...

Loading...

Arm Forge

Arm Forgearrow-up-right is available on Oscar. There are two products, DDT (debugger) and MAP (performance reports).

We recommend you use the Arm Forge remote client to launch your debugging jobs on Oscar. The first time you set up Arm Forge you will need to configure the client with the following steps:

  1. Download the arm forge remote clientarrow-up-right on your machine.

  2. Configuring Remote Launch from the client

circle-info

Compile your code with -g so you can see the source code in your debugging session

Arm DDT

Arm DDT is a powerful graphical debugger suitable for many different development environments, including:

  • Single process and multithreaded software.

  • OpenMP.

  • Parallel (MPI) software.

hashtag
Arm MAP

Arm MAP is a parallel profiler that shows you which lines of code took the most time to run, and why. Arm MAP does not require any complicated configuration, and you do not need to have experience with profiling tools to use it.

Arm MAP supports:

  • MPI, OpenMP and single-threaded programs.

  • Small data files. All data is aggregated on the cluster and only a few megabytes written to disk, regardless of the size or duration of the run.

  • Sophisticated source code view, enabling you to analyze performance across individual functions.

  • Both interactive and batch modes for gathering profile data.

  • A rich set of metrics, that show memory usage, floating-point calculations and MPI usage across processes, including:

    • Percentage of vectorized instructions, including AVX extensions, used in each part of the code.

    • Time spent in memory operations, and how it varies over time and processes, to verify if there are any cache bottlenecks.

    • A visual overview across aggregated processes and cores that highlights any regions of imbalance in the code.

  • Set up Job Submission Settings

    Configuring Remote Launch

    hashtag
    Configuring Remote Launch from the client

    You will need to configure remote launch for Oscar

    1. Open the client on your machine

    2. Click 'Remote Launch' -> Configure

    3. Add [email protected] as the Host Name

    4. Add /gpfs/runtime/opt/forge/19.1.2 as the Remote Installation Directory

    5. Test Remote Launch. You should enter the password used for Oscar. If successful you should see the message Remote Launch test completed successfully

    circle-info

    If you have a mismatch between your client version on the version of Forge on Oscar you will see an error message. To fix this make sure you are using compatible client and remote versions

    circle-info

    Once you are connected you will see a Licence checked out and "Connected to [email protected]' on the client.

    Setting Job Submission Settings

    We have provided templates for you to use for job submission settings. These templates are in/gpfs/runtime/opt/forge/19.1.2/templates

    Click Run and debug a program to open the following menu

    Click Configure next to Submit to Queue and enter /gpfs/runtime/opt/forge/19.1.2/templates/slurm-ccv.qtf as the Submission template file

    circle-info

    slurm-ccv-qtf lets you specify the total number of tasks. The number of tasks may not be equal for each node. This option will be the shortest time in the queue, but may not give you consistent run times.

    slurm-ccv-mpi.qtf is for MPI jobs where you want to specify number of nodes and tasks per node

    slurm-ccv-threaded.qtf is for threaded (single node) jobs

    Remote launch settings for Ocsar