Problem with compiling CFDEM coupling

Submitted by mgumulya on Tue, 05/07/2013 - 10:48

Hi,

I'm trying to CFDEMcoupling (using the command cfdemCompCFDEM), but I got the following error when trying to compile the solver and postprocessing utilities:

mkdir: cannot create directory `': No such file or directory

I've been looking at the bashrc files, and the environment variables seem to all be correct. I got the following message for cfdemSysTest:

*******************
system settings:
*******************
CFDEM_VERSION=PUBLIC
couple to OF_VERSION=2.1.x

check if paths are set correctly
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /home/monica/CFDEM/CFDEMcoupling-PUBLIC-2.1.x
valid:yes critical:no - $CFDEM_PROJECT_USER_DIR = /home/monica/CFDEM/monica-PUBLIC-2.1.x
valid:yes critical:yes - $CFDEM_SRC_DIR = /home/monica/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/src/lagrangian/cfdemParticle
valid:yes critical:yes - $CFDEM_SOLVER_DIR = /home/monica/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/applications/solvers
valid:yes critical:yes - $CFDEM_TUT_DIR = /home/monica/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/tutorials
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /home/monica/LIGGGHTS/LIGGGHTS-PUBLIC/src
valid:yes critical:yes - $CFDEM_LPP_DIR = /home/monica/LIGGGHTS/mylpp/src
valid:NO critical:no - $CFDEM_PIZZA_DIR = /home/monica/LIGGGHTS/PIZZA/gran_pizza_17Aug10/src does not exist
valid:NO critical:no - $CFDEM_TEST_HARNESS_PATH = /home/monica/CFDEM/monica-PUBLIC-2.1.x/log/logFilesCFDEM-PUBLIC-2.1.x does not exist

library names
$CFDEM_LIGGGHTS_LIB_NAME = lmp_fedora_fpic
$CFDEM_LIB_NAME = lagrangianCFDEM-PUBLIC-2.1.x
$LD_LIBRARY_PATH = /home/monica/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12:/home/monica/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3:/home/monica/OpenFOAM/ThirdParty-2.1.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3:/home/monica/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/openmpi-1.5.3/lib:/home/monica/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/openmpi-1.5.3/lib64:/home/monica/OpenFOAM/monica-2.1.x/platforms/linux64GccDPOpt/lib:/home/monica/OpenFOAM/site/2.1.x/platforms/linux64GccDPOpt/lib:/home/monica/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib:/home/monica/OpenFOAM/ThirdParty-2.1.x/platforms/linux64GccDPOpt/lib:/home/monica/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/dummy
*******************
g++:
/usr/bin/g++
g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 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/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 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++:
/home/monica/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/openmpi-1.5.3/bin/mpic++
g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 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:
/home/monica/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/openmpi-1.5.3/bin/mpirun
mpirun (Open MPI) 1.5.3

Report bugs to http://www.open-mpi.org/community/help/

Would you be able to advice why I got the error above?

Thank you
Monica

alice's picture

alice | Tue, 05/07/2013 - 15:31

Hello Monica,
the message you postetd does not indicate any error. The output of cfdemSysTest just looks the way it should. Did the compilation of the cloud complete?
Cheers,
Alice

mgumulya | Wed, 05/08/2013 - 03:28

Hi Alice,
Thanks for the prompt response. The compile process for the files in the src folder seems to complete OK. It is for the solvers in the application folder that I got the problem. I basically got the same message for all 3 solvers:

// log_compileCFDEMcoupling_cfdemSolverIB_cfdemSolverIB-2013-05-07-16:41 //

/home/monica/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/applications/solvers/cfdemSolverIB

removing all .dep files ...
Making dependency list for source file cfdemSolverIB.C
could not open file RASModel.H for source file cfdemSolverIB.C
SOURCE=cfdemSolverIB.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/transportModels -I/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/monica/CFDEM/CFDEMcoupling-PUBLIC-2.1.x/src/lagrangian/cfdemParticle/lnInclude -I/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/dynamicFvMesh/lnInclude -I/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/dynamicMesh/lnInclude -I/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/dynamicMesh/dynamicMesh/lnInclude -IlnInclude -I. -I/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cfdemSolverIB.o
/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude/readPISOControls.H: In function ‘int main(int, char**)’:
/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude/readPISOControls.H:3:15: warning: unused variable ‘nOuterCorr’ [-Wunused-variable]
/home/monica/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude/readPISOControls.H:15:16: warning: unused variable ‘transonic’ [-Wunused-variable]
mkdir: cannot create directory `': No such file or directory
make: *** [/cfdemSolverIB] Error 1

What do you think I did wrong?

Thanks
Monica