Skip to content

Launch Mechanical on an HPC Cluster via Slurm and execute a python script. #1444

@dipinknair

Description

@dipinknair

Discussed in #1409

Originally posted by oliadag November 20, 2025
Hello all,

I am trying to launch Mechanical on an HPC Cluster using SLURM and then execute a Python script.

ansys-mechanical — PyMechanical

However, when I run the above CLI command, I encountered the attached error.

For reference, I have included the Python script, the Slurm submission script, and the log file for your reference.

Do you have any insights into why the command fails or any recommendations for further investigation?

Best regards,

Olia

Model.py
run_ansys.sh
slurm-2168336.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions