|
[Sponsors] |
May 7, 2008, 11:16 |
fluent UDF external library lapack problem
|
#1 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem loading UDF library in parallel cluster | Veera Gutti | FLUENT | 8 | July 26, 2016 08:24 |
external material library | Stephan | CFX | 1 | August 28, 2007 09:54 |
Library problem on a 64bit machine wrong ELF class ELFCLASS32 | jango | OpenFOAM Installation | 0 | June 11, 2007 08:29 |
how to use a LAPACK or similar library | ztdep | Main CFD Forum | 1 | August 4, 2005 14:34 |
some problem about the library case | xyj | Phoenics | 1 | March 8, 2001 10:42 |