TAGGED: batch-mode, rocky-dem
May 1, 2023 at 12:32 ammkhademiSubscriber
I would like to simulate a Rocky project in Batch mode on a Windows system. I have added the path to system environmnet and can open Rocky from command prompt. However, when I am trying to run a project with the syntax below, nothing happens. I am using the same syntax brough in the user manual (Appendice 7.5.1) which is
Rocky.exe –simulate “C:Documentsproject_filename.rocky” –resume=1 –ncpus=7
Thanks for an suggestions.
May 3, 2023 at 1:19 pmFederico Alzamora PrevitaliSubscriber
do you get an error message from the prompt or nothing happens at all?
I believe your path is missing "/" after C: -> "C:/[...]"
May 3, 2023 at 3:41 pmmkhademiSubscriber
Thanks for your reply. I get no error message. It is just the program does not run, or it does not create .lock file in the project folder.The path I brougtht above was from the manual. I am using the / in my syntax, like
"C:\Program Files\ANSYS Inc\v231\Rocky\bin\Rocky.exe" -simulate "E:ROCKY DEM\Workshops or tutorials\Static Angle_BatchRocky23\StaticAngleBatch.rocky" -resume=1 -ncpus=20
May 3, 2023 at 5:25 pmFederico Alzamora PrevitaliSubscriber
Be sure to include two hyphens in your flags "--simulate". Rocky should run in the background.
Let me know if that works.
May 3, 2023 at 6:01 pmmkhademiSubscriber
I tried once with the two hyphens, but did not work again. I did the simulations through GUI once. That is why I am using --resume=1. I will setup the simulation again on the GUI without doing the smulations to try again on the Batch mode with the simplest conditions. Meanwhile, can you please write the steps needed to arrange the simulation on Windows with a Batch mode. Maybe I have missed something. For example, Rocky.exe is the only file that must be added to the path? Thank you.
May 3, 2023 at 9:47 pmmkhademiSubscriber
I could run the simulations on my laptop with the same syntax you suggested. I should now check to see what the issue might be on my workstation.
Thank you so much.
May 4, 2023 at 12:37 ammkhademiSubscriber
Thank you again for proposing the solution. The problem on the workstation was that I had two versions of Rocky 2023R1 and 2022R2. The created project was knows as 2022R2 although created by 2023R1, so the Batch syntax was trying to solve a R2022R2 project using 2023R1 version.
Thank you again for your help.
May 4, 2023 at 12:43 pmFederico Alzamora PrevitaliSubscriber
I'm glad that you were able to resolve the issue. Thanks for sharing your solution!
May 24, 2023 at 10:02 pmmkhademiSubscriber
When I am using the same syntax on the HPC cluster, there will be an error, and inside the error is written "Installing backtrace handlers...success" and the program is not executed. Can you give some general guidelines for running Rocky on the cluster? I have used this syntax:# Apply resources via SLURM#SBATCH --nodes=1#SBATCH --ntasks=48#SBATCH --time=48:00:00#SBATCH --job-name=rocky_test1#SBATCH -o rockycase239_%j.out#SBATCH -e rockycase239_%j.errmodule purgemodule load rocky/2023R1.1Rocky --simulate “StaticAngle2rocky.rocky” --resume=0 --ncpus=48Thank you.
May 25, 2023 at 11:53 amRobAnsys Employee
I assume the cluster uses a supported O/S?
May 25, 2023 at 3:40 pmmkhademiSubscriber
The cluster is using Red Hat Enterprise Linux (RHEL) version 8.6.
I noticed that I should have given the full path of the rocky file to be run. But, again it gave this error:
Traceback (most recent call last):
File "/home/jenkins/Work/Jenkins/workspace/rocky30-rb-ROCKY-v23.1.1-ansys-newlinux/etk/coilib50/source/python/coilib50/__init__.py", line 42, in LoadCppModule
File "/home/jenkins/Work/Jenkins/workspace/rocky30-rb-ROCKY-v23.1.1-ansys-newlinux/rocky30/source/python/rocky30/_cx_freeze_vtk9_hack.py", line 17, in import_hook_wrapper
ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /software/ansys/Rocky/2023R1.1/rocky/bin/lib/python3.6/_coilib50.so)
May 25, 2023 at 4:29 pmRobAnsys Employee
So, no? https://www.ansys.com/content/dam/it-solutions/platform-support/ansys-2023-r1-platform-support-by-application.pdf
May 25, 2023 at 4:47 pmmkhademiSubscriber
Oh I see. This is actually surprising for me, because Fluent is running on RHEL. My default was that Rocky is compatible with any Linux OS where Ansys can be used.
Thank you Rob!
May 26, 2023 at 8:30 amRobAnsys Employee
Ansys acquired Rocky & team from ESSS earlier this year, but we've been working with them for longer. As it's from a different development background the OS list is slightly different. It's also gpu focussed with a cpu option so OS requirements are a little different.
Fluent came from UNIX, and then moved onto LINUX and Windows.
There may be a library you can port, otherwise keep an eye on the release notes as I'd be very surprised if more OS support wasn't in the plan. Note, I don't know about the plan!
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
© 2023 Copyright ANSYS, Inc. All rights reserved.