CFDEM error message: Trying to use the dummy Pstream library.

Submitted by moritzhoefert on Thu, 07/14/2011 - 11:01

Hi there,

I installed CFDEM based on OF 1.7.x and liggghts 1.3.3. (Remark: other than issues with using consistent compilers and the -fPIC option and fiddling around with paths it went smooth) and try to run it on cfdemSolverPisoCase_shared/settlingTestMPI

The error occurs in the bash function parCFDDEMRun(). It executes decomposePar successfully, fails removing couplingFiles/* because there are none. The fatal error occurs during the execution of the solver. Please find the complete error message below.

What does that error mean? Where does it come from? Is a library built incompletely?

One more thing: In spite of getting the error message, an evince window pops up showing CFD/octave/cfdemSolverPiso_settlingTestMPI.eps

Thank you for any comments!
Regards,
Moritz

2 // run_parallel_cfdemSolverPiso_settlingTestMPI_CFDDEM_shared //
3
4 /home/hoefert/test/foam/cfdemSolverPisoCase_shared/settlingTestMPI/CFD
5
6
7
8 --> FOAM FATAL ERROR:
9 Trying to use the dummy Pstream library.
10 This dummy library cannot be used in parallel mode
11
12 From function Pstream::init(int& argc, char**& argv)
13 in file Pstream.C at line 39.
14
15 FOAM exiting
16
17
18
19 --> FOAM FATAL ERROR:
20 Trying to use the dummy Pstream library.
21 This dummy library cannot be used in parallel mode
22
23 From function Pstream::init(int& argc, char**& argv)
24 in file Pstream.C at line 39.
25
26 FOAM exiting

cgoniva's picture

cgoniva | Thu, 07/14/2011 - 13:13

Hi!

This error is completely new to me.

please check if the installation really worked and if all environment vars in the /etc/bashrc are set correctly.

you dont have to use the scripts for running the case - which i would recommend until everything works fine -

use:
#- in case the Allrun.sh script does not work for you:
cd CFD
decomposePar
mpirun -np 2 cfdemSolverPiso_shared -parallel
reconstructPar
foamToVTK
cd ../DEM
pizza -f pizzaScriptInit
(quit with Strg-d)
visualize the data with paraview

Please keep me posted on your progress.

cheers,
Chris

moritzhoefert | Thu, 07/14/2011 - 15:09

Hi Chris,

thanks for your reply. During the wmake libso process of liblagrangianCFDEM_shared.so I get several messages of the kind

could not open file incompressible/turbulenceModel/turbulenceModel.H for source file subModels/voidFractionModel/centreVoidFraction/centreVoidFraction.C
Making dependency list for source file subModels/locateModel/locateModel/locateModel.C

but nevertheless the library is made. Maybe there is something wrong with my compilers and linkers.

>g++ --version
g++ (GCC) 4.4.4
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

>mpic++ --version
g++ (GCC) 4.4.4
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

>ld --version
GNU ld (GNU Binutils) 2.19
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

Is there a way to figure out if the solver fails to load a function from a shared object? Any other comments?

Kind regards,
Moritz

edit: Some infos about my system:
Intel(R) Xeon(R) CPU X5670 @ 2.93GHz
CentOS release 5.3 (Final)
Rocks release 5.2 (Chimichanga)

jtvanlew | Thu, 08/29/2013 - 04:53

I got the same error when I recently had to rebuild the cfdem on a new machine. I went into the /src/Pstream folder inside OpenFOAM and just forced a ./Allwmake. The console told me it was already built but when I went back to the CFDEM everything worked. Possibly this was a fluke but I wanted to share my solution.

jon