Hi,
i have installed Openfoam 3.0.x and liggbhts and CFDEM. i have compiled them also. When i open the terminal i get the following error :
using CFDEM_ADD_LIBS_NAME=additionalLibs_ .
!!! ERROR !!!: CFDEM_ADD_LIBS_DIR/CFDEM_ADD_LIBS_NAME=/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/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!
************************************
i am new to ubuntu .
i am attaching the log file of compiling.
please help me.
Attachment | Size |
---|---|
![]() | 10.99 KB |
Maryam | Tue, 11/01/2016 - 19:26
Environmental variable
Check if this “/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-/src/lagrangian/cfdemParticle/etc/additionalLibs_ “ is a valid address.
Abhinandan Singh | Wed, 11/02/2016 - 12:31
please help to rectify this error
// log_compileCFDEMcoupling_scalarTransportModelsCFDEM-2016-11-02-11:57 //
/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/eulerian/scalarTransportModelsCFDEM
removing all .dep files ...
Make/options:21:12: warning: backslash-newline at end of file
LIB_LIBS = \
^
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file eulerianScalarField/newEulerianScalarField.C
Making dependency list for source file phaseChangeModel/newPhaseChangeModel.C
Making dependency list for source file phaseChangeModel/phaseChangeModel.C
Making dependency list for source file eulerianScalarField/eulerianScalarField.C
Making dependency list for source file noTransport/noTransport.C
Making dependency list for source file generalPhaseChange/generalPhaseChange.C
Making dependency list for source file generalManual/generalManual.C
Making dependency list for source file temperatureModel/temperatureModel.C
Making dependency list for source file scalarTransportModel/scalarTransportModel.C
Making dependency list for source file scalarTransportModel/newScalarTransportModel.C
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -DGITVERSION=\"3.5.1-dirty\" -DDEBUGFLAG=\"\" -DCFDEMWMPROJECTVERSION="30" -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/incompressible/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/sampling/lnInclude -IlnInclude -I. -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c scalarTransportModel/scalarTransportModel.C -o Make/linux64GccDPInt32Opt/scalarTransportModel/scalarTransportModel.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -DGITVERSION=\"3.5.1-dirty\" -DDEBUGFLAG=\"\" -DCFDEMWMPROJECTVERSION="30" -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/incompressible/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/sampling/lnInclude -IlnInclude -I. -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c scalarTransportModel/newScalarTransportModel.C -o Make/linux64GccDPInt32Opt/scalarTransportModel/newScalarTransportModel.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -DGITVERSION=\"3.5.1-dirty\" -DDEBUGFLAG=\"\" -DCFDEMWMPROJECTVERSION="30" -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/incompressible/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/sampling/lnInclude -IlnInclude -I. -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c temperatureModel/temperatureModel.C -o Make/linux64GccDPInt32Opt/temperatureModel/temperatureModel.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -DGITVERSION=\"3.5.1-dirty\" -DDEBUGFLAG=\"\" -DCFDEMWMPROJECTVERSION="30" -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/incompressible/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/sampling/lnInclude -IlnInclude -I. -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c generalManual/generalManual.C -o Make/linux64GccDPInt32Opt/generalManual/generalManual.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -DGITVERSION=\"3.5.1-dirty\" -DDEBUGFLAG=\"\" -DCFDEMWMPROJECTVERSION="30" -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/incompressible/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/sampling/lnInclude -IlnInclude -I. -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c noTransport/noTransport.C -o Make/linux64GccDPInt32Opt/noTransport/noTransport.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -DGITVERSION=\"3.5.1-dirty\" -DDEBUGFLAG=\"\" -DCFDEMWMPROJECTVERSION="30" -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/incompressible/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/sampling/lnInclude -IlnInclude -I. -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c generalPhaseChange/generalPhaseChange.C -o Make/linux64GccDPInt32Opt/generalPhaseChange/generalPhaseChange.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -DGITVERSION=\"3.5.1-dirty\" -DDEBUGFLAG=\"\" -DCFDEMWMPROJECTVERSION="30" -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/incompressible/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/sampling/lnInclude -IlnInclude -I. -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c eulerianScalarField/eulerianScalarField.C -o Make/linux64GccDPInt32Opt/eulerianScalarField/eulerianScalarField.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -DGITVERSION=\"3.5.1-dirty\" -DDEBUGFLAG=\"\" -DCFDEMWMPROJECTVERSION="30" -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/incompressible/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/sampling/lnInclude -IlnInclude -I. -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c eulerianScalarField/newEulerianScalarField.C -o Make/linux64GccDPInt32Opt/eulerianScalarField/newEulerianScalarField.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -DGITVERSION=\"3.5.1-dirty\" -DDEBUGFLAG=\"\" -DCFDEMWMPROJECTVERSION="30" -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/incompressible/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/sampling/lnInclude -IlnInclude -I. -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c phaseChangeModel/phaseChangeModel.C -o Make/linux64GccDPInt32Opt/phaseChangeModel/phaseChangeModel.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -DOMPI_SKIP_MPICXX -DGITVERSION=\"3.5.1-dirty\" -DDEBUGFLAG=\"\" -DCFDEMWMPROJECTVERSION="30" -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/TurbulenceModels/incompressible/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/fvOptions/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/finiteVolume/lnInclude -I/home/abhinandan/CFDEM/CFDEMcoupling-PUBLIC-3.0.x/src/lagrangian/cfdemParticle/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/sampling/lnInclude -IlnInclude -I. -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c phaseChangeModel/newPhaseChangeModel.C -o Make/linux64GccDPInt32Opt/phaseChangeModel/newPhaseChangeModel.o
mkdir: cannot create directory ‘’: No such file or directory
/home/abhinandan/OpenFOAM/OpenFOAM-3.0.x/wmake/Makefile:162: recipe for target '/libscalarTransportModelsCFDEM.so' failed
make: *** [/libscalarTransportModelsCFDEM.so] Error 1
Abhinandan Singh | Thu, 11/03/2016 - 11:51
CFDEM Comlilation error
Hi Maryam,
i fixed the environmental variable problem.
Iam facing probel with cfdem compilation .
im able to compile few solvers like :
cfdemSolverPiso
cfdemSolverIB
cfdemSolverPisoScalar
cfdemSolverPisoSTM
all showing the error shown in log file above .
please help me .
regards,
Abhinandan
j-kerbl | Wed, 11/09/2016 - 14:40
Hi Abhinandan,
Hi Abhinandan,
I am confused, did these solvers compile or not?
cfdemSolverPiso
cfdemSolverIB
cfdemSolverPisoScalar
cfdemSolverPisoSTM
Can you please post the output of cfdemSysTest?
Regards,
Josef
Zekun Wang | Sat, 12/17/2016 - 12:30
problem solved now?
l have the same problem,if u have solved, can u give me some advice (Ubuntu16.04)