|
[Sponsors] |
September 14, 2010, 08:47 |
|
#61 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
September 14, 2010, 14:00 |
|
#62 | ||||||||||
New Member
Jan Löhrmann
Join Date: Sep 2010
Posts: 21
Rep Power: 16 |
Hi,
I just untarred the OF- and Thirdparty-file again on the case-sensitive image and now it seems that the files are complete (e.g. there is now a PointHit.H and a pointHit.H file!). So I patched everything again and copied the files bashrc and settings.sh, which I previously changed from the old directory in the new one and ran ./Allwmake. At first it looked good and no errors (at least I didnt spot any) were shown until: Quote:
Quote:
Quote:
It ends like this: Quote:
Any idea what could have gone wrong? I tried the foamInstallationTest and the result is this (maybe it helps to find the error!?) Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Thanks very much for your support! |
|||||||||||
September 15, 2010, 23:59 |
|
#63 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
I try really hard to find any instruction on how to install OpenFOAM on mac, but despite my best intentions, I cannot find the right information.
Could anyone kindly post what steps are required to follow in order to have OpenFOAM-1.7 up and running on Mac Snow Leopard machine? Thank you! |
|
September 16, 2010, 01:13 |
|
#64 | |
New Member
Chris Butler
Join Date: Jun 2010
Posts: 21
Rep Power: 16 |
Quote:
http://chrisjbutler.wordpress.com/20...for-os-x-10-6/ Chris Butler |
||
September 16, 2010, 19:01 |
|
#65 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Thanks a lot, clear guide. However as I compile, it keeps going for about 15 minutes then it quits with following error
In file included from /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/NamedEnum.H:120:0, from /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/time.h:50, from /usr/include/wchar.h:113, from /opt/local/include/gcc45/c++/cwchar:47, from /opt/local/include/gcc45/c++/bits/postypes.h:42, from /opt/local/include/gcc45/c++/bits/char_traits.h:42, from /opt/local/include/gcc45/c++/string:42, from /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/string.H:51, from /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/stringList.H:35, from /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/argList.H:73, from mixtureAdiabaticFlameT.C:33: /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/NamedEnum.C: In constructor 'Foam::NamedEnum<Enum, nEnum>::NamedEnum()': /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/NamedEnum.C:34:18: error: template argument 3 is invalid /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/NamedEnum.C:34:19: error: expected '{' before '(' token /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/NamedEnum.C: At global scope: /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/NamedEnum.C:34:20: error: expected unqualified-id before numeric constant /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/NamedEnum.C:34:20: error: expected ')' before numeric constant /Users/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/token.H:386:25: warning: inline function 'void Foam::token:perator=(int*)' used but never defined make[2]: *** [Make/darwinIntel64DPOpt/mixtureAdiabaticFlameT.o] Error 1 make[2]: Target `/Users/user/OpenFOAM/OpenFOAM-1.7.x/applications/bin/darwinIntel64DPOpt/mixtureAdiabaticFlameT' not remade because of errors. make[1]: *** [mixtureAdiabaticFlameT] Error 2 make[1]: Target `application' not remade because of errors. Trying to fix it, additionally, in OpenFOAM-1.7-Mac.patch I changed all the required entries to gcc-mp-4.5, but error still persists. $FOAM_APPBIN is empty. Any tips? Thanks, P |
|
September 16, 2010, 20:08 |
|
#66 |
New Member
Chris Butler
Join Date: Jun 2010
Posts: 21
Rep Power: 16 |
I am not that great (yet) with the errors. I have two suggestions:
Try with another build of OpenFOAM: To get the latest head from the git repo: git reset git pull $OF_GIT_ADDRESS Then re-apply the patch OR to get the 1.7.1 build git reset git checkout -b master version-1.7.1 Then re apply the patch. Make sure your OF directory and Third party directory version names match i.e. 1.7.1 or 1.7.x. Try with another compiler: Perhaps try gcc4.4 or gcc4.3. I hope someone else will be more helpful! Cheers, Chris Butler |
|
September 17, 2010, 00:07 |
|
#67 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Thanks a lot for a prompt reply!
The thing was, somehow the disk image did mount the right way and actually I used non-case dependent OpenFOAM/ folder which I created earlier. After mounting the partition in the right way compile process moved forward. However, I still have one question. As the compile process ended it finished with the following output message: make: Target `application' not remade because of errors. I'm not sure how to interpret it. Any help in this matter? Thanks, P |
|
September 17, 2010, 00:09 |
|
#68 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
BTW. $FOAM_BINAPP points to:
/Users/user/OpenFOAM/OpenFOAM-1.7.x/applications/bin/darwinIntel64DPOpt and the folder lists bunch of different apps, so at least in some part applications folder was created. |
|
September 17, 2010, 06:11 |
|
#69 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
September 17, 2010, 11:16 |
|
#70 | |
New Member
Jan Löhrmann
Join Date: Sep 2010
Posts: 21
Rep Power: 16 |
Hi,
really really sorry to bother you guys but does anyone have an idea what might have been the problem while compiling OF, which I have tried to describe in my post from the 14.09. (7pm)? I'd extremely appreciate any help, as I don't have any clue!!! PS: In the link which Chris uploaded I've seen the following command: Quote:
Again: Thanks for your support!!! |
||
September 17, 2010, 20:00 |
|
#71 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
No. Its just another way to get the sources. Either you do that or you use a tar of the release |
||
September 17, 2010, 20:07 |
|
#72 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Jan,
Follow post from the Chris blog. It is simple and clear description of the whole installation process. Bernard, thanks for the tip. Right now as much as I had time to test things distribution is up and running. Best, K |
|
September 17, 2010, 21:17 |
|
#73 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Hi Bernhard, I'm sorry I can't help you guys out more, but since I can't get access to a Mac, my hands are tied Nonetheless, I know someone who probably has already fixed that issue with tecPlot: Richard Smith at Symscape has patches for OpenFOAM 1.7.x, for building it for both Windows (cross-compiling) and Mac (compiling) - http://www.symscape.com/openfoam-1-7...windows-64-mpi edit: FreeFOAM should also have this issue solved, but it's a bit harder to adapt from it Best regards, Bruno PS - FYI: I've studied these patches (at blueCAPE ) and created modified patches for cross-compiling OpenFOAM in Linux for Windows, but also including most of OpenFOAM's Third Party software, and also improving on top of Symscape's patches
__________________
|
|
September 20, 2010, 12:40 |
|
#74 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Only did a brief attempt to fix the tecplot-stuff but as I don't use TecPlot myself and nobody every complained I didn't spend too much time on it. I'll have a look at the patches |
||
September 21, 2010, 05:08 |
|
#75 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Just going through OpenFOAM tutorials I noticed one of the solvers did not compile.
I tried to compile it separately and at the end all solvers as a whole, all is fine except interFoam (and Tecplot, but I don't need that one). Any tip regarding that? Thanks! |
|
September 21, 2010, 08:10 |
|
#76 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Paka,
The inter*Foam solvers seem to be missing an option: Code:
-linterfaceProperties Best regards, Bruno
__________________
|
|
September 21, 2010, 14:17 |
|
#77 |
New Member
Babak
Join Date: Sep 2010
Posts: 3
Rep Power: 16 |
Hi All,
Does anybody knows for running OpenFOAM 1.7 on MacBook it requires OS X snow leopard (10.6) or OS X tiger (10.4) also can be used? thnx |
|
September 21, 2010, 17:05 |
|
#78 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Bruno,
Strange, it is the original source code, shouldn't it be just fine to compile regardless of platform on which I run it? I tried to add that option inside the source code, but the problem still persists. Please find present output in attached txt file. Thank you, K PS. Answering Babak's question, OpenFOAM should run on any OS X operating system (including Tiger). |
|
September 21, 2010, 17:11 |
|
#79 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Forgive me. This time I modified each of the Make/options file from each of the solvers. This time the solvers compiled, however, what makes me uncomfortable is the bit with "unused variable" as you can see in previously attached output file, log2.txt.
Thanks for your time and help! K |
|
September 21, 2010, 20:21 |
|
#80 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Paka,
Quote:
Best regards, Bruno
__________________
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Default patches not appearing in paraview | ozzythewise | OpenFOAM Meshing & Mesh Conversion | 9 | September 22, 2017 10:51 |
[snappyHexMesh] internal faces between patches created with snappyHexMesh | romant | OpenFOAM Meshing & Mesh Conversion | 0 | August 17, 2009 09:40 |
Courant number, patches, etc | oort | OpenFOAM | 1 | July 24, 2009 19:05 |
[snappyHexMesh] SnappyHexMesh large number of patches written | prapanj | OpenFOAM Meshing & Mesh Conversion | 0 | July 15, 2009 09:11 |
radiation patches, viewfactors | beams | Siemens | 1 | March 12, 2009 08:39 |