|
[Sponsors] |
August 16, 2012, 07:28 |
Parallel Problems
|
#1 |
New Member
James Davies
Join Date: Aug 2012
Posts: 7
Rep Power: 14 |
Hi,
Very new to OpenFOAM, managed to get simulations running properly, but now trying to move onto bigger and better things, very basic but i want to run a simulation across the 4 CPUs in my machine, i have been able to run decomposePar, but then im having trouble actually running the simulation in parallel. i have been entering: mpirun -np 4 simpleFoam -case $FOAM_RUN/ConvergingPipe \-parallel > log Tommasobut it will not run, getting a variety of error messages, none of which i can make sense of! any help Appreciated Cheers |
|
August 16, 2012, 08:11 |
|
#2 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
...and you wont get any help if you dont post the error message
|
|
August 16, 2012, 09:11 |
|
#3 |
New Member
James Davies
Join Date: Aug 2012
Posts: 7
Rep Power: 14 |
Sorry about that, when i try to run it this time, this is what i entered and what came up,
lobby@lobby-desktop:~/OpenFOAM/lobby-2.0.1/run/James/Basic/pipe/simpleFoam/ConvergingPipe$ mpirun -np 4 simpleFoam -case $FOAM_RUN/James/Basic/pipe/simpleFoam/ConvergingPipe \-parallel > log [0] [0] [0] --> FOAM FATAL ERROR: [0] Cannot read "/home/lobby/OpenFOAM/lobby-2.1.1/run/James/Basic/pipe/simpleFoam/ConvergingPipe/system/decomposeParDict" [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 3327 on node lobby-desktop exiting without calling "finalize". This may have caused other processes in the application to be terminated by signals sent by mpirun (as reported here). but decomposeParDict is in the system folder under that case?? |
|
August 16, 2012, 09:38 |
|
#4 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
how were you able to run decomposePar without the decomposeParDict?
|
|
August 16, 2012, 09:40 |
|
#5 |
New Member
James Davies
Join Date: Aug 2012
Posts: 7
Rep Power: 14 |
decomposeParDict IS in that folder, i ran decomposePar fine, just when i try to start the simulation it won't read it i guess??
|
|
August 16, 2012, 09:56 |
|
#6 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
hmmm....
so if you go to that case directory and type mpirun -np 4 simpleFoam -parallel does that work? |
|
August 16, 2012, 10:07 |
|
#7 |
New Member
James Davies
Join Date: Aug 2012
Posts: 7
Rep Power: 14 |
Yesss!! i swapped out the old decomposeParDict for a fresh one from the tutorials and with this seems to be working now, thanks
|
|
October 30, 2012, 15:10 |
Simple 2D parallel heat conduction
|
#8 |
Member
,...
Join Date: Apr 2011
Posts: 92
Rep Power: 14 |
I am running a simple 2D heat condition problem in parallel. The domain is decomposed into 4 equal regions in the horizontal direction. The temperature contour looks like file 4 in attachment. However, when I am running the case on 1 processor the contour looks like file 1. As you see, the temperatures do not seem to be right at the intersection of the domains, solved by different processors. Any idea what is wrong?
|
|
Tags |
openfoam, parallel, parallel processing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HP MPI warning...Distributed parallel processing | Peter | CFX | 10 | May 14, 2011 07:17 |
Problems with "polyTopoChange" on parallel?!? | daZigeiner | OpenFOAM Programming & Development | 0 | March 14, 2011 11:05 |
Problems with parallel | wolfgray | OpenFOAM Running, Solving & CFD | 0 | April 14, 2008 05:36 |
Problems with mesh motion in parallel | thomas | OpenFOAM Running, Solving & CFD | 3 | July 4, 2007 03:48 |
CFX - Parallel Problems | CFX User | CFX | 0 | November 1, 2004 19:12 |