|
[Sponsors] |
November 28, 2013, 06:05 |
Problem with parallel computing
|
#1 |
Member
Join Date: Nov 2012
Posts: 62
Rep Power: 14 |
Dear all,
I normally do my simulations in a cluster environment (Clunix). Each node is identified as hpc001, hpc002 etc and has 8 processors. For the last couple of days I have been trying to use two or more nodes parallely. I have followed this link: http://www.openfoam.org/docs/user/ru...s-parallel.php But nothing seems to work. I normally execute my command like this: mpirun --hostfile machines -np 16 icoFoam -parallel My machines file is like this: hpc027 hpc028 cpu=8 Here is my decomposeParDict file: *--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // numberOfSubdomains 16; method hierarchical; hierarchicalCoeffs { n (1 1 16); delta 0.001; order xyz; } distributed yes; roots 2 ( "/root/hpc027" // I have also tried like writing only "hpc027" "hpc028" "/root/hpc028" ); // ************************************************** *********************** // Everytime I got the similar error message: "number of entries in roots 2 is not equal to the number of slaves" Could someone shed any light into it? Thank you
__________________
Happy Foaming |
|
November 29, 2013, 02:47 |
|
#2 |
Senior Member
Join Date: Dec 2011
Posts: 111
Rep Power: 20 |
I think that you should avoid using the distributed function in decomposeParDict, and go for a centralized storage for all your data that is accessible from all your nodes. Then you don't need the contents of "roots" either. Besides that, I think you should post your error messages and describe your problem a bit more clearly.
|
|
Tags |
parallel computing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Problem with RenumberMesh in parallel in OpenFOAM 2.1.1 | srini_esi | OpenFOAM Meshing & Mesh Conversion | 1 | November 8, 2013 03:48 |
Problem in using UDF in parallel computing | Yogini | Fluent UDF and Scheme Programming | 0 | January 22, 2013 09:23 |
Parallel Run problem | shhe | OpenFOAM Running, Solving & CFD | 1 | April 27, 2010 07:52 |
Problem in Parallel UDF | Giacomo de Renzi | FLUENT | 12 | June 18, 2008 13:19 |
problem!! FLUENT 6.2 -SUSE parallel computing | khanjaved | FLUENT | 1 | August 15, 2005 23:00 |