|
[Sponsors] |
October 13, 2021, 04:21 |
Compile UDF in Ubuntu
|
#1 |
Member
Join Date: Jul 2020
Location: India
Posts: 66
Rep Power: 6 |
Can someone please tell me how to compile UDFs in Ubuntu? I had compiled the UDF in windows using Visual Studio and it was working fine but I needed to switch to Ubuntu as my cluster has Ubuntu installed in it. After a very long struggle I was able to run FLUENT on Ubuntu but now when I compile the UDF, it throws error. Any help is much appreciated. Thanks in advance.
Here is the error: makefile:121: recipe for target 'Source.o' failed make[3]: *** [Source.o] Error 1 make[3]: Target 'libudf.so' not remade because of errors. makefile:211: recipe for target 'lnamd64' failed make[2]: *** [lnamd64] Error 2 makefile:131: recipe for target 'default' failed make[1]: *** [default] Error 2 p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; } |
|
October 14, 2021, 01:06 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
you should prepare make file to compile on Linux
special folder structure is also required check ansys fluent customization manual, there is a detailed description
__________________
best regards ****************************** press LIKE if this message was helpful |
|
October 14, 2021, 04:39 |
|
#3 |
Member
Join Date: Jul 2020
Location: India
Posts: 66
Rep Power: 6 |
Thanks for your reply. I was able to compile the UDF. I had created the specific folder structure from an internet source. But the error due to an unseen comment line.
|
|
Tags |
udf-compile, udf-ubuntu |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
Compile c99 standard UDF in Cluster | darsonli | Fluent UDF and Scheme Programming | 0 | July 7, 2015 03:58 |
looking for instructions on how to compile an udf in windows OS | Srinivasa Rao | Fluent UDF and Scheme Programming | 2 | May 22, 2015 11:00 |
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF | acasas | CFD Freelancers | 1 | January 23, 2015 08:26 |
Fluent doesnÂīt compile UDF on Windows | HSeldon | FLUENT | 4 | February 15, 2007 00:01 |