CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF library not loading on Linux supercomputers (https://www.cfd-online.com/Forums/fluent-udf/139820-udf-library-not-loading-linux-supercomputers.html)

tom634 August 1, 2014 05:26

UDF library not loading on Linux supercomputers
 
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.

pakk August 1, 2014 05:54

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.

tom634 August 1, 2014 06:18

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?

pakk August 1, 2014 07:28

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.


All times are GMT -4. The time now is 01:17.