FOAM fatal error

Submitted by Matthew on Sat, 04/15/2017 - 17:46

Hi all,
when i launch the cfdemTestTUT command it gives me this output

path to provide the path relative to CFDEM_TUT_DIR

example:
cfdemSolverPiso/settlingTestMPI/dir

change path
running testcase /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/tutorials/cfdemSolverPiso/settlingTestMPI
mesh was built before - using old mesh
Decomposing case.
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 3.0.x-ac3f6c67e02f
Exec : decomposePar -force
Date : Apr 15 2017
Time : 17:42:38
Host : "matte-X556UJ"
PID : 2890
Case : /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Decomposing mesh region0

Removing 2 existing processor directories
Create mesh

Calculating distribution of cells
Selecting decompositionMethod simple

Finished decomposition in 0 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes

Processor 0
Number of cells = 160
Number of faces shared with processor 1 = 16
Number of processor patches = 1
Number of processor faces = 16
Number of boundary faces = 176

Processor 1
Number of cells = 160
Number of faces shared with processor 0 = 16
Number of processor patches = 1
Number of processor faces = 16
Number of boundary faces = 176

Number of processor faces = 16
Max number of cells = 160 (0% above average 160)
Max number of processor patches = 1 (0% above average 1)
Max number of faces between processors = 16 (0% above average 16)

Time = 0

Processor 0: field transfer
Processor 1: field transfer

End

do nothing.

// run_parallel_cfdemSolverPiso_settlingTestMPI_CFDDEM //

/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD

rm: cannot remove 'couplingFiles/*': No such file or directory
--------------------------------------------------------------------------
mpirun was unable to find the specified executable file, and therefore
did not launch the job. This error was first reported for process
rank 0; it may have occurred for other processes as well.

NOTE: A common cause for this error is misspelling a mpirun command
line parameter option (remember that mpirun interprets the first
unrecognized command line token as the executable).

Node: matte-X556UJ
Executable: cfdemSolverPiso
--------------------------------------------------------------------------
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 3.0.x-ac3f6c67e02f
Exec : reconstructPar
Date : Apr 15 2017
Time : 17:42:39
Host : "matte-X556UJ"
PID : 2909
Case : /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/tutorials/cfdemSolverPiso/settlingTestMPI/CFD
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

--> FOAM FATAL ERROR:
No times selected

From function reconstructPar
in file reconstructPar.C at line 210.

FOAM exiting

rm: cannot remove 'cfdemSolverPiso_settlingTestMPI.png': No such file or directory
error: load: unable to find file ../../DEM/post/velocity.txt
error: called from
settlingVelocity.m at line 10 column 6
/home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/tutorials/cfdemSolverPiso/settlingTestMPI/parCFDDEMrun.sh: line 46: eog: command not found
cp: cannot stat 'cfdemSolverPiso_settlingTestMPI.png': No such file or directory
deleting data at: /home/matte/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/tutorials/cfdemSolverPiso/settlingTestMPI ? otherwise press Ctrl-C:\n

I don't know how to fix this problem with mpi... anyone can help me?
Thank you very much,
Matteo

Matthew | Mon, 04/24/2017 - 13:17

Hi all,
I Think this is a common problem, and i cannot find any solution. Anyone can find a solution for this? In particolar the problem is that
"Could not open file ompi/mpi/cxx/pstatus_inln.h for source file subModels/liggghtsCommandModel/setDEMGravity/setDEMGravity.C due to No such file or directory", for example, or the other very similar lines of the log.

Why is it asking for file (note initial 'p') "pstatus_inln.h" instead of "status_inln.h", which is of mpi?

I Think that this could be a problem in the CFDEM coupling... otherwise i really dont have answers for this.

Thank you for attention and please reply,
Matthew

medvedeg | Wed, 05/10/2017 - 13:21

Hallo Matthew,

sorry for late reply.
As I can see from logs, CFDEMcoupling is not compiled: neither "cfdemParticle" library nor solvers.
The problem is:
"error: no matching function for call to ‘LAMMPS_NS::Force::cg(int)’
particleCloud_.setCG(lmp->force->cg(int(GREAT))); "

Do you use CFDEMcoupling and LIGGGHTS compatible to each other? You said you use CFDEMcoupling-3.0 (relative old). Looks like your LIGGGHTS version is one of the latest. I suggest to use the latest version of both codes (CFDEMcoupling-PUBLIC-3.6.0 and LIGGGHTS-PUBLIC-3.6.0, must be compatible).

Alexander Podlozhnyuk