Skip to content
Snippets Groups Projects
Commit 5c24ee40 authored by Henry Weller's avatar Henry Weller
Browse files

RunFunctions::getNumberOfProcessors: Added support for files included in decomposeParDict

parent cfb48464
Branches
Tags
1 merge request!33Merge foundation
  • Developer

    @andy This is problem when case doesn't have default decomposeParDict

    The usage of -np xxx and -decomposeParDict yyy leads to success in running the job. However call to this function leads to failure. e.g.

    --> FOAM FATAL IO ERROR: 
    file "system/decomposeParDict" does not exist
    
    file: system/decomposeParDict at line 1.
    
        From function Foam::IFstream& Foam::IFstream::operator()() const
        in file db/IOstreams/Fstreams/IFstream.C at line 176.           
    
    FOAM exiting
  • Maintainer

    You'll have to adapt the Allrun script accordingly. The code cannot predict what the name of the decomposeParDict is.

    Fancy adding an optional -decomposeParDict argument to getNumberOfProcessors()?

  • Prashant Sonakar @Prashant

    mentioned in merge request !36 (merged)

    ·

    mentioned in merge request !36 (merged)

    Toggle commit list
  • Andrew Heather @andy

    mentioned in commit f35e966f

    ·

    mentioned in commit f35e966f

    Toggle commit list
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment