|
[Sponsors] |
Need help with udf library ("undefined symbol: user_outputs_init" error) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 31, 2021, 10:15 |
Need help with udf library ("undefined symbol: user_outputs_init" error)
|
#1 |
New Member
Shoaib A
Join Date: Mar 2021
Posts: 2
Rep Power: 0 |
I am trying to compile a udf library for user_merit_function. I have user_dynamic_routine.c and user_merit_function.c in my src folder and the necessary header files in input folder. When I try to compile it, i am getting a warning "unrecognized openmp" in shared.h file. Although it gets compiled completely, while running the simulation I am getting an error "undefined symbol: user_outputs_init" while loading libconverge_udf.so.
What is this error about? Am I missing some file in src or input folder? Please do help! Thank you. |
|
March 31, 2021, 12:15 |
|
#2 |
Senior Member
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 9 |
Hello Shoaib,
user_outputs_init is present in user_outputs.c. Please check your udf.in file if user_out_flag has been enabled. You would require user_outputs.c in your src folder when you compile the UDFs if you want to enable user_out_flag. Also verfiy whether user_outputs_init is being called within user_merit_function.c. It might be best for you to forward your case to support@convergecfd.com. Please use your official email for all correspondence with Convergent Science. Please mention the issues you are facing, attach your case setup and add the cfd-online thread, as reference. Sincerely, |
|
April 5, 2021, 16:29 |
Thank you
|
#3 |
New Member
Shoaib A
Join Date: Mar 2021
Posts: 2
Rep Power: 0 |
Thank you so much for the reply. It solved the previous error but now I am getting a new error named: 'undefined symbol: user_ga_merit_function'. I will send an email to the email which you have given now with the screenshot of library compilation too.
Best Regards, Shoaib |
|
Tags |
udf converge |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |