installing problem of cfdem

Submitted by Tingting on Fri, 02/24/2017 - 18:11

Hi all,

I tried to install openfoam, liggghts and cfdemcoupling according to
"https://www.evernote.com/shard/s214/sh/0ec74d17-2173-4c6e-a156-6c8cbe418..."

when i type cfdemSysTest, it showd

************************************
using default CFDEM_ADD_LIBS_DIR=/home/tingting/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/addLibs_universal
using default CFDEM_ADD_LIBS_NAME=additionalLibs_
!!! ERROR !!!: CFDEM_ADD_LIBS_DIR/CFDEM_ADD_LIBS_NAME=/home/tingting/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_ does not exist.
************************************
ERROR from your CFDEM code!
ERROR: your OpenFOAM(R) version is not supported!
Please use a version that is supported, i.e., see the bashrc file in the source directory!
************************************
************************************
tingting@tingting-MS-7891:~$ cfdemSysTest

*********************************************
* C F D E M (R) c o u p l i n g *
* *
* by DCS Computing GmbH *
* www.dcs-computing.com *
*********************************************

*********************************
CFDEM(R)coupling system settings:
*********************************
CFDEM_VERSION=PUBLIC
couple to OF_VERSION=
compile option=

check if paths are set correctly
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /home/tingting/CFDEM/CFDEMcoupling-PUBLIC-
valid:yes critical:no - $CFDEM_PROJECT_USER_DIR = /home/tingting/CFDEM/tingting-PUBLIC-
valid:yes critical:yes - $CFDEM_SRC_DIR = /home/tingting/CFDEM/CFDEMcoupling-PUBLIC-/src

valid:yes critical:yes - $CFDEM_SOLVER_DIR = /home/tingting/CFDEM/CFDEMcoupling-PUBLIC-/applications/solvers
valid:yes critical:yes - $CFDEM_TUT_DIR = /home/tingting/CFDEM/CFDEMcoupling-PUBLIC-/tutorials
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /home/tingting/LIGGGHTS/LIGGGHTS-PUBLIC/src
valid:yes critical:yes - $CFDEM_LPP_DIR = /home/tingting/LIGGGHTS/mylpp/src
valid:yes critical:yes - $CFDEM_ADD_LIBS_DIR = /home/tingting/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/addLibs_universal
valid:NO critical:no - $CFDEM_PIZZA_DIR = does not exist
valid:yes critical:no - $CFDEM_TEST_HARNESS_PATH = /home/tingting/CFDEM/tingting-PUBLIC-/log/logFilesCFDEM-PUBLIC-
valid:NO critical:no - $C3PO_SRC_DIR = does not exist

library names
$CFDEM_LIGGGHTS_LIB_NAME = lmp_fedora_fpic
$CFDEM_LIB_NAME = lagrangianCFDEM-PUBLIC-
$LD_LIBRARY_PATH =
$WM_NCOMPPROCS =
$WM_LABEL_SIZE =
/home/tingting/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/cfdemSystemTest.sh: line 50: [: !=: unary operator expected

Additional lib settings
.Makefile_vtk_tmp:1: /home/tingting/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_: No such file or directory
make: *** No rule to make target `/home/tingting/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/addLibs_universal/additionalLibs_'. Stop.

*******************
g++:
/usr/bin/g++
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 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.

gcc:
/usr/bin/gcc
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 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++:
/usr/bin/mpic++
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 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.

mpirun:
/usr/bin/mpirun
mpirun (Open MPI) 1.6.5

Report bugs to http://www.open-mpi.org/community/help/
**********************
additional packages...
tingting@tingting-MS-7891:~$
tingting@tingting-MS-7891:~$

Please let me know what is the problem,
Thanks

alice's picture

alice | Mon, 02/27/2017 - 08:08

Hi Tingting,
something seems to be wrong with the installation (our only sourcing) of your OpenFOAM version. The variable $WM_PROJECT_VERSION (which is part of the environment variables set by OpenFOAM) does not seem to be set. Type
echo $WM_PROJECT_VERSION
, if it displays nothing or anything else than 3.0.x something's wrong there. (Did you add the sourcing line to your ~/.bashrc?)
Best regards,
Alice