CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > CONVERGE

Need help with udf library ("undefined symbol: user_outputs_init" error)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2021, 09:15
Default 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
shoaib_maverick is on a distinguished road
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.
shoaib_maverick is offline   Reply With Quote

Old   March 31, 2021, 11:15
Default
  #2
Senior Member
 
ksrivast's Avatar
 
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 110
Rep Power: 5
ksrivast is on a distinguished road
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,
__________________
Kislaya Srivastava
Research Engineer | Applications
CONVERGECFD
ksrivast is offline   Reply With Quote

Old   April 5, 2021, 15:29
Default Thank you
  #3
New Member
 
Shoaib A
Join Date: Mar 2021
Posts: 2
Rep Power: 0
shoaib_maverick is on a distinguished road
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
shoaib_maverick is offline   Reply With Quote

Reply

Tags
udf converge

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 19:43
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 13:15.