February 9, 2022 at 9:32 pmshitizsehgalSubscriber
I have set up a simulation on my Windows machine and it has UDFs compiled to solve for the desired physics. The simulation is running fine on the Windows machine, but I am having a hard time running this simulation on my university's Linux-based supercomputer.
Basically, I need help with the procedure (journal file, maybe?) for running a simulation with UDFs in it on a Linux supercomputer. Please help.February 10, 2022 at 11:42 amRobAnsys EmployeeYou'll need to recompile the UDF for the cluster: Linux and Win10 libraries are different. You may also need to convert the Win10 text into Linux as Windows scatters a load of white space characters into the file that Linux doesn't like. We use:
to get around this, it's set on our clusters. Not sure if that's normal as it's worked like that since we were forced onto Windows desktops about 15 years ago.
February 10, 2022 at 5:22 pmshitizsehgalSubscriberHi Rob,
I am sure what you are suggesting works too. However, I fixed the problem using a different way. Basically, I unchecked the option of compiling via the built-in compiler and the UDF compiled using a Microsoft compiler. Not sure if it was Visual Studio. Running the compiled case and data with UDF and libudf on a Linux supercomputer went fine and I was able to run the simulation.
February 11, 2022 at 9:43 amRobAnsys EmployeeOK, the LINUX machine has a proper compiler in the OS, the built in compiler is intended to bypass the whole Microsoft VS mess that comes with every release as Microsoft move files/change package names. Sounds like the inbuilt compiler may need checking on LINUX.
Viewing 3 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
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.Trending discussions
- Suppress Fluent to open with GUI while performing in journal file
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- Time Step Size and Courant Number
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Floating point exception
- How to model free convection warming of liquid in a plastic bag
Top Rated Tags