|
[Sponsors] |
August 20, 2021, 02:26 |
UDF loading error 126
|
#1 |
New Member
YADU KRISHNAN N
Join Date: Aug 2021
Posts: 14
Rep Power: 5 |
Unable to load the UDF library after successful compilation using VS2019. Error is showing as
Opening library "D:\Project\CDmicro1_files\dp0\FFF-1\Fluent\libudf"... Error at Node 0: Error code: 126 Error at host: Error code: 126 Error: Error code: 126\n Error Object: #f |
|
August 20, 2021, 02:37 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Are you sure there were no errors during compiling? People tend to miss the errors printed on the screen...
Is your UDF loading external modules? Are you doing something well beyond what's shown in the manual?
__________________
"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform" is NOT the error after compiling. It is the error after loading. To see compiler errors, look at your screen after you click "build". |
|
August 20, 2021, 02:45 |
|
#3 |
New Member
YADU KRISHNAN N
Join Date: Aug 2021
Posts: 14
Rep Power: 5 |
A warning is shown as
"UDF_Tempgrad.c(17) : warning C4700: uninitialized local variable 't' used " after building. UDF is as given below. #include "udf.h" DEFINE_ADJUST(adjust_fcn,d) { Thread *t; Thread *tf; cell_t c; face_t f; real x[ND_ND]; real cell[ND_ND]; int n; real wf; real nc; real temp; real tempgrad ; real Twall=100; real delta; begin_c_loop_all(c,t) { c_face_loop(c,t,n) { tf = C_FACE_THREAD(c,t,n); if(THREAD_TYPE(tf) == THREAD_F_WALL) { f = C_FACE(c,t,n); F_CENTROID(x,f,t); wf = x[1]; C_CENTROID(cell,c,t); nc = cell[1]; delta = wf-nc; temp = C_T(c,t); tempgrad= (temp - Twall)/delta ; } } } end_c_loop_all(c,t) } |
|
August 20, 2021, 05:06 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
__________________
best regards ****************************** press LIKE if this message was helpful |
|
August 20, 2021, 07:07 |
|
#5 |
New Member
YADU KRISHNAN N
Join Date: Aug 2021
Posts: 14
Rep Power: 5 |
libudf and case file are located at same place. still geting error. Please see the complete console text.
> Copied D:\Project\CDmicro1_files\dp0\FFF-1\Fluent/D:\Project\CDmicro1_files\dp0\FFF-1\Fluent\UDF_Tempgrad.c to libudf\src (system "copy "C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluent 21.1.0\src\udf\sconstruct.udf "libudf\win64\2ddp_host\SConstruct" ") 1 file(s) copied. (system "copy "C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluent 21.1.0\src\udf\scons_default.bat "libudf\win64\2ddp_host\scons_test.bat" ") 1 file(s) copied. Creating user_nt.udf file for 2ddp_host ... (system "copy "C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluent 21.1.0\src\udf\makefile_nt.udf "libudf\win64\2ddp_host\makefile" ") 1 file(s) copied. (chdir "libudf")(chdir "win64\2ddp_host") D:\Project\CDmicro1_files\dp0\FFF-1\Fluent\libudf\win64\2ddp_host>rem D:\Project\CDmicro1_files\dp0\FFF-1\Fluent\libudf\win64\2ddp_host>rem Copyright 1987-2021 ANSYS, Inc. All Rights Reserved. D:\Project\CDmicro1_files\dp0\FFF-1\Fluent\libudf\win64\2ddp_host>rem Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30133 for x64 Copyright (C) Microsoft Corporation. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ] Microsoft (R) Program Maintenance Utility Version 14.29.30133.0 Copyright (C) Microsoft Corporation. All rights reserved. # Generating ud_io1.h resolve.exe -udf ..\..\src\UDF_Tempgrad.c -head_file ud_io1.h cl /c /Za /DUDF_EXPORTING /DUDF_NT /DWIN64 /EHa /wd4224 -I. -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\win64\2ddp_host -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\main -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\addon-wrapper -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\io -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\species -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\pbns -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\numerics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\sphysics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\storage -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\mphase -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\bc -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\models -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\material -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\amg -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\util -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\mesh -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\udf -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\ht -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dx -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\turbulence -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\acoustics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\parallel -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\etc -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\ue -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dpm -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dbns -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\cortex\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\client\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\tgrid\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\multiport\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\multiport\mpi_wrapper\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\inclu de ..\..\src\UDF_Tempgrad.c Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30133 for x64 Copyright (C) Microsoft Corporation. All rights reserved. UDF_Tempgrad.c D:\Project\CDmicro1_files\dp0\FFF-1\Fluent\libudf\src\UDF_Tempgrad.c(17) : warning C4700: uninitialized local variable 't' used # Generating udf_names.c because of makefile UDF_Tempgrad.obj cl /c /Za /DUDF_EXPORTING /DUDF_NT /DWIN64 /EHa /wd4224 -I. -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\win64\2ddp_host -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\main -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\addon-wrapper -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\io -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\species -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\pbns -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\numerics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\sphysics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\storage -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\mphase -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\bc -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\models -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\material -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\amg -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\util -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\mesh -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\udf -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\ht -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dx -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\turbulence -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\acoustics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\parallel -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\etc -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\ue -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dpm -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dbns -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\cortex\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\client\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\tgrid\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\multiport\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\multiport\mpi_wrapper\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\inclu de udf_names.c Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30133 for x64 Copyright (C) Microsoft Corporation. All rights reserved. udf_names.c # Linking libudf.dll because of makefile user_nt.udf udf_names.obj UDF_Tempgrad.obj link /Libpath:"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent "\fluent21.1.0\win64\2ddp_host /Libpath:"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent "\fluent21.1.0\multiport\win64\net\shared /dll /out:libudf.dll udf_names.obj UDF_Tempgrad.obj mport.lib fl2110.lib Microsoft (R) Incremental Linker Version 14.29.30133.0 Copyright (C) Microsoft Corporation. All rights reserved. Creating library libudf.lib and object libudf.exp (system "copy "C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluent 21.1.0\src\udf\sconstruct.udf "libudf\win64\2ddp_node\SConstruct" ") 1 file(s) copied. (system "copy "C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluent 21.1.0\src\udf\scons_default.bat "libudf\win64\2ddp_node\scons_test.bat" ") 1 file(s) copied. Creating user_nt.udf file for 2ddp_node ... (system "copy "C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluent 21.1.0\src\udf\makefile_nt.udf "libudf\win64\2ddp_node\makefile" ") 1 file(s) copied. (chdir "libudf")(chdir "win64\2ddp_node") D:\Project\CDmicro1_files\dp0\FFF-1\Fluent\libudf\win64\2ddp_node>rem D:\Project\CDmicro1_files\dp0\FFF-1\Fluent\libudf\win64\2ddp_node>rem Copyright 1987-2021 ANSYS, Inc. All Rights Reserved. D:\Project\CDmicro1_files\dp0\FFF-1\Fluent\libudf\win64\2ddp_node>rem Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30133 for x64 Copyright (C) Microsoft Corporation. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ] Microsoft (R) Program Maintenance Utility Version 14.29.30133.0 Copyright (C) Microsoft Corporation. All rights reserved. # Generating ud_io1.h resolve.exe -udf ..\..\src\UDF_Tempgrad.c -head_file ud_io1.h cl /c /Za /DUDF_EXPORTING /DUDF_NT /DWIN64 /EHa /wd4224 -I. -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\win64\2ddp_node -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\main -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\addon-wrapper -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\io -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\species -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\pbns -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\numerics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\sphysics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\storage -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\mphase -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\bc -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\models -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\material -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\amg -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\util -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\mesh -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\udf -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\ht -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dx -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\turbulence -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\acoustics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\parallel -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\etc -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\ue -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dpm -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dbns -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\cortex\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\client\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\tgrid\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\multiport\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\multiport\mpi_wrapper\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\inclu de ..\..\src\UDF_Tempgrad.c Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30133 for x64 Copyright (C) Microsoft Corporation. All rights reserved. UDF_Tempgrad.c D:\Project\CDmicro1_files\dp0\FFF-1\Fluent\libudf\src\UDF_Tempgrad.c(17) : warning C4700: uninitialized local variable 't' used # Generating udf_names.c because of makefile UDF_Tempgrad.obj cl /c /Za /DUDF_EXPORTING /DUDF_NT /DWIN64 /EHa /wd4224 -I. -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\win64\2ddp_node -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\main -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\addon-wrapper -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\io -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\species -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\pbns -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\numerics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\sphysics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\storage -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\mphase -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\bc -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\models -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\material -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\amg -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\util -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\mesh -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\udf -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\ht -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dx -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\turbulence -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\acoustics -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\parallel -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\etc -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\ue -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dpm -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\src\dbns -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\cortex\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\client\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\tgrid\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\multiport\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\fluen t21.1.0\multiport\mpi_wrapper\src -I"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent"\inclu de udf_names.c Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30133 for x64 Copyright (C) Microsoft Corporation. All rights reserved. udf_names.c # Linking libudf.dll because of makefile user_nt.udf udf_names.obj UDF_Tempgrad.obj link /Libpath:"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent "\fluent21.1.0\win64\2ddp_node /Libpath:"C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v211\fluent "\fluent21.1.0\multiport\win64\mpi\shared /dll /out:libudf.dll udf_names.obj UDF_Tempgrad.obj mport.lib fl_mpi2110.lib Microsoft (R) Incremental Linker Version 14.29.30133.0 Copyright (C) Microsoft Corporation. All rights reserved. Creating library libudf.lib and object libudf.exp Done. LAPTOP-1PSN8BVE: Opening library "D:\Project\CDmicro1_files\dp0\FFF-1\Fluent\libudf"... Error at Node 0: Error code: 126 Error at host: Error code: 126 Error: Error code: 126\n Error Object: #f |
|
August 20, 2021, 15:09 |
|
#6 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
The uninitialized variable is also something you need to solve: you adjust thread "t" , but don't say what "t" refers to. But that is unrelated to error 126.
Is this the only udf with this problem? Have you successfully used UDFs before on this system?
__________________
"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform" is NOT the error after compiling. It is the error after loading. To see compiler errors, look at your screen after you click "build". |
|
August 22, 2021, 01:10 |
|
#7 |
New Member
YADU KRISHNAN N
Join Date: Aug 2021
Posts: 14
Rep Power: 5 |
I haven't done any UDFs in my system before. Checked some other UDFs. They are also showing problem.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to use patch under loading UDF? | lilistar-8216 | Fluent UDF and Scheme Programming | 4 | May 17, 2019 04:31 |
Error code: 126 when loading parallel UDF | Coop | Fluent UDF and Scheme Programming | 0 | July 13, 2018 09:33 |
Problem loading UDF in Linux environment | hjan23 | FLUENT | 0 | December 15, 2017 05:09 |
(FLUENT)failed loading UDF source file | sincity | FLUENT | 2 | March 18, 2011 09:47 |
UDF Error while loading | Sujay S | FLUENT | 8 | November 12, 2007 23:30 |