|
[Sponsors] |
September 9, 2006, 09:26 |
Hi,
I have a customized sol
|
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi,
I have a customized solver (not a standard OpenFOAM solver). It ran fine in serial. When I ran it in parallel, AMG failed. Changed to ICCG/BICCG, ran with only a warning at each time step. I have not checked whether the results are correct. When looking at the code, is there a way to tell whether it is "parallel-ready"? Pei |
|
September 20, 2006, 13:57 |
Hi,
I have a customized sol
|
#2 |
New Member
Jojo
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
Hi,
I have a customized solver as well. However, I do not manage to run it in parallel while it runs fine in serial. I get the following message: ----------------------------------------------------------------------------- It seems that [at least] one of the processes that was started with mpirun did not invoke MPI_INIT before quitting (it is possible that more than one process did not invoke MPI_INIT -- mpirun was only notified of the first one, which was on node n0). mpirun can *only* be used with MPI programs (i.e., programs that invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program to run non-MPI programs over the lambooted nodes. ----------------------------------------------------------------------------- It seems that wmake compilation of custom solvers has an issue with parallelization (I have seen another post with the same problem). |
|
September 20, 2006, 15:46 |
Hey,
I think first you woul
|
#3 |
Senior Member
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
Hey,
I think first you would need to understand the existing solvers like GaussSeidel. Set up a very simple test case like 10x1x1 cells and a very simple equation and check whether each processor receives what you would expect. markus |
|
September 21, 2006, 05:59 |
- make sure your solver uses a
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
- make sure your solver uses argList to extract the command line options
- make sure your solver gets called with a -parallel option |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMG Solver in parallel | fra76 | OpenFOAM Running, Solving & CFD | 13 | February 22, 2007 03:38 |
Parallel execution of customized solver | otsuki | OpenFOAM Running, Solving & CFD | 2 | March 24, 2006 08:47 |
Parallel solver with 3.2 | robbie | Siemens | 1 | August 10, 2004 08:29 |
3D PARALLEL SOLVER (MPI Lib) | Saud Khashan | Main CFD Forum | 8 | July 14, 1999 09:52 |