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

UDF library not loading on Linux supercomputers

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2014, 06:26
Default UDF library not loading on Linux supercomputers
  #1
New Member
 
Join Date: Apr 2011
Posts: 29
Rep Power: 15
tom634 is on a distinguished road
Hello all,

I wrote UDF and it works on Windows 8 and Fluent runned by SDK command prompt.

Then I saved UDF as UNIX file format in order to launch this on supercomputers with Linux. UDF has no any comments starting with "//", but "/* ... */" only.
I receive such error while compiling:

Primitive Error at Node 0: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (lnamd64).

No such file or directory
/home/***/users/***/libudf/lnamd64/3d_node/libudf.so

Any help would be appreciated.
tom634 is offline   Reply With Quote

Old   August 1, 2014, 06:54
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
I see a contradiction in your post (emphasis mine):
Quote:
I receive such error while compiling:

Primitive Error at Node 0: The UDF library you are trying to load (libudf) ...
You don't show the error that shows up during compiling, but during loading. Apparently something went wrong during compilation, so you need to look at the error message given during compilation.
pakk is offline   Reply With Quote

Old   August 1, 2014, 07:18
Default
  #3
New Member
 
Join Date: Apr 2011
Posts: 29
Rep Power: 15
tom634 is on a distinguished road
Problem solved, I had variable y1 in my UDF, I changed it to yy1 and it started to work. Do you know maybe, why with variable y1 it couldn't compile and load?
tom634 is offline   Reply With Quote

Old   August 1, 2014, 08:28
Default
  #4
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
No, I don't know that. y1 is not a reserved name, so it should work as well as yy1. The error messages that are shown during compilation could give a hint what went wrong, if you are still interested to find out.
pakk is offline   Reply With Quote

Reply


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
Error: The UDF library you are trying to load is not compiled for 3ddp on the current Whitemast Fluent UDF and Scheme Programming 0 November 21, 2013 07:45
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 22:38
error for loading UDF ibuki FLUENT 3 November 7, 2009 05:11
Compiling / Loading UDF Martijn FLUENT 1 December 16, 2008 20:06
Error when loading a shared library rid FLUENT 4 May 29, 2006 15:51


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