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

fluent UDF external library lapack problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2008, 10:16
Default fluent UDF external library lapack problem
  #1
Rick
Guest
 
Posts: n/a
I'm trying to use a LAPACK eigensolver function called zggev within my UDF. I can run my UDF as a stand-alone code outside of fluent using zggev, I had to add the commands "-static -z muldefs -llapack -lblas -latlas -lg2c -lm" to my makefile, but it works perfectly. However when I try to run my UDF within fluent as a "Define_adjust", the lapack function zggev is not recognized and I get an error saying "symbol lookup error: libudf/lnamd64/3ddp/libudf.so: undefined symbol: zggev_" Now I built my udf library the manual way, using the text user interface so I could have more control over the makefile. I added the line "-static -z muldefs -llapack -lblas -latlas -lg2c" to the "LDFLAGS_LNAMD64" command (since that is my architecture) in the /libudf/src/makefile. This makefile seems to run just fine and doesn't give me any linking errors. However I still get the error when zggev is called while running the UDF in fluent. Is there something I'm missing? What do I need to do to access an external library within a UDF?

Thanks, -Rick
  Reply With Quote

Reply

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
problem loading UDF library in parallel cluster Veera Gutti FLUENT 8 July 26, 2016 07:24
external material library Stephan CFX 1 August 28, 2007 08:54
Library problem on a 64bit machine wrong ELF class ELFCLASS32 jango OpenFOAM Installation 0 June 11, 2007 07:29
how to use a LAPACK or similar library ztdep Main CFD Forum 1 August 4, 2005 13:34
some problem about the library case xyj Phoenics 1 March 8, 2001 09:42


All times are GMT -4. The time now is 18:29.