|
[Sponsors] |
August 25, 2022, 15:23 |
Error at host: Error code: 126
|
#1 |
New Member
Liu Wenchao
Join Date: Jan 2021
Posts: 15
Rep Power: 5 |
Hi, everyone! I am working on udf in Fluent recently. Ansys fluent 2021r2, vs 2019 professional.
I faced this "Error at host: Error code:126" problem while loading the libudf. Does anyone have any clue how to solve this problem? I deleted the folder "libudf" and recompile it, it doesnt works. Thanks a lot. |
|
August 26, 2022, 03:15 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
udf was compiled in other fluent version
you should compile it again,even though you say its not a solution -> you didn't recompile probably
__________________
best regards ****************************** press LIKE if this message was helpful |
|
August 26, 2022, 05:44 |
|
#3 | |
New Member
Liu Wenchao
Join Date: Jan 2021
Posts: 15
Rep Power: 5 |
Quote:
Here is the message from Ansys Fluent: .... Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29336 for x64 Copyright (C) Microsoft Corporation. All rights reserved. udf_names.c # Linking libudf.dll because of makefile user_nt.udf udf_names.obj edc-scale.obj link /Libpath:"D:\Program Files\ANSYS Inc\v212\fluent"\fluent21.2.0\win64\2ddp_node /Libpath:"D:\Program Files\ANSYS Inc\v212\fluent"\fluent21.2.0\multiport\win64\mpi\ shared /dll /out:libudf.dll udf_names.obj edc-scale.obj mport.lib fl_mpi2120.lib Microsoft (R) Incremental Linker Version 14.28.29336.0 Copyright (C) Microsoft Corporation. All rights reserved. Creating library libudf.lib and object libudf.exp Done. DESKTOP-6CP1L1E: Opening library "D:\P.Marge et al\ukomega\Frolov4.edc.2016\libudf"... Error at host: Error code: 126 Error: Error code: 126\n Error Object: #f I also attach the .c file below. Is there something wrong with the compilation? |
||
August 26, 2022, 15:30 |
|
#4 |
New Member
Liu Wenchao
Join Date: Jan 2021
Posts: 15
Rep Power: 5 |
Problem solved.
It's hard to know why. But I uninstall the 2021r2 and install 2019 version. UDF is successfully loaded. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculating source term total cell-zone volume parallel computation | RobV | Fluent UDF and Scheme Programming | 2 | May 30, 2022 04:46 |
Host Node Allocation (-ssh and -cx) on Linux HPC | bloodflow | FLUENT | 3 | October 10, 2019 11:46 |
CFX parallel computing questions | w784370882 | CFX | 3 | January 1, 2019 01:40 |
Problem to run simpleFoam using qsub? | be_inspired | OpenFOAM | 1 | December 22, 2015 13:53 |
[OpenFOAM] Color display problem to view OpenFOAM results. | Sargam05 | ParaView | 16 | May 11, 2013 01:10 |