|
[Sponsors] |
June 10, 2019, 04:53 |
Problem with running UDF of linux
|
#1 |
New Member
Join Date: Dec 2017
Posts: 12
Rep Power: 9 |
Hi all,
I'm building my simulation on Win10 with FLUENT 19.2. After my .cas file is done I transfer it to linux for the calculation, also running FLUENT 19.2. I have a problem when I try to use UDF. I write my UDF in win10 using visual studio and then I compile it, check it works fine and then I move the .cas file to linux. previously i manage somehow to make the cas file auto compile the UDF and creating the libudf file. and it worked perfectly. now when i try to do the same thing I get an error that auto compile is skipped. when I try to compile the UDF on linux I get the following warning: make[3]: Leaving directory `/home/shockner/FLUENT/laser_heat/full_sys/k-e std for thesis/Re 5900/libudf/lnamd64/3ddp_node' make[2]: warning: Clock skew detected. Your build may be incomplete. is it normal? how can I make the auto-compilation to work? Thanks in advance |
|
June 12, 2019, 08:38 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
The problem seems to be that your two computers (the windows machine and the linux machine) have clocks that don't agree. Specifically: the windows machine is set at a newer time than the Linux machine.
The file (udf file) that you wrote on the windows machine was made on (for example) 15 June 2019. The clock on your Linux machine thinks that it is 12 June 2019. The compiler then sees that your file is from "the future", and complains. Solution: open the file on your linux machine, and save it. ("touch yourfile.c" should also work.) |
|
June 12, 2019, 13:59 |
|
#3 |
New Member
Join Date: Dec 2017
Posts: 12
Rep Power: 9 |
I will try it, Thanks
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF problem for Population balance model | Amir.11 | Fluent UDF and Scheme Programming | 6 | May 30, 2022 05:36 |
UDF compilation problem solved on Linux | manshu | FLUENT | 0 | September 29, 2018 01:09 |
problem of running parallel Fluent on linux cluster | ivanbuz | FLUENT | 15 | September 23, 2017 20:12 |
Problem with UDF on a Linux machine (Red Hat) | Iaroslav | Fluent UDF and Scheme Programming | 6 | March 7, 2017 14:15 |
problem with running UDF in batch mode | James | FLUENT | 0 | June 6, 2006 07:49 |