Ansys Mechanical and CFX Launchers for Open Ondemand and Slurm

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

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

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.

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.

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 where we use mpirun for parallelization.

Or maybe bc_osc_ansys_workbench/template/bin/fluent_info at master · OSC/bc_osc_ansys_workbench · GitHub 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 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.

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

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