--- title: ANSYS RSM (Remote Resolve Manager) #tags: keywords: software, ansys, rsm, slurm, interactive, rsm, windows last_updated: 23 August 2024 summary: "This document describes how to use the ANSYS Remote Resolve Manager service in the Merlin7 cluster" sidebar: merlin7_sidebar permalink: /merlin7/ansys-rsm.html --- ## ANSYS Remote Resolve Manager **ANSYS Remote Solve Manager (RSM)** is used by ANSYS Workbench to submit computational jobs to HPC clusters directly from Workbench on your desktop. {{site.data.alerts.warning}} Merlin7 is running behind a firewall, however, there are firewall policies in place to access the Merlin7 ANSYS RSM service from the main PSI networks. If you can not connect to it, please contact us, and please provide the IP address for the corresponding workstation: we will check the PSI firewall rules in place and request for an update if necessary. {{site.data.alerts.end}} ### The Merlin7 RSM service A RSM service is running on a dedicated Virtual Machine server. This service will listen a specific port and will process any request using RSM (in example, from ANSYS users workstations). The following nodes are configured with such services: * `merlin7-ansys-rsm.psi.ch` The earliest version supported in the Merlin7 cluster is ANSYS/2022R2. Older versions are not supported due to existing bugs or missing functionalities. In case you strongly need to run an older version, please do not hesitate to contact the Merlin admins. ## Configuring RSM client on Windows workstations Users can setup ANSYS RSM in their workstations to connect to the Merlin7 cluster. The different steps and settings required to make it work are that following: 1. Open the RSM Configuration service in Windows for the ANSYS release you want to configure. 2. Right-click the **HPC Resources** icon followed by **Add HPC Resource...** ![Adding a new HPC Resource]({{ "/images/ANSYS/merlin7/rsm-1-add_hpc_resource.png" }}) 3. In the **HPC Resource** tab, fill up the corresponding fields as follows: ![HPC Resource]({{"/images/ANSYS/merlin7/rsm-2-add_cluster.png"}}) * **"Name"**: Add here the preffered name for the cluster. For example: `Merlin7 cluster` * **"HPC Type"**: Select `SLURM` * **"Submit host"**: `merlin7-rsm01.psi.ch` * **"Slurm Job submission arguments (optional)"**: Add any required Slurm options for running your jobs. * `--hint=nomultithread` must be present. * `--exclusive` must also be present for now, due to a bug in the `Slingshot` interconnect which does not allow running shared nodes. * Check **"Use SSH protocol for inter and intra-node communication (Linux only)"** * Select **"Able to directly submit and monitor HPC jobs"**. * **"Apply"** changes. 4. In the **"File Management"** tab, fill up the corresponding fields as follows: ![File Management]({{"/images/ANSYS/merlin7/rsm-3-add_scratch_info.png"}}) * Select **"RSM internal file transfer mechanism"** and add **`/data/scratch/shared`** as the **"Staging directory path on Cluster"** * Select **"Scratch directory local to the execution node(s)"** and add **`/scratch`** as the **HPC scratch directory**. * **Never check** the option "Keep job files in the staging directory when job is complete" if the previous option "Scratch directory local to the execution node(s)" was set. * **"Apply"** changes. 5. In the **"Queues"** tab, use the left button to auto-discover partitions ![Queues]({{"/images/ANSYS/merlin7/rsm-4-get_slurm_queues.png"}}) * If no authentication method was configured before, an authentication window will appear. Use your PSI account to authenticate. Notice that the **`PSICH\`** prefix **must not be added**. ![Authenticating]({{"/images/ANSYS/merlin7/rsm-5-authenticating.png"}}) * From the partition list, select the ones you want to typically use. * In general, standard Merlin users must use **`hourly`**, **`daily`** and **`general`** only. * Other partitions are reserved for allowed users only. * **"Apply"** changes. ![Select partitions]({{"/images/ANSYS/merlin7/rsm-6-selected-partitions.png"}}) 6. *[Optional]* You can perform a test by submitting a test job on each partition by clicking on the **Submit** button for each selected partition. {{site.data.alerts.tip}} In the future, we might provide this service also from the login nodes for better transfer performance. {{site.data.alerts.end}} ## Using RSM in ANSYS Using the RSM service in ANSYS is slightly different depending on the ANSYS software being used. Please follow the official ANSYS documentation for details about how to use it for that specific software. Alternativaly, please refer to some the examples showed in the following chapters (ANSYS specific software). ### Using RSM in ANSYS Fluent For further information for using RSM with Fluent, please visit the **[ANSYS RSM](/merlin7/ansys-fluent.html)** section. ### Using RSM in ANSYS CFX For further information for using RSM with CFX, please visit the **[ANSYS RSM](/merlin7/ansys-cfx.html)** section. ### Using RSM in ANSYS MAPDL For further information for using RSM with MAPDL, please visit the **[ANSYS RSM](/merlin7/ansys-mapdl.html)** section.