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

Single processor run versus multi-processor run in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2021, 22:10
Default Single processor run versus multi-processor run in OpenFOAM
  #1
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 204
Rep Power: 7
farzadmech is on a distinguished road
Dear Friends
I have been working on MPPIC solver(which I have developed extensively) and it works fine when I do single processor run, it works fine;

Code:
MPPICFoamFarzadd
but when I want to do multi-processor run, it fails;

Code:
echo "Mesh decomposition"
decomposePar

echo "Running"
mpirun -np 8 MPPICFoamFarzadd -parallel
and decomposeParDict is written below;
Code:
numberOfSubdomains 8;

method          scotch;

hierarchicalCoeffs
{
    n               (2 2 2);
    delta           0.001;
    order           xyz;
}
And code gives me this error;

Code:
Selecting stochastic collision model none
Selecting surface film model none
Selecting U integration scheme Euler
rhoTrans_ i = 0
rhoTrans_ i = 1
Selecting packing model none
Selecting damping model relaxation
Selecting time scale model nonEquilibrium
Selecting isotropy model stochastic
Selecting time scale model isotropic
Selecting turbulence model type RAS
Selecting RAS turbulence model kEpsilon
RAS
{
    RASModel        kEpsilon;
    turbulence      on;
    printCoeffs     on;
    Cmu             0.09;
    C1              1.44;
    C2              1.92;
    C3              0;
    sigmak          1;
    sigmaEps        1.3;
}

Creating finite volume options from "constant/fvOptions"

[1] 
[1] 
[1] --> FOAM FATAL IO ERROR: 
[1] error in IOstream "IOstream" for operation primitiveEntry::read(const dictionary&, Istream&) end
[1] 
[1] file: IOstream at line 0.
[1] 
[1]     From function void Foam::IOstream::fatalCheck(const char*) const
[1]     in file db/IOstreams/IOstreams/IOstream.C at line 109.
[1] 
FOAM parallel run exiting
[1] 
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 1 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0 
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
I really do not know why single processor works, but multi-processor does not work. Do you have any idea?


Thanks,
Farzad
farzadmech is offline   Reply With Quote

Reply

Tags
multi-processors, openfoam, scotch


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
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 15:54
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 11:50
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
OpenFOAM Training Beijing 22-26 Aug 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 May 3, 2016 04:57
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04


All times are GMT -4. The time now is 16:57.