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

Problem in Running OpenFoam in Parallel

Register Blogs Community New Posts Updated Threads Search

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

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

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.


Code:
Usage: simpleFoam [OPTIONS]
options:
  -case <dir>       specify alternate case directory, default is the cwd
  -noFunctionObjects
                    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 www.OpenFOAM.org)
Build: 2.1.1-221db2718bbb

[0] 
[0] 
[0] --> FOAM FATAL ERROR: 
[0] Wrong number of arguments, expected 0 found 1
[0] 
[0] 
FOAM parallel run exiting
[0] 
--------------------------------------------------------------------------
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

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

Old   July 11, 2013, 09:19
Default
  #2
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

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
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 07:11.