|
[Sponsors] |
November 29, 2013, 09:53 |
patch error OF v2.2.2 mac
|
#1 |
Member
Join Date: May 2010
Posts: 74
Rep Power: 16 |
Hi OFers,
I am trying to install OF2.2.2 on mac, I followed the instructions on wiki, every thing went fine till I patch the OF, it gave this error information: I checked the disk file is Case-sensitive, Journaled, don't know how to fix it. system osx 10.6.8, gcc4.6. Thanks you patching file applications/solvers/combustion/fireFoam/Make/options patching file applications/solvers/compressible/rhoSimpleFoam/rhoSimplecFoam/Make/options patching file applications/solvers/incompressible/adjointShapeOptimizationFoam/Make/options patching file applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/options patching file applications/solvers/lagrangian/icoUncoupledKinematicParcelFoam/Make/options patching file applications/solvers/lagrangian/icoUncoupledKinematicParcelFoam/icoUncoupledKinematicParcelDyMFoam/Make/options patching file applications/solvers/lagrangian/reactingParcelFilmFoam/Make/options patching file applications/solvers/multiphase/multiphaseEulerFoam/Make/options patching file applications/utilities/mesh/generation/blockMesh/Make/options patching file applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/Make/options Hunk #1 succeeded at 9 (offset -2 lines). patching file applications/utilities/postProcessing/turbulence/R/Make/options Hunk #1 FAILED at 7. 1 out of 1 hunk FAILED -- saving rejects to file applications/utilities/postProcessing/turbulence/R/Make/options.rej patching file applications/utilities/postProcessing/turbulence/createTurbulenceFields/Make/options patching file applications/utilities/postProcessing/velocityField/Pe/Make/options patching file applications/utilities/postProcessing/wall/wallShearStress/Make/options patching file applications/utilities/postProcessing/wall/yPlusLES/Make/options patching file applications/utilities/postProcessing/wall/yPlusRAS/Make/options patching file applications/utilities/preProcessing/applyBoundaryLayer/Make/options patching file applications/utilities/surface/surfaceFeatureExtract/Allwmake patching file bin/addr2line4Mac.py patching file etc/bashrc patching file etc/config/paraview.sh patching file etc/config/settings.sh patching file src/OSspecific/POSIX/POSIX.C patching file src/OSspecific/POSIX/clockTime/clockTime.H patching file src/OSspecific/POSIX/fileStat.C patching file src/OSspecific/POSIX/printStack.C patching file src/OSspecific/POSIX/signals/sigFpe.C patching file src/OSspecific/POSIX/signals/sigFpe.H patching file src/OpenFOAM/db/dictionary/functionEntries/codeStream/codeStream.C patching file src/OpenFOAM/db/dynamicLibrary/dynamicCode/dynamicCode.C patching file src/OpenFOAM/db/dynamicLibrary/dynamicCode/dynamicCode.H patching file src/OpenFOAM/primitives/Scalar/doubleFloat.H patching file src/conversion/ensight/part/ensightPart.C patching file src/conversion/ensight/part/ensightPartIO.C patching file src/dynamicMesh/fvMeshDistribute/fvMeshDistributeTemplates.C patching file src/parallel/decompose/ptscotchDecomp/Make/options patching file src/parallel/decompose/scotchDecomp/Make/options patching file wmake/Makefile patching file wmake/rules/darwinIntel64Gcc/c patching file wmake/rules/darwinIntel64Gcc/c++ patching file wmake/rules/darwinIntel64Gcc/c++Debug patching file wmake/rules/darwinIntel64Gcc/c++Opt patching file wmake/rules/darwinIntel64Gcc/c++Prof patching file wmake/rules/darwinIntel64Gcc/cDebug patching file wmake/rules/darwinIntel64Gcc/cOpt patching file wmake/rules/darwinIntel64Gcc/cProf patching file wmake/rules/darwinIntel64Gcc/general patching file wmake/rules/darwinIntel64Gcc/mplib patching file wmake/rules/darwinIntel64Gcc/mplibMACPORTOPENMPI patching file wmake/rules/darwinIntel64Gcc/mplibOPENMPI patching file wmake/rules/darwinIntel64Gcc42 patching file wmake/rules/darwinIntel64Gcc43 patching file wmake/rules/darwinIntel64Gcc44 patching file wmake/rules/darwinIntel64Gcc45 patching file wmake/rules/darwinIntel64Gcc46 patching file wmake/rules/darwinIntel64Gcc47 patching file wmake/rules/darwinIntel64Gcc48 |
|
November 29, 2013, 15:46 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings hewei,
Which installation instructions are you following? You can try these: http://openfoamwiki.net/index.php/In...es_and_patches Nonetheless, if for some reason you don't want to follow those instructions, I think the missing fix for "R" is in this post: http://www.cfd-online.com/Forums/ope...tml#post390264 post #156 Best regards, Bruno
__________________
|
|
November 30, 2013, 12:46 |
|
#3 | |
Member
Join Date: May 2010
Posts: 74
Rep Power: 16 |
Quote:
Hi Bruno, Thanks for you informations, I just did as the instructions you posted, the way to fix the error in "R" first patched , then add the line -lincompressibleTurbulenceModel \ in the "../options" file and fe-patch it again. although icoFOAM can running, but the error at the beginning is about 1e-6 between two versions. In linux the last line of make log file should be " make[1]: Leaving directory `/opt/OpenFOAM/OpenFOAM-2.2.2/applications/solvers/stressAnalysis' ,right? but in Mac it stopped at OpenFOAM/OpenFOAM-2.2.2/platforms/darwinIntel64Gcc46DPOpt/bin/twoPhaseEulerFoam so it seems there some solvers not compiled totally. |
||
November 30, 2013, 17:21 |
|
#4 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi hewei,
Quote:
Quote:
The build process is likely to be a bit different between Linux and Mac, and it also depends on the value you used for "WM_NCOMPPROCS" (step #4 from section 3.3: http://openfoamwiki.net/index.php/In....2#Final_Steps ). Best regards, Bruno
__________________
|
|||
November 30, 2013, 17:55 |
|
#5 | |
Member
Join Date: May 2010
Posts: 74
Rep Power: 16 |
Quote:
best wishes, Wei |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ and u+ values with low-Re RANS turbulence models: utility + testcase | florian_krause | OpenFOAM | 114 | August 23, 2023 06:37 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
CheckMeshbs errors | ivanyao | OpenFOAM Running, Solving & CFD | 2 | March 11, 2009 03:34 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |