# Foam-Extend 4.0 simpleFoam motorbike parallel error?

 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 10, 2021, 05:55 Foam-Extend 4.0 simpleFoam motorbike parallel error? #1 Senior Member   Sultan Islam Join Date: Dec 2015 Location: Canada Posts: 135 Rep Power: 9 Hello everyone! So I compiled Foam-Extend 4.0 and wanted to test the install using motorbike. I modified the Allrun to look like this: Code: #!/bin/sh # Source tutorial run functions . \$WM_PROJECT_DIR/bin/tools/RunFunctions runApplication blockMesh runApplication snappyHexMesh \rm -rf constant/polyMesh \mv 3/polyMesh constant \rm -rf 1 2 3 #runApplication simpleFoam runApplication decomposePar runApplication mpirun -np 6 simpleFoam runApplication reconstructPar However decomposePar throws these errors: Code: /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | For copyright notice see file Copyright | \*---------------------------------------------------------------------------*/ Build : 4.0-268bb07d15d8 Exec : decomposePar Date : May 10 2021 Time : 04:56:42 Host : eXohost PID : 24674 CtrlDict : "/home/si/Documents/OpenFOAM/Foam-Extend-4.0/Tutorials/Incompressible/simpleFoam/motorBike/system/controlDict" Case : /home/si/Documents/OpenFOAM/Foam-Extend-4.0/Tutorials/Incompressible/simpleFoam/motorBike nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Time = 0 Create mesh for region region0 Calculating distribution of cells --> FOAM Warning : From function decompositionMethod::loadExternalLibraries() in file decompositionMethod/decompositionMethod.C at line 508 Loading of decomposition library libparMetisDecomp.so unsuccesful. Some decomposition methods may not be available Selecting decompositionMethod hierarchical Finished decomposition in 0.4 s Calculating original mesh data Distributing cells to processors Distributing faces to processors Calculating processor boundary addressing Distributing points to processors Constructing processor meshes Processor 0 Number of cells = 56550 Number of faces shared with processor 1 = 1802 Number of faces shared with processor 3 = 3715 Number of faces shared with processor 4 = 2 Number of processor patches = 3 Number of processor faces = 5519 Number of boundary faces = 10182 Processor 1 Number of cells = 56550 Number of faces shared with processor 0 = 1802 Number of faces shared with processor 2 = 1209 Number of faces shared with processor 4 = 3181 Number of faces shared with processor 3 = 42 Number of processor patches = 4 Number of processor faces = 6234 Number of boundary faces = 12486 Processor 2 Number of cells = 56551 Number of faces shared with processor 1 = 1209 Number of faces shared with processor 5 = 4750 Number of faces shared with processor 4 = 45 Number of processor patches = 3 Number of processor faces = 6004 Number of boundary faces = 1970 Processor 3 Number of cells = 56551 Number of faces shared with processor 0 = 3715 Number of faces shared with processor 4 = 1746 Number of faces shared with processor 1 = 42 Number of processor patches = 3 Number of processor faces = 5503 Number of boundary faces = 10543 Processor 4 Number of cells = 56551 Number of faces shared with processor 1 = 3181 Number of faces shared with processor 3 = 1746 Number of faces shared with processor 5 = 1416 Number of faces shared with processor 2 = 45 Number of faces shared with processor 0 = 2 Number of processor patches = 5 Number of processor faces = 6390 Number of boundary faces = 12122 Processor 5 Number of cells = 56551 Number of faces shared with processor 2 = 4750 Number of faces shared with processor 4 = 1416 Number of processor patches = 2 Number of processor faces = 6166 Number of boundary faces = 1911 Number of processor faces = 17908 Max number of processor patches = 5 Max number of faces between processors = 6390 --> FOAM Serious Error : From function IOobject::readHeader(Istream&) in file db/IOobject/IOobjectReadHeader.C at line 89 Reading "/home/si/Documents/OpenFOAM/Foam-Extend-4.0/Tutorials/Incompressible/simpleFoam/motorBike/0/fixedInlet" at line 9 First token could not be read or is not the keyword 'FoamFile' Check header is of the form: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class IOobject; location "0"; object fixedInlet; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // --> FOAM Serious Error : From function IOobject::readHeader(Istream&) in file db/IOobject/IOobjectReadHeader.C at line 89 Reading "/home/si/Documents/OpenFOAM/Foam-Extend-4.0/Tutorials/Incompressible/simpleFoam/motorBike/0/frontBackUpperPatches" at line 9 First token could not be read or is not the keyword 'FoamFile' Check header is of the form: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class IOobject; location "0"; object frontBackUpperPatches; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // --> FOAM Serious Error : From function IOobject::readHeader(Istream&) in file db/IOobject/IOobjectReadHeader.C at line 89 Reading "/home/si/Documents/OpenFOAM/Foam-Extend-4.0/Tutorials/Incompressible/simpleFoam/motorBike/0/initialConditions" at line 9 First token could not be read or is not the keyword 'FoamFile' Check header is of the form: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class IOobject; location "0"; object initialConditions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Processor 0: field transfer Processor 1: field transfer Processor 2: field transfer Processor 3: field transfer Processor 4: field transfer Processor 5: field transfer End. My allmake logs show no errors and shows everything is built. Anyone have any ideas? Why can't it find parmetis decomp and why is it throwing those other errors