CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Foam-Extend 4.0 simpleFoam motorbike parallel error?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2021, 05:55
Unhappy Foam-Extend 4.0 simpleFoam motorbike parallel error?
  #1
Senior Member
 
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 141
Rep Power: 10
EternalSeekerX is on a distinguished road
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
EternalSeekerX is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] ParaView command in Foam-extend-4.1 mitu_94 ParaView 0 March 4, 2021 14:46
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31


All times are GMT -4. The time now is 18:41.