CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

patch error OF v2.2.2 mac

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2013, 09:53
Default patch error OF v2.2.2 mac
  #1
Member
 
Join Date: May 2010
Posts: 74
Rep Power: 16
hewei is on a distinguished road
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
hewei is offline   Reply With Quote

Old   November 29, 2013, 15:46
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   November 30, 2013, 12:46
Default
  #3
Member
 
Join Date: May 2010
Posts: 74
Rep Power: 16
hewei is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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.
Attached Files
File Type: zip log.zip (66.4 KB, 2 views)
hewei is offline   Reply With Quote

Old   November 30, 2013, 17:21
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi hewei,

Quote:
Originally Posted by hewei View Post
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 View Post
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
__________________
wyldckat is offline   Reply With Quote

Old   November 30, 2013, 17:55
Thumbs up
  #5
Member
 
Join Date: May 2010
Posts: 74
Rep Power: 16
hewei is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
hewei is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 04:53.