|
[Sponsors] |
August 15, 2014, 01:54 |
Openfoam2.3 on Mac 10.9
|
#101 |
New Member
Juimo Pierre
Join Date: Aug 2012
Posts: 13
Rep Power: 14 |
how to compile ThirPArty-2.3.x on mac 10.9?
how to compute in parallel ? Last edited by Roskiki; August 18, 2014 at 13:23. |
|
October 22, 2014, 07:14 |
|
#102 |
Senior Member
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 13 |
||
October 22, 2014, 14:03 |
|
#103 |
Senior Member
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 13 |
Hello everyone, I'm not getting errors in the compilation process with Gcc48 (I attached the log) but if I run any OF function (blockMesh, icoFoam on tutorials) i get segmentation fault: 11 error.
Someone can give an hint about that? LOG: https://mega.co.nz/#!qE9zHKBT!Y_1qx4...x2gDmHmOAGayfY (It was too big for forum limits) (I followed these instructions because I had same issues ) PS: I'm on Yosemite |
|
October 22, 2014, 16:07 |
|
#104 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
I usually wait a couple of weeks before upgrading my Mac OS X. It just makes life so much easier
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
October 22, 2014, 16:21 |
|
#105 | |
Senior Member
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 13 |
Quote:
Moreover it seems that on Macports they are having some troubles with libgcc. They say to have fixed it with Gcc48 and later. I try to update Macports... |
||
October 22, 2014, 16:43 |
|
#106 |
Senior Member
|
Hi,
7z? It's good |
|
October 22, 2014, 17:54 |
|
#107 |
Senior Member
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 13 |
||
October 23, 2014, 06:26 |
|
#108 |
Senior Member
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 13 |
Ok. I confirm that after the update of libgcc and gcc48 I successfully compiled OpenFOAM on Yosemite.
As I have some sparetime I create the new Wiki page. Thanks gschaider for the patch and the users for the support with the missing linking libraries for interFoam. |
|
October 23, 2014, 09:56 |
|
#109 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
a) running into the fire b) feedback on the success (not everyone does that) c) the intention to share your experience on the Wiki
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
October 25, 2014, 23:03 |
swak4Foam and ThirdParty-2.3.x on mac 10.10 (Yosemite)
|
#110 |
New Member
Juimo Pierre
Join Date: Aug 2012
Posts: 13
Rep Power: 14 |
1-how to install ThirdParty-2.3.x with MAcport on mac os 10.10 (Yosemite).
2- swak4foam error... make[1]: *** [/Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/bin/fieldReport] Error 1 make: *** [fieldReport] Error 2 Making dependency list for source file funkyDoCalc.C SOURCE=funkyDoCalc.C ; g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IMake/darwinIntel64GccDPOpt -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../../Libraries/simpleFunctionObjects/lnInclude/ -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -c $SOURCE -o Make/darwinIntel64GccDPOpt/funkyDoCalc.o g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IMake/darwinIntel64GccDPOpt -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../../Libraries/simpleFunctionObjects/lnInclude/ -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -lpthread -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib/openmpi-1.6.5 -lPstream Make/darwinIntel64GccDPOpt/funkyDoCalc.o -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib \ -lfiniteVolume -lmeshTools -L/Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lpthread -lm -o /Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/bin/funkyDoCalc Undefined symbols for architecture x86_64: "Foam:refixOSstream::writeQuoted(std::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > const&, bool)", referenced from: vtable for Foam:ebugOStream in funkyDoCalc.o "Foam::OSstream::flags(std::_Ios_Fmtflags)", referenced from: vtable for Foam:ebugOStream in funkyDoCalc.o "Foam::fileName:perator=(std::basic_string<c har, std::char_traits<char>, std::allocator<char> > const&)", referenced from: _main in funkyDoCalc.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[1]: *** [/Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/bin/funkyDoCalc] Error 1 make: *** [funkyDoCalc] Error 2 SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled Making dependency list for source file funkySetBoundaryField.C could not open file directMappedPatchBase.H for source file funkySetBoundaryField.C due to No such file or directory SOURCE=funkySetBoundaryField.C ; g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IMake/darwinIntel64GccDPOpt -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -c $SOURCE -o Make/darwinIntel64GccDPOpt/funkySetBoundaryField.o g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IMake/darwinIntel64GccDPOpt -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -lpthread -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib/openmpi-1.6.5 -lPstream Make/darwinIntel64GccDPOpt/funkySetBoundaryField.o -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib \ -lfiniteVolume -lmeshTools -L/Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lpthread -lm -o /Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/bin/funkySetBoundaryField Making dependency list for source file funkySetFields.C could not open file directMappedFvPatch.H for source file funkySetFields.C due to No such file or directory could not open file directMappedWallFvPatch.H for source file funkySetFields.C due to No such file or directory could not open file directMappedPointPatch.H for source file funkySetFields.C due to No such file or directory could not open file FixedValuePointPatchField.H for source file funkySetFields.C due to No such file or directory could not open file ZeroGradientPointPatchField.H for source file funkySetFields.C due to No such file or directory could not open file CalculatedPointPatchField.H for source file funkySetFields.C due to No such file or directory SOURCE=funkySetFields.C ; g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IMake/darwinIntel64GccDPOpt -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -c $SOURCE -o Make/darwinIntel64GccDPOpt/funkySetFields.o g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IMake/darwinIntel64GccDPOpt -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -lpthread -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib/openmpi-1.6.5 -lPstream Make/darwinIntel64GccDPOpt/funkySetFields.o -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib \ -lfiniteVolume -lmeshTools -lsampling -L/Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lpthread -lm -o /Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/bin/funkySetFields Making dependency list for source file funkySetLagrangianField.C could not open file Particle.H for source file funkySetLagrangianField.C due to No such file or directory SOURCE=funkySetLagrangianField.C ; g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IMake/darwinIntel64GccDPOpt -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/lagrangian/basic/lnInclude -I../../Libraries/swakLagrangianParser/lnInclude/ -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -c $SOURCE -o Make/darwinIntel64GccDPOpt/funkySetLagrangianField.o g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IMake/darwinIntel64GccDPOpt -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/lagrangian/basic/lnInclude -I../../Libraries/swakLagrangianParser/lnInclude/ -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -lpthread -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib/openmpi-1.6.5 -lPstream Make/darwinIntel64GccDPOpt/funkySetLagrangianField.o -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib \ -lfiniteVolume -lmeshTools -llagrangian -L/Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/lib -lswakLagrangianParser -lswak4FoamParsers -lOpenFOAM -ldl -lpthread -lm -o /Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/bin/funkySetLagrangianField Undefined symbols for architecture x86_64: "Foam:refixOSstream::writeQuoted(std::basic_stri ng<char, std::char_traits<char>, std::allocator<char> > const&, bool)", referenced from: vtable for Foam:ebugOStream in funkySetLagrangianField.o "Foam::OSstream::flags(std::_Ios_Fmtflags)", referenced from: vtable for Foam:ebugOStream in funkySetLagrangianField.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[1]: *** [/Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/bin/funkySetLagrangianField] Error 1 make: *** [funkySetLagrangianField] Error 2 Making dependency list for source file funkyWarpMesh.C could not open file directMappedFvPatch.H for source file funkyWarpMesh.C due to No such file or directory could not open file directMappedWallFvPatch.H for source file funkyWarpMesh.C due to No such file or directory could not open file directMappedPointPatch.H for source file funkyWarpMesh.C due to No such file or directory could not open file FixedValuePointPatchField.H for source file funkyWarpMesh.C due to No such file or directory could not open file ZeroGradientPointPatchField.H for source file funkyWarpMesh.C due to No such file or directory could not open file CalculatedPointPatchField.H for source file funkyWarpMesh.C due to No such file or directory SOURCE=funkyWarpMesh.C ; g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IMake/darwinIntel64GccDPOpt -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -c $SOURCE -o Make/darwinIntel64GccDPOpt/funkyWarpMesh.o g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -IMake/darwinIntel64GccDPOpt -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -lpthread -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib/openmpi-1.6.5 -lPstream Make/darwinIntel64GccDPOpt/funkyWarpMesh.o -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib \ -lfiniteVolume -lmeshTools -L/Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lpthread -lm -o /Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/bin/funkyWarpMesh Making dependency list for source file replayTransientBC.C SOURCE=replayTransientBC.C ; g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/cfdTools/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/cfdTools/general/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -c $SOURCE -o Make/darwinIntel64GccDPOpt/replayTransientBC.o g++ -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/cfdTools/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/cfdTools/general/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -lpthread -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib/openmpi-1.6.5 -lPstream Make/darwinIntel64GccDPOpt/replayTransientBC.o -L/Users/Mowa/OpenFOAM/OpenFOAM-2.3.x/platforms/darwinIntel64GccDPOpt/lib \ -lfiniteVolume -lmeshTools -lOpenFOAM -ldl -lpthread -lm -o /Users/Mowa/OpenFOAM/root-2.3.x/platforms/darwinIntel64GccDPOpt/bin/replayTransientBC make: Target `application' not remade because of errors. If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /Users/Mowa/OpenFOAM/swak4Foam_2.x/Libraries (most people will be fine without setting that variable) please code. Last edited by Roskiki; October 31, 2014 at 23:38. |
|
November 4, 2014, 11:45 |
installation script
|
#111 |
New Member
Ruud Vlaming
Join Date: Aug 2013
Posts: 6
Rep Power: 13 |
Hey,
Just finished the process of installing openFOAM 2.3.x on my Mac. I captured the process and put the instructions on github see: https://github.com/devlaam/ Basically the installation should now simplify to the following procedure.
And your good to go! [If you type the commands without these arguments, you get help in more detail.] btw: this is the first release, so probably there is room for improvement. Not tested on Yosemite yet. Have fun. Ruud Vlaming. |
|
November 5, 2014, 05:23 |
|
#112 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
November 5, 2014, 12:23 |
|
#113 | |
New Member
Ruud Vlaming
Join Date: Aug 2013
Posts: 6
Rep Power: 13 |
Quote:
|
||
December 4, 2014, 07:21 |
|
#114 |
New Member
Join Date: Jun 2012
Posts: 5
Rep Power: 14 |
Finally working on yosemite with gcc4.8 Thanks gschaider!
after a lot of missing library error messages, just a little comment to add : When setting the environment paths, i still saw referencies to the Thirdparty directory... In fact the variable $WM_USE_MACPORT was not set properly in etc/config/settings.sh due to the command 'which' which was returning (on my system) : Code:
which -s port ; echo $? /opt/local/bin/port 1 Code:
if [ $? -eq "1" -a -d '/opt/local/etc/macports' ] |
|
December 4, 2014, 17:02 |
|
#115 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Ah. The "joys" of shell-scripting
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
December 5, 2014, 05:21 |
|
#116 |
New Member
Join Date: Jun 2012
Posts: 5
Rep Power: 14 |
yes I guess 3.2.53
the 1 return code stands for the number of arguments which failed, and in my case it seems the which command just doesnt get the -s option... Code:
which port ; echo $? /opt/local/bin/port 0 |
|
December 5, 2014, 08:04 |
|
#117 |
Senior Member
|
Hi, here's the output on my Yosemite:
Code:
myself at daphne in ~$ which -s brew ; echo $? 0 myself at daphne in ~$ which -s port ; echo $? 1 myself at daphne in ~$ sw_vers ProductName: Mac OS X ProductVersion: 10.10.1 BuildVersion: 14B25 myself at daphne in ~$ bash --version GNU bash, version 3.2.53(1)-release (x86_64-apple-darwin14) Copyright (C) 2007 Free Software Foundation, Inc. myself at daphne in ~$ type which which is hashed (/usr/bin/which) |
|
December 9, 2014, 08:23 |
|
#118 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
December 9, 2014, 08:27 |
|
#119 |
Senior Member
|
Yes, brew is installed, port is not. I.e. it's documented behavior of the -s flag:
Code:
... DESCRIPTION ... -s No output, just return 0 if any of the executables are found, or 1 if none are found. ... |
|
December 9, 2014, 08:54 |
|
#120 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
I was a bit confused because I mixed you up with the other guy who HAD port installed
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] dynamicTopoFVMesh and pointDisplacement | RandomUser | OpenFOAM Meshing & Mesh Conversion | 6 | April 26, 2018 08:30 |
Near wall treatment in k-omega SST | Arnoldinho | OpenFOAM Running, Solving & CFD | 38 | March 8, 2017 14:48 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
createPatch Segmentation Fault (CORE DUMPED) | sam.ho | OpenFOAM Pre-Processing | 2 | April 21, 2014 03:01 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |