这一段命令应该只是明确Openfoam的安装位置,在安装路径下进行编译吧,实际还是不行。
F
feixiang1218
@feixiang1218
帖子
-
Openfoam2.1.0安装问题 -
Openfoam2.1.0安装问题各位前辈,
我尝试在win7系统上安装优麒麟 16.04 LTS(长期支持)版本64位 http://www.dyfluid.com/docs/install.html ,根据李博士操作指导,源代码(Source Pack)编译方式。
唯一的区别是我下载的openfoam 2.1.0版本,根据这个连接http://blog.sina.com.cn/s/blog_7839d7810101314o.html下载的。
同时把指导书里面的4.x 换成 2.1.0,所有的步骤都顺利,到最后一步,./Allwmake 这一步,经过一个多小时的编译,提示有错误。blockMesh提示没有此命令。我在想是不是原文件OpenFOAM-2.1.0.tgz ThirdParty-2.1.0.tgz 还是ubuntu优麒麟 16.04有问题?希望能给点指导。
附件附上./Allwmake 这一步的 错误信息。lqip2wx@wx1linux11:~$ ls deja-dup OpenFOAM 模板 图片 下载 桌面 examples.desktop 公共的 视频 文档 音乐 qip2wx@wx1linux11:~$ cd OpenFOAM qip2wx@wx1linux11:~/OpenFOAM$ ls OpenFOAM-2.1.0 OpenFOAM-2.1.0.tgz ThirdParty-2.1.0 ThirdParty-2.1.0.tgz qip2wx@wx1linux11:~/OpenFOAM$ cd OpenFOAM-2.1.0 qip2wx@wx1linux11:~/OpenFOAM/OpenFOAM-2.1.0$ openfoamterm openfoamterm:未找到命令 qip2wx@wx1linux11:~/OpenFOAM/OpenFOAM-2.1.0$ openfoamterm --choose openfoamterm:未找到命令 qip2wx@wx1linux11:~/OpenFOAM/OpenFOAM-2.1.0$ blockMesh blockMesh:未找到命令 qip2wx@wx1linux11:~/OpenFOAM/OpenFOAM-2.1.0$ blockmesh blockmesh:未找到命令 qip2wx@wx1linux11:~/OpenFOAM/OpenFOAM-2.1.0$ ./Allwmake make: Nothing to be done for 'all'. ======================================== Start ThirdParty Allwmake ======================================== ======================================== Build MPI libraries if required have OPENMPI shared library (openmpi-1.5.3) ======================================== Build Scotch decomposition library scotch_5.1.11 /home/qip2wx/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/scotch_5.1.11 scotch header in /home/qip2wx/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/scotch_5.1.11/include scotch libs in /home/qip2wx/OpenFOAM/ThirdParty-2.1.0/platforms/linux64GccDPOpt/lib ======================================== Build PTScotch decomposition library scotch_5.1.11 (uses MPI) /home/qip2wx/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/scotch_5.1.11 ptscotch header in /home/qip2wx/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/scotch_5.1.11/include/openmpi-1.5.3 ptscotch libs in /home/qip2wx/OpenFOAM/ThirdParty-2.1.0/platforms/linux64GccDPOpt/lib/openmpi-1.5.3 ======================================== Build Tecio optional component was not found ======================================== Done ThirdParty Allwmake ======================================== + wmakePrintBuild -check no git description found + /bin/rm -f OpenFOAM/Make/linux64GccDPOpt/global.C OpenFOAM/Make/linux64GccDPOpt/global.o + wmakeLnInclude OpenFOAM + wmakeLnInclude OSspecific/POSIX + Pstream/Allwmake + wmake libso dummy '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/dummy/libPstream.so' is up to date. + set +x Note: ignore spurious warnings about missing mpicxx.h headers wmake libso mpi '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so' is up to date. + OSspecific/POSIX/Allwmake '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOSspecific.o' is up to date. + wmake libso OpenFOAM SOURCE=global/global.Cver ; sed -e 's!VERSION_STRING!2.1.0!' -e 's!BUILD_STRING!2.1.0-bd7367f93311!' $SOURCE > Make/linux64GccDPOpt/global.C; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -IlnInclude -I. -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64GccDPOpt/global.C -o Make/linux64GccDPOpt/global.o In file included from lnInclude/Field.H:360:0, from lnInclude/labelField.H:39, from lnInclude/primitiveFields.H:37, from lnInclude/pointField.H:36, from lnInclude/edge.H:40, from lnInclude/edgeList.H:32, from lnInclude/primitiveMesh.H:57, from lnInclude/polyMesh.H:44, from lnInclude/regIOobject.C:28, from Make/linux64GccDPOpt/global.C:71: lnInclude/Field.C: In member function ‘void Foam::Field<Type>::operator=(const Foam::VectorSpace<Form, Cmpt, nCmpt>&)’: lnInclude/Field.C:680:42: warning: typedef ‘VSType’ locally defined but not used [-Wunused-local-typedefs] typedef VectorSpace<Form,Cmpt,nCmpt> VSType; ^ '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so' is up to date. + wmake libso fileFormats '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libfileFormats.so' is up to date. + wmake libso triSurface '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libtriSurface.so' is up to date. + wmake libso meshTools '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libmeshTools.so' is up to date. + wmake libso edgeMesh '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libedgeMesh.so' is up to date. + wmake libso surfMesh '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libsurfMesh.so' is up to date. + parallel/decompose/AllwmakeLnInclude + wmakeLnInclude decompositionMethods + wmakeLnInclude metisDecomp + wmakeLnInclude scotchDecomp + wmakeLnInclude ptscotchDecomp + dummyThirdParty/Allwmake + wmake libso scotchDecomp '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/dummy/libscotchDecomp.so' is up to date. + wmake libso ptscotchDecomp '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/dummy/libptscotchDecomp.so' is up to date. + wmake libso metisDecomp '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/dummy/libmetisDecomp.so' is up to date. + wmake libso MGridGen '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/dummy/libMGridGen.so' is up to date. + wmake libso finiteVolume '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so' is up to date. + wmake libso lagrangian/basic '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/liblagrangian.so' is up to date. + wmake libso lagrangian/distributionModels '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdistributionModels.so' is up to date. + wmake libso genericPatchFields '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libgenericPatchFields.so' is up to date. + parallel/Allwmake + decompose/Allwmake using SCOTCH_ARCH_PATH=/home/qip2wx/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/scotch_5.1.11 + wmakeLnInclude decompositionMethods + [ -n /home/qip2wx/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/scotch_5.1.11 ] + wmake libso scotchDecomp '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libscotchDecomp.so' is up to date. + [ -d /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/openmpi-1.5.3 ] + wmakeMpiLib ptscotchDecomp + set +x wmake libso ptscotchDecomp '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libptscotchDecomp.so' is up to date. + wmake libso decompositionMethods '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdecompositionMethods.so' is up to date. + wmake libso decompose '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdecompose.so' is up to date. + reconstruct/Allwmake + wmake libso reconstruct '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libreconstruct.so' is up to date. + wmake libso distributed '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdistributed.so' is up to date. + wmake libso conversion '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libconversion.so' is up to date. + wmake libso sampling '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libsampling.so' is up to date. + wmake libso dynamicMesh '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdynamicMesh.so' is up to date. + wmake libso dynamicFvMesh '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so' is up to date. + wmake libso topoChangerFvMesh '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libtopoChangerFvMesh.so' is up to date. + wmake libso ODE '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libODE.so' is up to date. + wmake libso randomProcesses '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/librandomProcesses.so' is up to date. + thermophysicalModels/Allwmake + wmake libso specie '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libspecie.so' is up to date. + wmake libso solid '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libsolid.so' is up to date. + wmake libso thermophysicalFunctions '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libthermophysicalFunctions.so' is up to date. + ./properties/Allwmake + wmake libso liquidProperties '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libliquidProperties.so' is up to date. + wmake libso liquidMixtureProperties '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libliquidMixtureProperties.so' is up to date. + wmake libso solidProperties '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libsolidProperties.so' is up to date. + wmake libso solidMixtureProperties '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libsolidMixtureProperties.so' is up to date. + wmake libso basic '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so' is up to date. + wmake libso reactionThermo '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so' is up to date. + wmake libso laminarFlameSpeed '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/liblaminarFlameSpeedModels.so' is up to date. + wmake libso chemistryModel '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libchemistryModel.so' is up to date. + wmake libso barotropicCompressibilityModel '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libbarotropicCompressibilityModel.so' is up to date. + wmake libso thermalPorousZone '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libthermalPorousZone.so' is up to date. + wmake libso SLGThermo '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libSLGThermo.so' is up to date. + wmake libso basicSolidThermo '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libbasicSolidThermo.so' is up to date. + wmake libso solidChemistryModel '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libsolidChemistryModel.so' is up to date. + wmake libso radiationModels '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libradiationModels.so' is up to date. + transportModels/Allwmake + wmake libso incompressible '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libincompressibleTransportModels.so' is up to date. + wmake libso interfaceProperties '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libinterfaceProperties.so' is up to date. + wmake libso twoPhaseInterfaceProperties '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libtwoPhaseInterfaceProperties.so' is up to date. + turbulenceModels/Allwmake + LES/Allwmake + wmakeLnInclude ../incompressible/LES + wmake libso LESfilters '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libLESfilters.so' is up to date. + wmake libso LESdeltas '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libLESdeltas.so' is up to date. + incompressible/Allwmake + wmake libso turbulenceModel '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libincompressibleTurbulenceModel.so' is up to date. + wmake libso RAS '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so' is up to date. + wmake libso LES '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libincompressibleLESModels.so' is up to date. + compressible/Allwmake + wmake libso turbulenceModel '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libcompressibleTurbulenceModel.so' is up to date. + wmake libso RAS '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libcompressibleRASModels.so' is up to date. + wmake libso LES '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libcompressibleLESModels.so' is up to date. + wmake libso derivedFvPatchFields '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libturbulenceDerivedFvPatchFields.so' is up to date. + wmake libso combustionModels '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libcombustionModels.so' is up to date. + regionModels/Allwmake + wmake libso regionModel '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libregionModels.so' is up to date. + wmake libso pyrolysisModels '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libpyrolysisModels.so' is up to date. + wmake libso surfaceFilmModels '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libsurfaceFilmModels.so' is up to date. + wmake libso thermoBaffleModels '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libthermoBaffleModels.so' is up to date. + wmake libso regionCoupling '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libregionCoupling.so' is up to date. + lagrangian/Allwmake + wmake libso distributionModels '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdistributionModels.so' is up to date. + wmake libso basic '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/liblagrangian.so' is up to date. + wmake libso solidParticle '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libsolidParticle.so' is up to date. + wmake libso intermediate '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so' is up to date. + wmake libso spray '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/liblagrangianSpray.so' is up to date. + wmake libso dsmc '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdsmc.so' is up to date. + wmake libso coalCombustion '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libcoalCombustion.so' is up to date. + molecularDynamics/Allwmake + wmake libso potential '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libpotential.so' is up to date. + wmake libso molecularMeasurements '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libmolecularMeasurements.so' is up to date. + wmake libso molecule '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libmolecule.so' is up to date. + postProcessing/Allwmake + wmake libo postCalc '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/postCalc.o' is up to date. + wmake libso foamCalcFunctions '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libfoamCalcFunctions.so' is up to date. + functionObjects/Allwmake + wmake libso field '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libfieldFunctionObjects.so' is up to date. + wmake libso forces '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libforces.so' is up to date. + wmake libso IO '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libIOFunctionObjects.so' is up to date. + wmake libso utilities '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libutilityFunctionObjects.so' is up to date. + wmake libso jobControl '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libjobControl.so' is up to date. + wmake libso systemCall '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libsystemCall.so' is up to date. + mesh/Allwmake + wmake libso autoMesh '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libautoMesh.so' is up to date. + wmake libso blockMesh '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libblockMesh.so' is up to date. + fvAgglomerationMethods/Allwmake + export ParMGridGen=/home/qip2wx/OpenFOAM/ThirdParty-2.1.0/ParMGridGen-1.0 + [ -d /home/qip2wx/OpenFOAM/ThirdParty-2.1.0/ParMGridGen-1.0/MGridGen/Lib ] + wmake libso pairPatchAgglomeration '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libpairPatchAgglomeration.so' is up to date. + wmake libso fvMotionSolver '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libfvMotionSolvers.so' is up to date. + wmake libso engine '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libengine.so' is up to date. + wmake all utilities make[1]: Entering directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh' make[2]: Entering directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced' make[3]: Entering directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/PDRMesh' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/meshTools/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/dynamicMesh/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/PDRMesh.o -L/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib \ -lmeshTools -ldynamicMesh -lfiniteVolume -lcompressibleRASModels -lOpenFOAM -ldl -lm -o /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/PDRMesh Make/linux64GccDPOpt/PDRMesh.o:(.data.rel.ro._ZTVN4Foam8OPstreamE[_ZTVN4Foam8OPstreamE]+0x80):对‘Foam::UOPstream::writeQuoted(std::string const&, bool)’未定义的引用 /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libtriSurface.so:对‘yyFlexLexer::yywrap()’未定义的引用 collect2: error: ld returned 1 exit status /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/wmake/Makefile:149: recipe for target '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/PDRMesh' failed make[3]: *** [/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/PDRMesh] Error 1 make[3]: Leaving directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/PDRMesh' /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/wmake/MakefileApps:39: recipe for target 'PDRMesh' failed make[2]: *** [PDRMesh] Error 2 make[3]: Entering directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/autoRefineMesh' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/dynamicMesh/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/meshTools/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/triSurface/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/autoRefineMesh.o -L/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib \ -ldynamicMesh -lmeshTools -ltriSurface -llagrangian -lOpenFOAM -ldl -lm -o /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/autoRefineMesh /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libtriSurface.so:对‘yyFlexLexer::yywrap()’未定义的引用 collect2: error: ld returned 1 exit status /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/wmake/Makefile:149: recipe for target '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/autoRefineMesh' failed make[3]: *** [/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/autoRefineMesh] Error 1 make[3]: Leaving directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/autoRefineMesh' /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/wmake/MakefileApps:39: recipe for target 'autoRefineMesh' failed make[2]: *** [autoRefineMesh] Error 2 make[3]: Entering directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/collapseEdges' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/dynamicMesh/lnInclude -IlnInclude -I. -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/collapseEdges.o -L/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib \ -ldynamicMesh -lmeshTools -lOpenFOAM -ldl -lm -o /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/collapseEdges /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libtriSurface.so:对‘yyFlexLexer::yywrap()’未定义的引用 collect2: error: ld returned 1 exit status /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/wmake/Makefile:149: recipe for target '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/collapseEdges' failed make[3]: *** [/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/collapseEdges] Error 1 make[3]: Leaving directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/collapseEdges' /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/wmake/MakefileApps:39: recipe for target 'collapseEdges' failed make[2]: *** [collapseEdges] Error 2 make[3]: Entering directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/combinePatchFaces' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/meshTools/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/dynamicMesh/lnInclude -IlnInclude -I. -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/combinePatchFaces.o -L/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib \ -lmeshTools -ldynamicMesh -lOpenFOAM -ldl -lm -o /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/combinePatchFaces Make/linux64GccDPOpt/combinePatchFaces.o:(.data.rel.ro._ZTVN4Foam8OPstreamE[_ZTVN4Foam8OPstreamE]+0x80):对‘Foam::UOPstream::writeQuoted(std::string const&, bool)’未定义的引用 /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libtriSurface.so:对‘yyFlexLexer::yywrap()’未定义的引用 collect2: error: ld returned 1 exit status /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/wmake/Makefile:149: recipe for target '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/combinePatchFaces' failed make[3]: *** [/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/combinePatchFaces] Error 1 make[3]: Leaving directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/combinePatchFaces' /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/wmake/MakefileApps:39: recipe for target 'combinePatchFaces' failed make[2]: *** [combinePatchFaces] Error 2 make[3]: Entering directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/modifyMesh' make[3]: '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/modifyMesh' is up to date. make[3]: Leaving directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/modifyMesh' make[3]: Entering directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/refineHexMesh' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/finiteVolume/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/dynamicMesh/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/meshTools/lnInclude -IlnInclude -I. -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/refineHexMesh.o -L/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib \ -ldynamicMesh -lmeshTools -lfiniteVolume -lgenericPatchFields -lOpenFOAM -ldl -lm -o /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/refineHexMesh Make/linux64GccDPOpt/refineHexMesh.o:(.data.rel.ro._ZTVN4Foam8OPstreamE[_ZTVN4Foam8OPstreamE]+0x80):对‘Foam::UOPstream::writeQuoted(std::string const&, bool)’未定义的引用 /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libtriSurface.so:对‘yyFlexLexer::yywrap()’未定义的引用 collect2: error: ld returned 1 exit status /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/wmake/Makefile:149: recipe for target '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/refineHexMesh' failed make[3]: *** [/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/refineHexMesh] Error 1 make[3]: Leaving directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/refineHexMesh' /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/wmake/MakefileApps:39: recipe for target 'refineHexMesh' failed make[2]: *** [refineHexMesh] Error 2 make[3]: Entering directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/refineWallLayer' make[3]: '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/refineWallLayer' is up to date. make[3]: Leaving directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/refineWallLayer' make[3]: Entering directory '/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/mesh/advanced/refinementLevel' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/finiteVolume/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/meshTools/lnInclude -IlnInclude -I. -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/refinementLevel.o -L/home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib \ -lfiniteVolume -lmeshTools -lOpenFOAM -ldl -lm -o /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/refinementLevel /home/qip2wx/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libtriSurface.so:对‘yyFlexLexer::yywrap()’未定义的引用 collect2: error: ld returned 1 exit status