CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Problem in Running OpenFoam in Parallel

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

Like Tree2Likes
  • 1 Post By himanshu28
  • 1 Post By akidess

LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2013, 09:11
Question Problem in Running OpenFoam in Parallel
Senior Member
Himanshu Sharma
Join Date: Jul 2012
Posts: 101
Rep Power: 13
himanshu28 is on a distinguished road

I am New to OpenFoam and was trying to run a test case "PitzDaily" to run in parallel according to instructions given on some help pages. But i am getting Following Error.

I have used Following command
"mpirun -np 2 simpleFoam pitzDailyParallel\ -parallel"
and before this decomposePar.

Usage: simpleFoam [OPTIONS]
  -case <dir>       specify alternate case directory, default is the cwd
                    do not execute functionObjects
  -parallel         run in parallel
  -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.1 (see
Build: 2.1.1-221db2718bbb

[0] Wrong number of arguments, expected 0 found 1
FOAM parallel run exiting
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD 
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.
mpirun has exited due to process rank 0 with PID 21968 on
node ubuntu exiting without calling "finalize". This may
have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
If any body can help me to know what this error is all about.

Thank you

Himanshu Sharma
ordinary likes this.
himanshu28 is offline   Reply With Quote

Old   July 11, 2013, 09:19
Senior Member
akidess's Avatar
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Your run command is wrong. Either just execute mpirun -np 2 simpleFoam -parallel, or mpirun -np 2 simpleFoam -case pitzDailyParallel -parallel
6863523 likes this.
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote


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
problem of running parallel Fluent on linux cluster ivanbuz FLUENT 15 September 23, 2017 19:12
Case running in serial, but Parallel run gives error atmcfd OpenFOAM Running, Solving & CFD 18 March 26, 2016 12:40
running OpenFoam in parallel vishwa OpenFOAM Running, Solving & CFD 22 August 2, 2015 08:53
parallel error with cyclic BCs for pimpleDyMFoam and trouble in resuming running sunliming OpenFOAM Bugs 21 November 22, 2013 03:38
Problem in running job in parallel Tarak OpenFOAM 0 March 19, 2011 20:34

All times are GMT -4. The time now is 00:32.