|
[Sponsors] |
Problem running fluent with udf on supercomputer(batch system) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 5, 2012, 16:04 |
Problem running fluent with udf on supercomputer(batch system)
|
#1 |
New Member
Join Date: Nov 2012
Posts: 2
Rep Power: 0 |
Hi All,
My udf interpreted well and my simulation runs smoothly on my PC. However, when I try to run the same thing on supercomputer (batch system), it doesn’t work. Is it correct that to run on batch, I set up my problem as usual, interpreted and hooked the udf, initialize and save project (one step less if I want to run on my PC, where after initialization, click run calculation>calculate). Here is my inputfile (connected with PBS submission file at the line: fluent 3d -g -t 4 -i < FlowTestInput.txt > Solution.out) FlowTestInput.txt : /define/user-defined/interpreted-functions “UDFSource.c” “cpp” 10000 no /file/read-case FlowTest.cas.gz /solve/initialize/initialize-flow /solve/set/time-step 2 /solve/dual-time-iterate 100 1000 /file/write-data FlowTest.dat.gz exit yes Here are the errors that appeared (cut and paste from .o and .out file) Error: chip-exec: function "source_C" not found. Error: UDFSourceTerm.c: line 4: syntax error. cpp: output pipe has been closed Error: File E:AC20UDFSourceTerm.c doesn't exist! Error Object: #f Primitive Error at Node 2: received Segmentation Violation Primitive Error at Node 3: received Segmentation Violation Primitive Error at Node 0: received Segmentation Violation Primitive Error at Node 1: received Segmentation Violation Error: Compute node encountered error Error Object: #f Primitive Error at Node 2: Update_Time_Level: invalid data Primitive Error at Node 1: Update_Time_Level: invalid data Primitive Error at Node 3: Update_Time_Level: invalid data Primitive Error at Node 0: Update_Time_Level: invalid data Error: Compute node encountered error Error Object: #f Primitive Error at Node 1: Write_Data_Section: uninitialized flow field Primitive Error at Node 3: Write_Data_Section: uninitialized flow field Primitive Error at Node 0: Write_Data_Section: uninitialized flow field Primitive Error at Node 2: Write_Data_Section: uninitialized flow field 56.4% Error: Compute node encountered error Error Object: #f Error: Error writing "| gzip -2cfv > AC20.dat.gz". Error Object: #f Please tell me what are the extra steps that should be taken care of when submitting job to batch system involving UDF? Also, please advise me on what causing the errors. Note: Processing options: serial Thank you in advance. |
|
November 6, 2012, 20:16 |
|
#2 |
New Member
Join Date: Nov 2012
Posts: 2
Rep Power: 0 |
With some helps from my friends, problem solved! The problem occurred because my file was originally created on windows PC whereas the supercomputer system use unix machine. To avoid all the errors, transfer/upload all necessary files to the supercomputer system as usual, but before submitting the job, convert the udf file from dos to unix. To do that, on the unix command line on the supercomputer system type (let say the udf file name is UDFSource.c)
dos2unix UDFSource.c Good luck everyone |
|
May 16, 2013, 14:14 |
|
#3 |
Senior Member
Astio Lamar
Join Date: May 2012
Location: Pipe
Posts: 186
Rep Power: 14 |
Hello.
I try the same command dos2unix UDFSource.c But I got this error: bash: dos2unix: command not found what should I do? |
|
October 15, 2015, 13:50 |
I have the same problem
|
#4 | |
Member
Rui
Join Date: Apr 2015
Location: Montreal. CA
Posts: 49
Rep Power: 11 |
Quote:
second trial: dos2unix command couldnt be found third trial: I couldn't write dos2unix directly on the super computer |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with UDF for (v2-f) turbulence model in fluent | artemiss1984 | Fluent UDF and Scheme Programming | 6 | January 17, 2014 06:50 |
Running fluent with udf in batch mode | zonexo | Fluent UDF and Scheme Programming | 2 | March 10, 2012 08:50 |
Problem running fluent with InfiniBand | blackpuma | FLUENT | 10 | August 28, 2011 02:16 |
Problem in running fluent 6.3 (64 bit) on ubuntu 8.1 (64 bit) | Mir5 | FLUENT | 3 | April 29, 2009 11:32 |
UDF problem caused by various version of Fluent | Yurong | FLUENT | 3 | January 15, 2006 11:57 |