View Issue Details

IDProjectCategoryView StatusLast Update
0000511OpenFOAMBugpublic2014-01-08 09:20
Reporteruser326Assigned Touser4 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version11.10
Summary0000511: changeDictionary - instance flag has no effect, parallel case modification
DescriptionTime selector ('instance' flag) seems to have no effect, always changing the latest available time.
+ Is the only way to modify a decomposed case with changeDictionary is to run it with the 'case' flag on all processor folders? 'parallel' flag wont work, gives error:

--> FOAM FATAL ERROR:
bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor

    From function UPstream::init(int& argc, char**& argv)
    in file UPstream.C at line 81.

FOAM aborting
Additional InformationUsing: OpenFOAM-2.1.x
Build: 2.1.x-0a4aaeb0ca2b
TagsNo tags attached.

Relationships

has duplicate 0000512 resolveduser2 changeDictionary - instance flag problem - #0000511 report follow up 

Activities

henry

2012-04-16 16:10

manager   ~0001255

changeDictionary does run in parallel:

changeDictionary -help

Usage: changeDictionary [OPTIONS]
options:
  -case <dir> specify alternate case directory, default is the cwd
  -dict <file> specify an alternative to system/changeDictionaryDict
  -enableFunctionEntries
                    enable expansion of dictionary directives - #include,
                    #codeStream etc
  -instance <name> specify alternate time instance - default is latest time
  -literalRE treat regular expressions literally (ie, as a keyword)
  -noFunctionObjects
                    do not execute functionObjects
  -parallel run in parallel
  -region <name> specify alternative mesh region
  -roots <(dir1 .. dirN)>
                    slave root directories for distributed running
  -srcDoc display source code in browser
  -doc display application documentation in browser
  -help print the usage

Using: OpenFOAM-2.1.x (see www.OpenFOAM.org)
Build: 2.1.x-47a1510e35da

user326

2012-04-16 16:14

  ~0001256

I checked the help of course ... but it wont work.

Anyway, my main problem is the 'instance' flag, any comment on that? Thanks!

henry

2012-04-16 16:34

manager   ~0001257

It is not clear what you are trying to do or in what manner you are using changeDictionary. We are running changeDictionary in prallel without any problems and we are not aware of a bug in doing so. You have not provided enough information to reproduce the problem you have in running changeDictionary in parallel.

user4

2012-04-17 09:35

  ~0001259

Since the -instance flag didn't work anyway I've changed it to be -time to be consistent with the rest:

    changeDictionary -time 5
    changeDictionary -constant

Without any of these flags it will just use the setting as per controlDict.

fixed in 1001723c2661c7db23292873d506295b83cdeb82

Thanks for reporting.

Issue History

Date Modified Username Field Change
2012-04-16 15:52 user326 New Issue
2012-04-16 16:10 henry Note Added: 0001255
2012-04-16 16:10 henry Status new => closed
2012-04-16 16:10 henry Assigned To => henry
2012-04-16 16:10 henry Resolution open => fixed
2012-04-16 16:14 user326 Note Added: 0001256
2012-04-16 16:14 user326 Status closed => feedback
2012-04-16 16:14 user326 Resolution fixed => reopened
2012-04-16 16:34 henry Note Added: 0001257
2012-04-16 16:34 henry Status feedback => closed
2012-04-16 16:35 henry Resolution reopened => fixed
2012-04-17 09:35 user4 Note Added: 0001259
2012-04-17 09:35 user4 Assigned To henry =>
2012-04-17 09:35 user4 Status closed => resolved
2012-04-17 09:35 user4 Fixed in Version => 2.1.x
2012-04-17 12:21 user2 Relationship added has duplicate 0000512
2014-01-08 09:20 user4 Assigned To => user4
2014-01-08 09:20 user4 Status resolved => assigned
2014-01-08 09:20 user4 Status assigned => closed