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

FATAL ERROR - parallel processing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2014, 11:11
Question FATAL ERROR - parallel processing
  #1
New Member
 
Join Date: Jul 2014
Posts: 13
Rep Power: 11
P1361 is on a distinguished road
Hi everybody,

I tried to run a case on 16 processors using buoyantPimpleFoam solver.

I decomposed the domain according to the user's guide. And then run the case using the command:



<path>$ mpirun -np 16 buoyantPimpleFoam -parallel



but I got the following 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 79.

FOAM aborting




I have already used Foam in parallel, and am pretty sure that I've done everything correctly. Anybody has an idea what this error means?!

Please help! I may lose my job!!

Last edited by P1361; October 30, 2014 at 04:56.
P1361 is offline   Reply With Quote

Old   March 12, 2018, 10:07
Default
  #2
Member
 
Join Date: Jan 2018
Location: Malaysia
Posts: 58
Rep Power: 8
jiahui_93 is on a distinguished road
hi, i know it was a long post. Just to share in case others are facing it. I solved it by recheck and changing the number of domains in decomposeParDict to that of the np. I am not sure if your case has the same careless mistake
because line 79 shows this:
Code:
if (numprocs <= 1)
    {
        FatalErrorInFunction
            << "bool IPstream::init(int& argc, char**& argv) : "
               "attempt to run parallel on 1 processor"
            << Foam::abort(FatalError);
    }
Btw, I read a solution which is u can move the line relating to OF to the end of the bashrc file in opt/OpenFoam 5/ etc/ bashrc.

Please correct me if I am wrong. Thanks

Last edited by jiahui_93; March 13, 2018 at 04:04.
jiahui_93 is offline   Reply With Quote

Reply


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
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
[snappyHexMesh] sHM: FATAL ERROR: More than six unsigned transforms detected Djub OpenFOAM Meshing & Mesh Conversion 0 July 15, 2014 04:43
NO model vs post processing in coal combustion,CFX sakalido CFX 1 April 15, 2011 14:07
Post Processing in FEM Abhijit Tilak Main CFD Forum 0 April 26, 2004 11:59
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 01:09.