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

Problem in Running OpenFoam in Parallel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 11, 2013, 09:11
Question Problem in Running OpenFoam in Parallel
  #1
Member
 
Himanshu Sharma
Join Date: Jul 2012
Posts: 81
Rep Power: 4
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
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: Delft, Netherlands
Posts: 919
Rep Power: 16
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
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Check out the scientific computing exchange http://scicomp.stackexchange.com
akidess is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Case running in serial, but Parallel run gives error atmcfd OpenFOAM Running, Solving & CFD 10 November 24, 2013 07:35
parallel error with cyclic BCs for pimpleDyMFoam and trouble in resuming running sunliming OpenFOAM Bugs 21 November 22, 2013 04:38
running OpenFoam in parallel vishwa OpenFOAM 20 November 7, 2012 16:33
Problem in running job in parallel Tarak OpenFOAM 0 March 19, 2011 21:34
problem of running parallel Fluent on linux cluster ivanbuz FLUENT 11 March 10, 2010 16:13


All times are GMT -4. The time now is 20:33.