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

Problem with running UDF of linux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2019, 03:53
Default Problem with running UDF of linux
  #1
New Member
 
Join Date: Dec 2017
Posts: 12
Rep Power: 8
Tomsho is on a distinguished road
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
Tomsho is offline   Reply With Quote

Old   June 12, 2019, 07:38
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
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.)
pakk is offline   Reply With Quote

Old   June 12, 2019, 12:59
Default
  #3
New Member
 
Join Date: Dec 2017
Posts: 12
Rep Power: 8
Tomsho is on a distinguished road
I will try it, Thanks
Tomsho 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
UDF problem for Population balance model Amir.11 Fluent UDF and Scheme Programming 6 May 30, 2022 04:36
UDF compilation problem solved on Linux manshu FLUENT 0 September 29, 2018 00:09
problem of running parallel Fluent on linux cluster ivanbuz FLUENT 15 September 23, 2017 19:12
Problem with UDF on a Linux machine (Red Hat) Iaroslav Fluent UDF and Scheme Programming 6 March 7, 2017 13:15
problem with running UDF in batch mode James FLUENT 0 June 6, 2006 06:49


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