Hello everyone,
I have just recently installed the latest version of CFDEM, Liggghts and OpenFoam 2.3.x. The installation run very smoothly but when I tried to run the tutorial examples I get some errors .
Just to know, with the previous CFDEM version I didn’t get these errors.
I think the error started with the following statements (for ErgunTestMPI exampe ) :
<<<>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<
.
.
.
// run_parallel_cfdemSolverPiso_ErgunTestMPI_CFDDEM //
/home/hasan1-5-2015/CFDEM/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: EG-PC1300
while attempting to start process rank 0.
--------------------------------------------------------------------------
4 total processes failed to start
rm: cannot remove ‘cfdemSolverPiso_ErgunTestMPI.eps’: No such file or directory
GNU Octave, version 3.8.1
.
.
.
<<>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<
The full result is in the attachment.
Any helps or advices would be very appreciated.
Thanks in advance,
Luton
Attachment | Size |
---|---|
![]() | 38.54 KB |
Daniel Queteschiner | Mon, 05/04/2015 - 09:03
Missing executable
Seems like the script cannot find the solver. Either the solver failed to compile correctly or the setup of your environment is not correct (did you run cfdemSysTest to check it?).
Luton | Mon, 05/04/2015 - 20:53
Hello Daniel, Thank you for
Hello Daniel, Thank you for your reply.
Using "cfdemSysTest" command give is me the following results:
*********************************************
* 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=2.3.x
compile option=Opt
check if paths are set correctly
valid:yes critical:yes - $CFDEM_PROJECT_DIR = /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x
valid:yes critical:no - $CFDEM_PROJECT_USER_DIR = /home/hasan1-5-2015/CFDEM/hasan1-5-2015-PUBLIC-2.3.x
valid:yes critical:yes - $CFDEM_SRC_DIR = /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src
valid:yes critical:yes - $CFDEM_SOLVER_DIR = /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers
valid:yes critical:yes - $CFDEM_TUT_DIR = /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/tutorials
valid:yes critical:yes - $CFDEM_LIGGGHTS_SRC_DIR = /home/hasan1-5-2015/LIGGGHTS/LIGGGHTS-PUBLIC/src
valid:yes critical:yes - $CFDEM_LPP_DIR = /home/hasan1-5-2015/LIGGGHTS/mylpp/src
valid:yes critical:yes - $CFDEM_ADD_LIBS_DIR = /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/etc
valid:NO critical:no - $CFDEM_PIZZA_DIR = /home/hasan1-5-2015/LIGGGHTS/PIZZA/gran_pizza_17Aug10/src does not exist
valid:yes critical:no - $CFDEM_TEST_HARNESS_PATH = /home/hasan1-5-2015/CFDEM/hasan1-5-2015-PUBLIC-2.3.x/log/logFilesCFDEM-PUBLIC-2.3.x
valid:NO critical:no - $C3PO_SRC_DIR = /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/c3po does not exist
library names
$CFDEM_LIGGGHTS_LIB_NAME = lmp_fedora_fpic
$CFDEM_LIB_NAME = lagrangianCFDEM-PUBLIC-2.3.x
$LD_LIBRARY_PATH = /home/hasan1-5-2015/OpenFOAM/ThirdParty-2.3.x/platforms/linux64Gcc/CGAL-4.3/lib:/home/hasan1-5-2015/OpenFOAM/ThirdParty-2.3.x/platforms/linux64Gcc/gperftools-svn/lib:/home/hasan1-5-2015/OpenFOAM/ThirdParty-2.3.x/platforms/linux64Gcc/ParaView-4.1.0/lib/paraview-4.1:/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib/openmpi-system:/home/hasan1-5-2015/OpenFOAM/ThirdParty-2.3.x/platforms/linux64GccDPOpt/lib/openmpi-system:/usr/lib/openmpi/lib:/home/hasan1-5-2015/OpenFOAM/hasan1-5-2015-2.3.x/platforms/linux64GccDPOpt/lib:/home/hasan1-5-2015/OpenFOAM/site/2.3.x/platforms/linux64GccDPOpt/lib:/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib:/home/hasan1-5-2015/OpenFOAM/ThirdParty-2.3.x/platforms/linux64GccDPOpt/lib:/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib/dummy
$WM_NCOMPPROCS = 8
*******************
g++:
/usr/bin/g++
g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2
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.2-19ubuntu1) 4.8.2
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.2-19ubuntu1) 4.8.2
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:
/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/bin/mpirun
mpirun (Open MPI) 1.6.5
Report bugs to http://www.open-mpi.org/community/help/
**********************
additional packages...
c3po does not exist.
...............................................................................................
I cannot see any crucial errors in the environment setting or what do you think?
Luton | Mon, 05/04/2015 - 22:41
Compile fail
It is just like you predicted , the solvers failed to compile.
I found in the compilation logs file, this text file " log_compile_results_fail " inside it:
cfdemSolverPiso
cfdemSolverPisoScalar
Which I think it means theses two solver failed to compile.
The problem seems to be with OpenFoam. But I run some examples using openFoam and they were running fine, dose that mean that this my current openFoan version is not compatible with CFDEM?
Below are the contains of file results of compiling " log_compileCFDEMcoupling_cfdemSolverPiso " and " log_compileCFDEMcoupling_cfdemSolverPisoScalar ".
(1) - ..............................................................................................................................................................................
// log_compileCFDEMcoupling_cfdemSolverPiso_cfdemSolverPiso-2015-05-04-19:19 //
/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers/cfdemSolverPiso
removing all .dep files ...
Making dependency list for source file cfdemSolverPiso.C
could not open file cyclicAMILduInterface.H for source file cfdemSolverPiso.C due to No such file or directory
could not open file cyclicAMIPolyPatch.H for source file cfdemSolverPiso.C due to No such file or directory
could not open file RASModel.H for source file cfdemSolverPiso.C due to No such file or directory
SOURCE=cfdemSolverPiso.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/transportModels -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/lnInclude -I/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/cfdTools -IlnInclude -I. -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cfdemSolverPiso.o
In file included from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/ddtScheme.C:30:0,
from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/ddtScheme.H:325,
from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/fvcDdt.C:28,
from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/fvcDdt.H:199,
from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/fvc.H:44,
from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/fvCFD.H:8,
from cfdemSolverPiso.C:37:
/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/cyclicAMIFvPatch.H:39:35: fatal error: cyclicAMILduInterface.H: No such file or directory
#include "cyclicAMILduInterface.H"
^
compilation terminated.
make: *** [Make/linux64GccDPOpt/cfdemSolverPiso.o] Error 1
(2) - ..............................................................................................................................................................................
// log_compileCFDEMcoupling_cfdemSolverPisoScalar_cfdemSolverPisoScalar-2015-05-04-19:19 //
/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers/cfdemSolverPisoScalar
removing all .dep files ...
Making dependency list for source file cfdemSolverPisoScalar.C
could not open file cyclicAMILduInterface.H for source file cfdemSolverPisoScalar.C due to No such file or directory
could not open file cyclicAMIPolyPatch.H for source file cfdemSolverPisoScalar.C due to No such file or directory
could not open file RASModel.H for source file cfdemSolverPisoScalar.C due to No such file or directory
SOURCE=cfdemSolverPisoScalar.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/transportModels -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/lnInclude -I/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/cfdTools -IlnInclude -I. -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cfdemSolverPisoScalar.o
In file included from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/ddtScheme.C:30:0,
from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/ddtScheme.H:325,
from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/fvcDdt.C:28,
from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/fvcDdt.H:199,
from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/fvc.H:44,
from /home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/fvCFD.H:8,
from cfdemSolverPisoScalar.C:37:
/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/cyclicAMIFvPatch.H:39:35: fatal error: cyclicAMILduInterface.H: No such file or directory
#include "cyclicAMILduInterface.H"
^
compilation terminated.
make: *** [Make/linux64GccDPOpt/cfdemSolverPisoScalar.o] Error 1
.................................................................................................................................................................
j-kerbl | Tue, 05/05/2015 - 10:17
Hi,
Hi,
please take a look at this
http://www.cfdem.com/forums/cfdemcoupling-latest-23x-fix
and please tell me if it worked.
Cheers
Josef
Luton | Tue, 05/05/2015 - 16:40
Hello Josef,
Hello Josef,
I applied all the changes that included in the link and recompiled CFDEM.
The log text file " /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/etc/log/log_compile_results_success " contained:
cfdemSolverPiso
cfdemSolverPisoScalar
Which they were inside "log_compile_results_fail"
But running cfdemTestTUT still give me the same previous errors.
And the log of recompiling CFDEM after making the changes seems to be a little bit odd as shown below:
hasan1-5-2015@EG-PC1300:~/CFDEM$ cfdemCompCFDEM
Please provide the libraries to be compiled in the //home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/etc/library-list.txt file.
will change path...
rm: cannot remove ‘/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/etc/log/log_compileCFDEMcoupling_cfdemParticle’: No such file or directory
// log_compileCFDEMcoupling_cfdemParticle-2015-05-05-15:11 //
/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle
Compiling a incompressible library.
removing all .dep files ...
linux64GccDPOpt/options:69: *** missing separator. Stop.
wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created in /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle
rm: cannot remove ‘log/log_compile_results_fail’: No such file or directory
This routine will compile the solvers specified in solver-list.txt
Please provide the solvers to be compiled in the /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/etc/solver-list.txt file.
structure:
path to provide the path relative to CFDEM_SOLVER_DIR
example:
cfdemSolverPiso/dir
running compilation in pseudo-parallel mode of 3 solvers
do compilation on 8 procs in 1 chunks
waiting...
// log_compileCFDEMcoupling_cfdemSolverPiso_cfdemSolverPiso-2015-05-05-15:11 //
/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers/cfdemSolverPiso
removing all .dep files ...
// log_compileCFDEMcoupling_cfdemSolverIB_cfdemSolverIB-2015-05-05-15:11 //
/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers/cfdemSolverIB
removing all .dep files ...
linux64GccDPOpt/options:67: *** missing separator. Stop.
wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created in /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers/cfdemSolverPiso
// log_compileCFDEMcoupling_cfdemSolverPisoScalar_cfdemSolverPisoScalar-2015-05-05-15:11 //
/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers/cfdemSolverPisoScalar
removing all .dep files ...
linux64GccDPOpt/options:58: *** missing separator. Stop.
wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created in /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers/cfdemSolverIB
linux64GccDPOpt/options:67: *** missing separator. Stop.
wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created in /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers/cfdemSolverPisoScalar
waiting...
compilation done.
waiting...
collecting log of /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers/cfdemSolverPiso
collecting log of /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers/cfdemSolverIB
collecting log of /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/solvers/cfdemSolverPisoScalar
This routine will compile the utilities specified in utilities-list.txt
Please provide the utilities to be compiled in the /home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/etc/utilities-list.txt file.
structure:
path to provide the path relative to CFDEM_UT_DIR
example:
cfdemPostproc/dir
running compilation in pseudo-parallel mode of 1 utilities
do compilation on 8 procs in 1 chunks
waiting...
// log_compileCFDEMcoupling_cfdemPostproc_cfdemPostproc-2015-05-05-15:11 //
/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/applications/utilities/cfdemPostproc
removing all .dep files ...
Making dependency list for source file cfdemPostproc.C
could not open file cfdemCloud.H for source file cfdemPostproc.C due to No such file or directory
could not open file dataExchangeModel.H for source file cfdemPostproc.C due to No such file or directory
could not open file voidFractionModel.H for source file cfdemPostproc.C due to No such file or directory
could not open file locateModel.H for source file cfdemPostproc.C due to No such file or directory
could not open file averagingModel.H for source file cfdemPostproc.C due to No such file or directory
could not open file momCoupleModel.H for source file cfdemPostproc.C due to No such file or directory
could not open file forceModel.H for source file cfdemPostproc.C due to No such file or directory
could not open file IOModel.H for source file cfdemPostproc.C due to No such file or directory
SOURCE=cfdemPostproc.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/transportModels -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/hasan1-5-2015/CFDEM/CFDEMcoupling-PUBLIC-2.3.x/src/lagrangian/cfdemParticle/lnInclude -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/hasan1-5-2015/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cfdemPostproc.o
cfdemPostproc.C:38:24: fatal error: cfdemCloud.H: No such file or directory
#include "cfdemCloud.H"
^
compilation terminated.
make: *** [Make/linux64GccDPOpt/cfdemPostproc.o] Error 1
waiting...
compilation done.
j-kerbl | Tue, 05/12/2015 - 10:21
Hi Luton,
Hi Luton,
the first error is this
linux64GccDPOpt/options:69: *** missing separator. Stop.
Maybe you forgot an '\' in the options file.
Cheers
Josef