|
[Sponsors] |
August 11, 2011, 03:18 |
Run-time Code Compilation
|
#1 |
New Member
Aidan
Join Date: Apr 2010
Posts: 18
Rep Power: 16 |
Hi All,
I've been tinkering with the new Run-time Code Compilation feature in OF 2.0. It's a really nice feature and I've got it to work in serial mode but not in parallel. When I run in parallel, I get the following error: Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time [1] [1] [1] --> FOAM FATAL IO ERROR: [1] error in IOstream "IOstream" for operation primitiveEntry::readData(const dictionary&, Istream&) [1] [1] file: IOstream at line 0. [1] [1] From function IOstream::fatalCheck(const char*) const [1] in file db/IOstreams/IOstreams/IOstream.C at line 114. [1] FOAM parallel run exiting Aidan |
|
March 23, 2012, 06:25 |
|
#2 |
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19 |
Hi.
I haven been running in the same problem: run time code compilation works in serial, not in parallel. I got the same error message. Has anybody been able to resolve this yet ? Regards Eelco |
|
March 23, 2012, 07:22 |
|
#3 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
Yeah, I have the solution
in OpenFoam-2.x.x/etc/controlDict, you need to change this line to fileModificationChecking timeStamp; Mattijs said something about reading controlDict on only master node is a problem. |
|
March 23, 2012, 10:24 |
|
#4 |
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19 |
Yep, I justed posted the bug on Mantis and Matthijs gave me the same trick. It works now! Very convinient utility.
Thanks! Eelco |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient simulation not converging | skabilan | OpenFOAM Running, Solving & CFD | 14 | December 17, 2019 00:12 |
Run time Selection Mechanism - Some help required to understand | jaswi | OpenFOAM Programming & Development | 3 | October 29, 2015 14:42 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |
unsteady calcs in FLUENT | Sanjay Padhiar | Main CFD Forum | 1 | March 31, 1999 13:32 |