Error while running the ErgunTestMPI tutorial

Submitted by cheese_muffin on Tue, 06/11/2013 - 01:51

/home/kbuntu/CFDEM/kbuntu-PUBLIC-2.2.0/run/ErgunTestMPI/parCFDDEMrun.sh: line 13: /etc/functions.sh: No such file or directory
/home/kbuntu/CFDEM/kbuntu-PUBLIC-2.2.0/run/ErgunTestMPI/parCFDDEMrun.sh: line 31: parCFDDEMrun: command not found
rm: cannot remove `cfdemSolverPiso_ErgunTestMPI.eps': No such file or directory
/home/kbuntu/CFDEM/kbuntu-PUBLIC-2.2.0/run/ErgunTestMPI/parCFDDEMrun.sh: line 46: octave: command not found

** (evince:22886): WARNING **: Error when getting information for file '/home/kbuntu/CFDEM/kbuntu-PUBLIC-2.2.0/run/ErgunTestMPI/CFD/octave/cfdemSolverPiso_ErgunTestMPI.eps': No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

** (evince:22886): WARNING **: Error setting file metadata: No such file or directory

I am a new user to CFDEM and as such I do not have any experience with rpogram. I get this error when I run the ErgunTestMPI tutorial. I know it says that the file is missing but I have no idea how to solve it.

ckloss's picture

ckloss | Thu, 06/13/2013 - 17:57

Hi cheese_muffin,

I moved the thread as this is a CFDEMcoupling topic

Cheers
Christoh

maysmech | Fri, 06/14/2013 - 15:53

I have same problem.
Any suggestion will be appreciated?

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0
Exec : decomposePar
Date : Jun 14 2013
Time : 18:14:23
Host : "user"
PID : 22100
Case : /home/PC/CFDEM/PC-PUBLIC-2.2.0/run/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD
nProcs : 1
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

Decomposing mesh region0

Create mesh

Calculating distribution of cells
Selecting decompositionMethod simple

Finished decomposition in 0.01 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 = 1152
Number of faces shared with processor 1 = 192
Number of faces shared with processor 2 = 192
Number of processor patches = 2
Number of processor faces = 384
Number of boundary faces = 288

Processor 1
Number of cells = 1152
Number of faces shared with processor 0 = 192
Number of faces shared with processor 3 = 192
Number of processor patches = 2
Number of processor faces = 384
Number of boundary faces = 288

Processor 2
Number of cells = 1152
Number of faces shared with processor 0 = 192
Number of faces shared with processor 3 = 192
Number of processor patches = 2
Number of processor faces = 384
Number of boundary faces = 288

Processor 3
Number of cells = 1152
Number of faces shared with processor 1 = 192
Number of faces shared with processor 2 = 192
Number of processor patches = 2
Number of processor faces = 384
Number of boundary faces = 288

Number of processor faces = 768
Max number of cells = 1152 (0% above average 1152)
Max number of processor patches = 2 (0% above average 2)
Max number of faces between processors = 384 (0% above average 384)

Time = 0

Processor 0: field transfer
Processor 1: field transfer
Processor 2: field transfer
Processor 3: field transfer

End.

// run_parallel_cfdemSolverPiso_ErgunTestMPI_CFDDEM //

/home/PC/CFDEM/PC-PUBLIC-2.2.0/run/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD

rm: cannot remove `couplingFiles/*': No such file or directory
--------------------------------------------------------------------------
mpirun was unable to launch the specified application as it could not find an executable:

Executable: cfdemSolverPiso
Node: user

while attempting to start process rank 0.
--------------------------------------------------------------------------
4 total processes failed to start
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0
Exec : reconstructPar
Date : Jun 14 2013
Time : 18:14:23
Host : "user"
PID : 22117
Case : /home/PC/CFDEM/PC-PUBLIC-2.2.0/run/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD
nProcs : 1
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

--> FOAM FATAL ERROR:
No times selected

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

FOAM exiting

rm: cannot remove `cfdemSolverPiso_ErgunTestMPI.eps': No such file or directory
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.

Octave was configured for "i686-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

rhoG = 10
loading ../probes/0/p ...
*** error: could not open "../probes/0/p" ...
x = 0
y = 0
error: A(I): Index exceeds matrix dimension.
error: called from:
error: totalPressureDrop.m at line 16, column 8

** (evince:22120): WARNING **: Error when getting information for file '/home/PC/CFDEM/PC-PUBLIC-2.2.0/run/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/octave/cfdemSolverPiso_ErgunTestMPI.eps': No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

** (evince:22120): WARNING **: Error setting file metadata: No such file or directory

maysmech | Fri, 06/14/2013 - 16:23

The error is solved by changing path = '../probes/0/p' to path = '../postProcessing/probes/0/p' in /CFD/octave/totalPressureDrop.m file.

cgoniva's picture

cgoniva | Wed, 06/19/2013 - 16:21

Hi!

the error stems from the fact that OF 2.2.x writes the probes to different directories than previous versions.

Cheers,
Chris

Antonio Aldair | Wed, 11/11/2015 - 20:21

Chris, could you please give us a detailed step-by-step about how to solve this problem? I am new in using Linux and the only reason I am trying to learn CFDEMcoupling is because os my research in university, but the installation of CFDEMcoupling is becoming a nightmare for me.

Thanks !

j-kerbl's picture

j-kerbl | Mon, 11/16/2015 - 11:33

Hi Antonio,

what exactly is the problem?

But here is the installation in a nutshell:
Download OpenFOAM-2.3.x CFDEMCoupling and LIGGGHTS via git clone.
Copy commit-hash from CFDEMCoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/cfdTools/versionInfo.H
(word OF-verison="2.3.x-commit-";)
Goto OpenFOAMFolder 2.3.x
Run "git checkout "

Compile OF as in their git installation instructions.

Copy this to your .bashrc (in your $HOME folder)

#================================================#
#- source cfdem env vars
export CFDEM_VERSION=PUBLIC
export CFDEM_PROJECT_DIR=$HOME/CFDEM/CFDEMcoupling-$CFDEM_VERSION-$WM_PROJECT_VERSION
export CFDEM_SRC_DIR=$CFDEM_PROJECT_DIR/src
export CFDEM_SOLVER_DIR=$CFDEM_PROJECT_DIR/applications/solvers
export CFDEM_DOC_DIR=$CFDEM_PROJECT_DIR/doc
export CFDEM_UT_DIR=$CFDEM_PROJECT_DIR/applications/utilities
export CFDEM_TUT_DIR=$CFDEM_PROJECT_DIR/tutorials
export CFDEM_PROJECT_USER_DIR=$HOME/CFDEM/$LOGNAME-$CFDEM_VERSION-$WM_PROJECT_VERSION
export CFDEM_bashrc=$CFDEM_SRC_DIR/lagrangian/cfdemParticle/etc/bashrc
export CFDEM_LIGGGHTS_SRC_DIR=$HOME/LIGGGHTS/LIGGGHTS-PUBLIC/src
export CFDEM_LIGGGHTS_MAKEFILE_NAME=fedora_fpic
export CFDEM_LPP_DIR=$HOME/LIGGGHTS/mylpp/src
export CFDEM_PIZZA_DIR=$HOME/LIGGGHTS/PIZZA/gran_pizza_17Aug10/src
. $CFDEM_bashrc
#================================================#

Adjust the CFDEM_PROJECT_DIR and CFDEM_LIGGGHTS_SRC_DIR according to your locations.

Open a new terminal
run cfdemSysTest
check results

run cfdemCompCFDEMall

Cheers
Josef