Error with 8cpu
Hello,
i have a problem in OpenFOAM running in parallel. I have post processed a case and doing a run with 4 cpu´s and everything is working fine. When I do a change in the decomposeParDict from 4 to 8 cpus i got the attached error message: /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.0-f5222ca19ce6 Exec : chtMultiRegionFoam -parallel Date : Jul 09 2014 Time : 11:12:10 Host : "chshws20050t" PID : 9244 Case : /home/dettling_m/OpenFOAM/dettling_m-2.3.0/run/SIM01_1m-s_to_10m-s/StepPlate_St1-0_2m-s_150s_8cpu nProcs : 8 Slaves : 7 ( "chshws20050t.9245" "chshws20050t.9246" "chshws20050t.9247" "chshws20050t.9248" "chshws20050t.9249" "chshws20050t.9250" "chshws20050t.9251" ) Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create fluid mesh for region bottomWater for time = 0 [5] [5] [5] --> FOAM FATAL ERROR: [5] Cannot find file "points" in directory "bottomWater/polyMesh" in times 0 down to constant [5] [5] From function Time::findInstance(const fileName&, const word&, const IOobject::readOption, const word&) [5] in file db/Time/findInstance.C at line 203. [5] FOAM parallel run exiting ... what am I doing wrong? In the following, my decomposeParDict file: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; note "mesh decomposition control dictionary"; location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // numberOfSubdomains 8; //- Keep owner and neighbour on same processor for faces in zones: // preserveFaceZones (heater solid1 solid3); // method scotch; method hierarchical; // method simple; // method manual; simpleCoeffs { n (2 2 1); delta 0.001; } hierarchicalCoeffs { n (2 2 2); delta 0.001; order xyz; } manualCoeffs { dataFile "decompositionData"; } Thank you very much for your help! |
Did you again decompose your case? How many processor-directories do you got?
|
I see this error a lot of times in my multiregion stuff.
I get this if I havent modded the numberOfSubdomains to agree in decomposeParDict in ALL regions as well as at the top. |
I get only 4 directories for the processors
processor 0 ... processor 3 What is the problem? I set the decomposeParDict to 8 cpus and I am doing the MPI with 8 |
I set the number of subdomains to 8 see the file
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // numberOfSubdomains 8; method hierarchical; hierarchicalCoeffs { n (2 2 2); delta 0.001; order xyz; } manualCoeffs { dataFile "decompositionData"; } I have absolute no idea what the error is because when I am doing the some thing only with 4 CPU it works fine |
try setting it (2 4 1) or (8 1 1) on the simpleCoeffs.
With your original (2 2 1) you are only splitting it into four pieces. |
I tried the configuration with (8 1 1), with (2 4 1) and got the error again.
I tried to do it with 2 CPU (2 1 1) and i got an error as well. When i had a look into the folder, i see 4 folders for processors (processor 0, ..., processor 3) I do not understand whats going on. Why is it working with 4 CPU and not with 2 or 6 or 8? |
Can you post the output of 'decomposePar' in case of (8 1 1) or (4 2 1)?
|
I have solved the problem.
I am running a case with multi region and in the region folder there is another file for decomposing. Here was always the entry 4 for CPUs. I have changed this for each region from 4 to 8 and now it is running correctly. Thanks a lot for your help! |
All times are GMT -4. The time now is 11:53. |