Page tree
Skip to end of metadata
Go to start of metadata

This article explains how to use the Remote Solve Manager (RSM) in ANSYS Workbench to submit ANSYS jobs to the SCITAS clusters (examples include updating design points and parameter sweeping in various ANSYS applications). It assumes that the two custom files for SLURM integration developed by the author (available at https://c4science.ch/source/scitas-examples/browse/master/Modules/Ansys/RSM/) are copied to the corresponding directories as follows:

/ssoft/spack/external/ansys/19.2/v192/RSM/Config/xml/hpc_commands_SLURM.xml

/ssoft/spack/external/ansys/19.2/v192/RSM/Config/scripts/slurmParsing.py

Also, in the file /ssoft/spack/external/ansys/19.2/v192/RSM/Config/xml/jobConfiguration.xml, the following lines should be added.

<keyword name="SLURM">

<hpcCommands name="hpc_commands_SLURM.xml"/>

</keyword>

(This pre-step has been done at the SCITAS clusters!)

Step-by-step guide

  1. Login to the cluster (say Deneb) and load the ANSYS module.

    module purge
    module load ansys
    module show ansys

  2. Launch the RSM Configuration application (only need to do the steps 2-4 once).

    /ssoft/spack/external/ansys/19.2/v192/RSM/Config/tools/linux/rsmclusterconfig

  3. Define RSM Configurations.

    • click + to create a new RSM configuration for the cluster and give the configuration a name (e.g., the name of the cluster);
    • specify information on HPC resource, File management, and Queues as shown below (submit host depends on the machine you use); 
  4. Quit the RSM Configuration application.
  5. Launch the ANSYS Workbench.

    runwb2

  6. Create/Open your workbench project file (.wbpj) saved in your scratch directory (recommended!).
    • For a design point update, right-click the Solution and select Properties to set the Update Option property to Run in Foreground;
    • Right-click the Parameter Set and select Properties to set the Update Option property to Submit to Remote Solve Manager;
    • From the RSM Queue drop box, select the queue (note: i.e. partition in slurm) that will be used for the job;
    • Set the Job Submission to One Job for Each Design Point;
    • Set the Number of Processes (i.e. the number of tasks per job) equal to or less than the maximum CPUs per node (for example, 16 for deneb, 28 for fidis);
    • Use the defaults for the other settings;
  7. Proceed with updating the project or design points. For example, select Update Project or Update All Design Points on the toolbar.


For a parameter sweeping in applications like Fluent, right-click the Solution and select Properties.

In the Solution Properties view, clear Use Setup Launcher Settings and set the Update Option property to Submit to Remote Solve Manager.

Then use the similar settings as in updating design point.