|
[Sponsors] |
December 19, 2014, 06:10 |
Compiling UDF Linux 64 Parallel
|
#1 |
New Member
Join Date: Oct 2014
Posts: 17
Rep Power: 12 |
Hello freinds
Can any one help me with this Error???? thank you very much in advance And Merry Christmas Node 0: Doesn't have write permissions for libudf/lnamd64/3d_node. If using local disk, make sure UDF lib is synced up on all nodes. Opening library "/mnt/test/libudf"... Primitive Error at Node 1: 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 /ansys_inc/v145/fluent/bin/libudf/lnamd64/3d_node/libudf.so 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 /ansys_inc/v145/fluent/bin/libudf/lnam64/3d_node/libudf.so Opening library "/ansys_inc/v145/fluent/bin/libudf"... Opening library "/ansys_inc/v145/fluent/bin/libudf"... Error: The UDF library you are trying to load (libudf/lnam64/3d_host/libudf.so) is not compiled for parallel use on the current platform (lnamd64). no error /mnt3/test/libudf/lnamd64/3d_host/libudf.so Error Object: #f Last edited by Schumacher00; December 21, 2014 at 14:11. |
|
January 1, 2016, 23:25 |
|
#2 |
Member
Join Date: Oct 2014
Posts: 43
Rep Power: 12 |
hi, Schumacher.
I have encountered the same problem when compiled a UDF on Linux Cluster. Have you solved this problem? And could you give me some guidance? Thank you in advance. |
|
January 3, 2016, 12:41 |
|
#3 |
New Member
Join Date: Oct 2014
Posts: 17
Rep Power: 12 |
Hi Lisa,
Check if you are running the fluent from the directory, in which your .cas and your probable .dat files are. In other words, all your files ( .cas, .dat and your UDF code) should be in the same directory and you should run the fluent exactly from this directory, otherwise you get that error because you are in most cases a normal user and not an admin. User, who has the writing right in a cluster. I hope this can help. Regards |
|
January 15, 2016, 05:05 |
|
#4 |
Member
Join Date: Oct 2014
Posts: 43
Rep Power: 12 |
Thanks for your reply.
Yes, it's a very important point. Besides this, I found when I use the VPN of cluster on remote for parallel calculations, and at the same time running cas and dat file at local PC, I will have this error. It's interesting: ) Share my experience with you. Best wishes. Shan |
|
June 8, 2016, 02:30 |
Regarding the UDF compilation on Linux system
|
#5 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 13 |
Hello All,
when I am compiling my UDF on window its working fine but when the same UDF I am trying to compile on the Linux system its giving me the error. I used all the advices given in the above post. I am attaching the snapshot of the error. Please suggest me what to do. Thanks in advance. Regards, Sonu. |
|
June 9, 2016, 16:59 |
|
#6 |
New Member
Join Date: Oct 2014
Posts: 17
Rep Power: 12 |
Hi,
As you see there are several errors and you have to debug your code. Note that the compiler in Linux and Windows are different. Sometimes a code is compiled apparently without errors but in fact it has still errors. My suggestions for debugging your code: 1. Check if ";" and "/ " are missed somewhere. ( it is the case in your code !!!!) 2. I would recommend you to remove your probable comments. 3. Check the plausibility of your code at least for some tries. Sometimes the algorithm of a code in fundamentally false. 4. Use Messaging in your code to know , which line should be corrected. I hope this help. Cheers, |
|
June 10, 2016, 04:00 |
|
#7 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 13 |
Thanks for the help , I will do as u suggested and then get back to you .....
|
|
June 10, 2016, 05:04 |
|
#8 |
Senior Member
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13 |
yesterday I compiled my code in linux for the first time. no error but the one caused by comments. linux compiler does not recognize " // " as a coment, so I had to change it to "/* .... */". have a look in your code, maybe this can be the reason.
|
|
July 5, 2016, 10:57 |
|
#9 | |
New Member
Mo
Join Date: Mar 2015
Posts: 6
Rep Power: 11 |
Quote:
I have the same issue. Did you solve your problem? greets Mo |
||
July 6, 2016, 13:13 |
|
#10 | |
Member
Bhargav Bharathan
Join Date: Jun 2015
Location: Montreal, Canada
Posts: 71
Rep Power: 11 |
Quote:
Refer "5.3.1.2 Linux Systems" from the ANSYS Fluent 15.0 UDF Manual. There is a step by step methodology on how to compile UDFs in a Linux OS. Link: https://www.sharcnet.ca/Software/Ans...x1-5800006.3.1 -BB |
||
July 10, 2016, 05:50 |
|
#11 |
New Member
Join Date: Oct 2014
Posts: 17
Rep Power: 12 |
Hi Mo ,
Check if you are running the fluent from the directory, in which your .cas and your probable .dat files are. In other words, all your files ( .cas, .dat and your UDF code) should be in the same directory and you should run the fluent exactly from this directory, otherwise you get that error because you are in most cases a normal user and not an admin User, who has the writing right in a cluster. I hope this can help. Regards |
|
April 16, 2017, 04:16 |
|
#12 |
New Member
Fluidflow
Join Date: Oct 2015
Posts: 24
Rep Power: 11 |
Hello everybody
I am new in fluent and I am going to run a udf in a cluster using command. I am using Ansys Fluent 16.2. By the way,after run .dat file is not created . In addition, when I see the the .o file there is an error: error: Auto-compilation skipped. Could not find "libudf" or input files for creating "libudf" library Error Object: #f 1- Does Ansys 16.2 need any compilation for UDF befor running Fluent? 2-What should I do to solve this problem? Regards |
|
April 17, 2017, 05:00 |
|
#13 |
New Member
Join Date: Oct 2014
Posts: 17
Rep Power: 12 |
Hi Meysam,
It seems that the library is not created and consequently the code is not compiled / interpreted. You should always create a library and then compile or interprete the code.Please follow the instructions in the UDF tutorial, it's quite straightforward. I hope this can help you. Regards |
|
April 17, 2017, 09:18 |
|
#14 |
New Member
Fluidflow
Join Date: Oct 2015
Posts: 24
Rep Power: 11 |
Thanks for your response.
I found the error. You are right. Since, I compiled and ran that case in my system its default directory had been chenged to the path related to my system, and now that I want to compile the UDF in a cluster the compiler search for the previous path |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with Compiling UDFs in Ansys Fluent 13 (lnx64) | Ali.beh | Fluent UDF and Scheme Programming | 3 | August 27, 2018 05:22 |
fluent udf error while compiling: unknown type name __locale_t | aditya.pandare | Fluent UDF and Scheme Programming | 3 | April 12, 2014 15:52 |
Linux vs PC Compiling | Rhyno466 | Fluent UDF and Scheme Programming | 10 | May 11, 2012 18:01 |
paraview 3.10.1 compiling error (1.6-ext) | vkrastev | OpenFOAM Installation | 7 | October 28, 2011 04:17 |
Help with KIVA4 source code compiling | geothokar | Main CFD Forum | 0 | September 3, 2010 06:40 |