# Ansys Mechanical and CFX Launchers for Open Ondemand and Slurm

**URL:** https://discourse.openondemand.org/t/ansys-mechanical-and-cfx-launchers-for-open-ondemand-and-slurm/4780
**Category:** General Discussion
**Tags:** ondemand2, question
**Created:** [March 4, 2026, 4:22pm UTC](https://discourse.openondemand.org/t/ansys-mechanical-and-cfx-launchers-for-open-ondemand-and-slurm/4780 "2026-03-04T16:22:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![markl5](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/markl5/32/3310_2.png) [@markl5](https://discourse.openondemand.org/u/markl5)
#### Post date: [March 4, 2026, 4:22pm UTC](https://discourse.openondemand.org/t/ansys-mechanical-and-cfx-launchers-for-open-ondemand-and-slurm/4780/1 "2026-03-04T16:22:53Z")

</div>

Doing a POC of Ondemand and Slurm to replace PBSpro. Been trying to write my own Ansys Mechanical and CFX launchers. Decided I can’t be the first person to want to run this combination. Can anyone point me to job launchers for Ansys Mechanical and CFX.

Thanks,

Mark

---

<div class="post-metadata">

### Author: ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)
#### Post date: [March 4, 2026, 5:30pm UTC](https://discourse.openondemand.org/t/ansys-mechanical-and-cfx-launchers-for-open-ondemand-and-slurm/4780/2 "2026-03-04T17:30:03Z")

</div>

Hi and welcome!

You can take a look at our production application as an example: [GitHub - OSC/bc\_osc\_ansys\_workbench: Batch Connect - OSC ANSYS Workbench · GitHub](https://github.com/OSC/bc_osc_ansys_workbench)

I don’t think there’s much difference between the schedulers, though you’d have to use `srun` instead of `pbsdsh`. We used to run Moab/Torque which may be similar to PBSpro.

I tracked down this change to support our Owens cluster when we migrated to Slurm.

> <https://github.com/OSC/bc_osc_ansys_workbench/pull/27/files>
>
> use srun to parallelize if the cluster is slurm.
> 
> I'm putting this in draft in…itially just because I need some confirmation that the srun command is really the equivalent of the pbsdsh.

---

<div class="post-metadata">

### Author: ![markl5](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/markl5/32/3310_2.png) [@markl5](https://discourse.openondemand.org/u/markl5)
#### Post date: [March 4, 2026, 5:48pm UTC](https://discourse.openondemand.org/t/ansys-mechanical-and-cfx-launchers-for-open-ondemand-and-slurm/4780/3 "2026-03-04T17:48:26Z")

</div>

Thanks Jeff – Using OOD for Workbench will be a later project. Right now I trying to do batch Ansys and CFX Solver jobs to a 3 node cluster for POC purposes. Any idea where I could look for that.

I tried to write the form and manifest yml files and the submit.yml.erb, but I can’t even get them to display the job launchers much less trigger a job submission.

We have our own Web Gui supported in house that submits to PBSpro. But, Altair has licensing terms are getting problematic, so looking to move to Slurm. This is just a pilot project right now.

---

<div class="post-metadata">

### Author: ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)
#### Post date: [March 4, 2026, 7:18pm UTC](https://discourse.openondemand.org/t/ansys-mechanical-and-cfx-launchers-for-open-ondemand-and-slurm/4780/4 "2026-03-04T19:18:50Z")

</div>

I may not be as experienced in Ansys to really answer you here.

From what I recall by updating our scripts ourselves is really just translating PBS-like CLI args like `ppn=12` to Slurm CLI args (`-n 12` in this example).

Then while within the job script replacing the `pbsdash` command with `srun`.

Or maybe these files can help - [bc\_osc\_ansys\_workbench/template/cfx\_assets/start-methods.ccl.erb at master · OSC/bc\_osc\_ansys\_workbench · GitHub](https://github.com/OSC/bc_osc_ansys_workbench/blob/master/template/cfx_assets/start-methods.ccl.erb) where we use `mpirun` for parallelization.

Or maybe [bc\_osc\_ansys\_workbench/template/bin/fluent\_info at master · OSC/bc\_osc\_ansys\_workbench · GitHub](https://github.com/OSC/bc_osc_ansys_workbench/blob/master/template/bin/fluent_info) where we spit out a small text list to inform the user on how to fill in the form in the Ansys UI.

Or maybe you can check out [bc\_osc\_ansys\_workbench/template/script.sh.erb at master · OSC/bc\_osc\_ansys\_workbench · GitHub](https://github.com/OSC/bc_osc_ansys_workbench/blob/master/template/script.sh.erb) to see how we write out a $CFX5\_HOSTS\_CCL script for submission.

As you can see, that repo has a lot of infrastructure writing files and so on to get Ansys to respond to/look at.

> [@markl5](#):
>
> Right now I trying to do batch Ansys and CFX Solver jobs to a 3 node cluster for POC purposes

Your use of `form`, `manifest` and `submit.yml.erb` suggest to me you’re creating an interactive application, not a batch job.

---

<div class="post-metadata">

### Author: ![markl5](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/markl5/32/3310_2.png) [@markl5](https://discourse.openondemand.org/u/markl5)
#### Post date: [March 4, 2026, 7:30pm UTC](https://discourse.openondemand.org/t/ansys-mechanical-and-cfx-launchers-for-open-ondemand-and-slurm/4780/5 "2026-03-04T19:30:53Z")

</div>

Thanks for the Info, Jeff. I’ll check it out.
