CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   patch error OF v2.2.2 mac (https://www.cfd-online.com/Forums/openfoam-installation/126943-patch-error-v2-2-2-mac.html)

hewei November 29, 2013 08:53

patch error OF v2.2.2 mac
 
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

wyldckat November 29, 2013 14:46

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

hewei November 30, 2013 11:46

1 Attachment(s)
Quote:

Originally Posted by wyldckat (Post 464074)
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


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.

wyldckat November 30, 2013 16:21

Hi hewei,

Quote:

Originally Posted by hewei (Post 464163)
although icoFOAM can running, but the error at the beginning is about 1e-6 between two versions.

That's normal. If you compare the results from Ubuntu 10.04 with Ubuntu 13.10, you'll probably see something similar.

Quote:

Originally Posted by hewei (Post 464163)
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.

There are no error messages in the log file, therefore it seems like everything went well.
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

hewei November 30, 2013 16:55

Quote:

Originally Posted by wyldckat (Post 464185)
Hi hewei,


That's normal. If you compare the results from Ubuntu 10.04 with Ubuntu 13.10, you'll probably see something similar.


There are no error messages in the log file, therefore it seems like everything went well.
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

That's Great!! although I don't understand the mechanism of the build process, OpenFOAM works now! Thanks you very much Bruno!!

best wishes,
Wei


All times are GMT -4. The time now is 05:56.