Problem with parallel computing
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 |
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.
|
All times are GMT -4. The time now is 11:52. |