|
[Sponsors] |
July 11, 2013, 10:11 |
Problem in Running OpenFoam in Parallel
|
#1 |
Senior Member
Himanshu Sharma
Join Date: Jul 2012
Posts: 101
Rep Power: 14 |
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). -------------------------------------------------------------------------- Thank you Regards Himanshu Sharma |
|
July 11, 2013, 10:19 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem of running parallel Fluent on linux cluster | ivanbuz | FLUENT | 15 | September 23, 2017 20:12 |
Case running in serial, but Parallel run gives error | atmcfd | OpenFOAM Running, Solving & CFD | 18 | March 26, 2016 13:40 |
running OpenFoam in parallel | vishwa | OpenFOAM Running, Solving & CFD | 22 | August 2, 2015 09:53 |
parallel error with cyclic BCs for pimpleDyMFoam and trouble in resuming running | sunliming | OpenFOAM Bugs | 21 | November 22, 2013 04:38 |
Problem in running job in parallel | Tarak | OpenFOAM | 0 | March 19, 2011 21:34 |