CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Run-time Code Compilation

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By niklas

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2011, 02:18
Default Run-time Code Compilation
  #1
New Member
 
Aidan
Join Date: Apr 2010
Posts: 18
Rep Power: 16
flowman is on a distinguished road
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
Has anyone got it to work successfully in parallel? If so, how!? :-)

Aidan
flowman is offline   Reply With Quote

Old   March 23, 2012, 05:25
Default
  #2
Senior Member
 
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19
eelcovv is on a distinguished road
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
eelcovv is offline   Reply With Quote

Old   March 23, 2012, 06:22
Default
  #3
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
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.
sina.s likes this.
niklas is offline   Reply With Quote

Old   March 23, 2012, 09:24
Default
  #4
Senior Member
 
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19
eelcovv is on a distinguished road
Yep, I justed posted the bug on Mantis and Matthijs gave me the same trick. It works now! Very convinient utility.

Thanks!
Eelco
eelcovv is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 16, 2019 23:12
Run time Selection Mechanism - Some help required to understand jaswi OpenFOAM Programming & Development 3 October 29, 2015 13:42
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07
unsteady calcs in FLUENT Sanjay Padhiar Main CFD Forum 1 March 31, 1999 12:32


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