TAGGED: co-simulation, linux
-
-
June 28, 2021 at 3:23 pmconor_oboyleSubscriber
Hello,
I'm looking to use the FMU import function to run analysis with changing boundary conditions determined by an FMU. The setup works perfectly on my Windows system but when the case is sent to a Linux cluster it returns an error when the FMU is initialized saying :
"0 is an invalid FMU instance ID", "FMU Library TEST-xxxxx/binaries/linux64/TEST.so failed to load"
I'm using an FMU that has been generated in Dymola using the WSL Linux cross-compiler, and I've tested the FMU file using FMPy on an Ubuntu installation and everything works fine. The case was setup through the fluent GUI on the Linux machine using the Linux compiled FMU and the exact same steps as the Windows version that runs without errors, and the FMU generates input parameters that can be used as boundary conditions and accepts output parameters from the solution.
The error then occurs when the simulation is initialized.
I'd be very grateful if anyone has any insight into what this error could be or ways to solve it!
Many thanks, Conor
June 28, 2021 at 3:36 pmconor_oboyleSubscriberI should add I am using Fluent 2020 R2 on both systems
July 27, 2021 at 2:48 pmRKAnsys EmployeeHi Conor,
Sorry for the delay in response. During initialization, Fluent creates an instance of FMU and then initializes it. Looks like there is an issue in this step. Can you please go over this link and check if any of this information would help you : https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v212/en/flu_ug/flu_ug_file_import_FMU.html?q=FMU%20fluent
July 28, 2021 at 11:50 amconor_oboyleSubscriberHi RK, thanks for the reply!
Fortunately I solved the issue already but just forgot to update my post. Our cluster runs a different Linux OS from the one which I initially setup my WSL install with, so 2 of the packages (glibc and libstdc+) were running older versions on the cluster side and the model failed to create an instance. There was no real error/debugging message from Fluent other than the 'invalid ID' one which is why I didn't catch this error initially. The fix was fairly simple, just had to install CentOS 7 on my Windows machine so it matched the cluster OS and recompile the FMU.
Hope this helps if anyone else runs into a similar issue in future!
Cheers, Conor
July 29, 2021 at 3:41 pmRKAnsys EmployeeHi Conor,
Thank you for updating this post with the solution.
Viewing 4 reply threads- The topic ‘FMU fail to load on Linux cluster’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
Top Contributors-
1216
-
543
-
523
-
225
-
209
Top Rated Tags© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-