LaminarSMOKE compilation error
When I was trying to compile one of the solvers in laminarSMOKE, I encountered this error.
Code:
hafiz@linux-hjxb:~/laminarSMOKE/solvers/laminarBuoyantSimpleSMOKE> wmake Code:
hafiz@linux-hjxb:~/laminarSMOKE/libs/radiationOpenSMOKE++> wmake |
Update?
Have you been able to solve your problem? I have the exact same problem with a different library/solver combination.
Able to compile library, able to create solver with a new name, but as soon as I want to add the library to the solver it stops working and prints a similar error. |
the message doesn't really mean anything. you could still run the case as per usual ;) you should try testing the test cases.
sorry for the late reply, I'm not always online. but I'll try to help as much as I could |
hi mdhfiz
can you give me some details about how to compile laminarSMOKE or flametSMOKE. what does "adjust the paths to the Intel MKL library" mean (https://github.com/acuoci/flameletSMOKE). for optional Intel MKL library, should i download it first? |
solver compilation error.
foam@MANISH:/mnt/f/Laminarsmoke++/laminarSMOKE-master/solvers/laminarSimpleSMOKE$ wmake
wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries: unknown option: '-I../../libs/radiationOpenSMOKE++/lnInclude' Usage: wmakeLnInclude [OPTION] dir options: -update | -u update -silent | -s use 'silent' mode (do not echo command) -help | -h print the usage Link all the source files in the <dir> into <dir>/lnInclude Note The '-u' option forces an update when the lnInclude directory already exists and changes the default linking from 'ln -s' to 'ln -sf'. wmakeLnInclude error: base directory \ does not exist Making dependency list for source file laminarSimpleSMOKE.C could not open file fvIOoptionList.H for source file laminarSimpleSMOKE.C due to No such file or directory could not open file Grammar_PolimiSoot_Analyzer.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file OpenSMOKE_PolimiSoot_Analyzer.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file OpenSMOKE_Dictionary.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file OpenSMOKE_DictionaryManager.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file math.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file LookupTable.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file Grammar_VirtualChemistry.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file VirtualChemistry.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file ReactionPolicy_CHEMKIN.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file ThermodynamicsMap.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file ThermodynamicsMap_CHEMKIN.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file TransportPropertiesMap.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file TransportPropertiesMap_CHEMKIN.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file KineticsMap.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file TransportPropertiesMap_CHEMKIN.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file StoichiometricMap.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file JacobianSparsityPatternMap.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file KineticsMap_CHEMKIN.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file Core for source file laminarSimpleSMOKE.C due to No such file or directory could not open file LU for source file laminarSimpleSMOKE.C due to No such file or directory could not open file Cholesky for source file laminarSimpleSMOKE.C due to No such file or directory could not open file QR for source file laminarSimpleSMOKE.C due to No such file or directory could not open file SVD for source file laminarSimpleSMOKE.C due to No such file or directory could not open file Geometry for source file laminarSimpleSMOKE.C due to No such file or directory could not open file Eigenvalues for source file laminarSimpleSMOKE.C due to No such file or directory could not open file readOptions_ISAT.H for source file laminarSimpleSMOKE.C due to No such file or directory could not open file memoryAllocation_ISAT.H for source file laminarSimpleSMOKE.C due to No such file or directory could not open file lis_config.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file lis_config_win.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file lis.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file Species.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file AtomicComposition.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file ThermoPolicy_CHEMKIN.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file ThermoReader.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file ThermoReaderPolicy_CHEMKIN.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file TransportPolicy_CHEMKIN.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file TransportReader.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file TransportReaderPolicy_CHEMKIN.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file OpenSMOKEStdInclude.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file OpenSMOKEBaseClass.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file OpenSMOKEUtilities.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file OpenSMOKEFunctions.h for source file laminarSimpleSMOKE.C due to No such file or directory could not open file OpenSMOKEVector.hpp for source file laminarSimpleSMOKE.C due to No such file or directory could not open file KineticsUtilityFunctions.hpp for source file laminarSimpleSMOKE.C due to No such file or directory g++ -std=c++11 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -DOPENFOAM_VERSION=60 -w -DOPENSMOKE_USE_MKL=0 -DOPENSMOKE_USE_ISAT=0 -DDEVVERSION=1 -I../laminarSMOKE -I../laminarSMOKE/steady -I../../libs/radiationOpenSMOKE++/lnInclude -I../openSMOKEpp4laminarSMOKE/ -I/home/Laminarsmoke++/boost_1_76_0/include -I/home/Laminarsmoke++/eigen-3.4-rc1 -I/mnt/f/Laminarsmoke++/rapidxml/rapidxml-master -I/include -I/include -I/ -I/opt/openfoam6/src/finiteVolume/lnInclude -I/opt/openfoam6/src/fvOptions/lnInclude -I/opt/openfoam6/src/meshTools/lnInclude -I/opt/openfoam6/src/sampling/lnInclude -I/opt/openfoam6/src/thermophysicalModels/basic/lnInclude -IlnInclude -I. -I/opt/openfoam6/src/OpenFOAM/lnInclude -I/opt/openfoam6/src/OSspecific/POSIX/lnInclude -fPIC -c laminarSimpleSMOKE.C -o Make/linux64GccDPInt32Opt/laminarSimpleSMOKE.o g++ -std=c++11 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -DOPENFOAM_VERSION=60 -w -DOPENSMOKE_USE_MKL=0 -DOPENSMOKE_USE_ISAT=0 -DDEVVERSION=1 -I../laminarSMOKE -I../laminarSMOKE/steady -I../../libs/radiationOpenSMOKE++/lnInclude -I../openSMOKEpp4laminarSMOKE/ -I/home/Laminarsmoke++/boost_1_76_0/include -I/home/Laminarsmoke++/eigen-3.4-rc1 -I/mnt/f/Laminarsmoke++/rapidxml/rapidxml-master -I/include -I/include -I/ -I/opt/openfoam6/src/finiteVolume/lnInclude -I/opt/openfoam6/src/fvOptions/lnInclude -I/opt/openfoam6/src/meshTools/lnInclude -I/opt/openfoam6/src/sampling/lnInclude -I/opt/openfoam6/src/thermophysicalModels/basic/lnInclude -IlnInclude -I. -I/opt/openfoam6/src/OpenFOAM/lnInclude -I/opt/openfoam6/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/laminarSimpleSMOKE.o -L/opt/openfoam6/platforms/linux64GccDPInt32Opt/lib \ -L/home/foam/OpenFOAM/foam-6/platforms/linux64GccDPInt32Opt/lib -L/home/Laminarsmoke++/boost_1_76_0/lib -lradiationOpenSMOKE++ -lfiniteVolume -lfvOptions -lmeshTools -lsampling -lgfortran -lboost_date_time -lboost_filesystem -lboost_system -lboost_regex -lOpenFOAM -ldl \ -lm -o /home/foam/OpenFOAM/foam-6/platforms/linux64GccDPInt32Opt/bin/laminarSimpleSMOKE /usr/bin/ld: cannot find -lgfortran /usr/bin/ld: cannot find -lboost_filesystem /usr/bin/ld: cannot find -lboost_regex collect2: error: ld returned 1 exit status /opt/openfoam6/wmake/makefiles/general:140: recipe for target '/home/foam/OpenFOAM/foam-6/platforms/linux64GccDPInt32Opt/bin/laminarSimpleSMOKE' failed make: *** [/home/foam/OpenFOAM/foam-6/platforms/linux64GccDPInt32Opt/bin/laminarSimpleSMOKE] Error 1 |
Quote:
If anyone can help, that would be really helpful. I am in urgent need to get it done. |
Did anyone get this error fixed?
|
CHeck for the path of libraries
You should install the gfortran. Use the following two codes in the terminal respectively.
sudo apt-get install gfortran sudo apt-get install libboost-all-dev This might solve your issue. |
All times are GMT -4. The time now is 18:21. |