CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   problem with loading udf in fluent 6.3 (http://www.cfd-online.com/Forums/fluent-udf/44222-problem-loading-udf-fluent-6-3-a.html)

James March 23, 2007 07:31

problem with loading udf in fluent 6.3
 
Hi,

I used a udf on fluent 6.2.16 and it worked fine and now we are switching to fluent 6.3.26 and i am having trouble with loading my udf after the compilation. This is what I am getting:

opening library "libudf"

Library "libudf/lnamd643d_host/libudf.so" opened.

Primitive Error at Node O: Open_udf_library:library version 6.2.16 incompatible with solver version 6.3.26"

Any idea what is wrong here?

Any help will be appreciated.

James


Bak_Flow March 23, 2007 08:40

Re: problem with loading udf in fluent 6.3
 
Hi,

try deleting your old libraries /libudf then recompile or rename it.../libudf-63

Then reload and see if that works.

Sometimes there are permissions problems that do not allow you to write the new libraries.

Regards,

Bak_Flow

James Willie March 23, 2007 10:15

Re: problem with loading udf in fluent 6.3
 
Hi,

U got it right. I had deleted the old library and re-compiled and it worked. Thanks for responding to my post.

Rizwan March 24, 2007 13:19

Re: problem with loading udf in fluent 6.3
 
A detailed reply was posted by me, a couple of days ago. I just wanted to add one more point that, if u have changed ur computer too, it might be possible that a compiled udf will not work on the new machine even if u r using a Fluent 6.3.

Regards Rizwan

Achim Casties March 28, 2007 19:49

Re: problem with loading udf in fluent 6.3
 
Hello,

I assume you used a makefile to built the libudf.so containing your udf. There are two variables in the makefile that must be changed due to the new version of fluent, eg.:

FLUENT_INC= /usr/local/fluent/6.3.26/Fluent.Inc

and

RELEASE= 6.3.26

Your udf may be set like

SOURCES= your_udf.c

Then the new udf will be compiled within the new version's environment.

Hope this helps,

Achim

pzahedi March 17, 2012 09:32

Hello,

I assume you used a makefile to built the libudf.so containing your udf. There are two variables in the makefile that must be changed due to the new version of fluent, eg.:

FLUENT_INC= /usr/local/fluent/6.3.26/Fluent.Inc

and

RELEASE= 6.3.26

Your udf may be set like

SOURCES= your_udf.c

Then the new udf will be compiled within the new version's environment.

Hope this helps,

Achim



hello,
how can i open a makefile and doing these changes?makefile is unknown in my widows:(

lemmi January 22, 2015 06:51

compiling problem with fluent
 
I like adress to bak_flow if his method of deleting the librarie is even worked with the installation of standard C++ with fluent 6.3.26, because i have even the problem of compilation, file not found....


All times are GMT -4. The time now is 11:19.