I wasn't aware of this precomp
I wasn't aware of this precompiled version. If it works for you: Use it. But be aware that there comes the time in the live of a man where the precompiled version is not enough and he wants to recompile his installation (but that is some time after the tutorials)
The reason why I'm only releasing patches is that my disk-image is hopelessly intermixed with other stuff and I don't have the disk space to build another image for distribution (plus I'm too lazy) Bernhard |
I am trying to compile on OS X
I am trying to compile on OS X10.5 and when I run the Allmake in the directory doc, I get
+ chmod a+rX /Users/stsriniv/OpenFOAM/OpenFOAM-1.5 + chmod a+rX /Users/stsriniv/OpenFOAM/OpenFOAM-1.5/doc + chmod -R a+rX Doxygen + cd Doxygen + ./Allwmake + umask 22 + rm -rf html latex man + doxygen ./Allwmake: line 6: doxygen: command not found + chmod -R a+rX ./ Allmake run from OpenFOAM-1.5 directory seem to have gone through ok. Can someone suggest something on this? Thanks, ss |
Hi,
There is an obvious error
Hi,
There is an obvious error.You need to install doxygen first,which is not included in OpenFOAM. |
Hi ss!
Hua is right. The si
Hi ss!
Hua is right. The simplest thing would be to install it via "port install doxygen" IF you got port installed. But there is a binary distribution for the Mac at the website if I'm not mistaken Bernhard |
Thanks Hua and Bernhard,
I
Thanks Hua and Bernhard,
I was not defining the path to doxygen correctly. It seems to be compiling now. I hope there will be no further issues with the installation! Thanks again ss |
I am having issues with 'dot'
I am having issues with 'dot' now. It says 'dot command not found'. For some reason the Allwmake in doc/ directory cannot undertand that path of Doxygen. I had to explicitly state the path for doxygen. But am not sure if this is the right thing.
Any ideas? Thanks, ss |
Hi
For my linux system,"dot"
Hi
For my linux system,"dot" command is contained in the package "graphviz",hope it helps. |
Hi Pierre-Oliver,
Were you
Hi Pierre-Oliver,
Were you able to sort out how to apply patches to 1.5-x on Mac? If you did, can you tell me how? |
Hi Ilja
You get this error
Hi Ilja
You get this error because the disk image I provide is read-only. I made this choice mainly because the whole thing is intended to be used by the students attending our course. And they are very likely to shoot themselves in the foot (yes, copying a folder from one place to another is a real challenge). You probably forgot to change $FOAM_APPBIN into $FOAM_USER_APPBIN in the file /Users/ilja/OpenFOAM/ilja-1.5/run/applications/solvers/incompressible/turbFoam/M ake/files. If you make this change, the build system will put the resulting application into your user-disk image and not into the one of OpenFOAM. As an alternative you can use the program 'hdiutil' to convert the disk image into one which is writable, however I don't recommend that (which is also why I don't explain it here how to use it: man hdiutil will tell you). I hope this helps Michael |
Dear Michael!
Thank You for
Dear Michael!
Thank You for help. Code has compiled when I did chandes. PS. Sorry for my bad English. |
Dear Michael!
Thank You for
Dear Michael!
Thank You for help. Code has compiled when I did chandes. PS. Sorry for my bad English. |
Hi,
if have some Problems c
Hi,
if have some Problems compiling openfoam. System: Powerbook G4 10.4.11 I have downloaded openfoam, thirdparty and the patches. An extern hard-drive (case-sensitive fs) i link to $HOME/OpenFOAM Then i apply the patches, link the bashrc, resource and start Allwmake. The first error ist this (after e few minutes): + wmake libso zlib-1.2.3 ld: flag: -undefined dynamic_lookup can't be used with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 /usr/bin/libtool: internal link edit command failed make: *** [/Users/tino/OpenFOAM/OpenFOAM-1.5/lib/darwinPpcDPOpt/libz.dylib] Error 1 And the compilation ends with the following error: (after 6 hours) /usr/bin/ld: can't locate file for: -lOpenFOAM collect2: ld returned 1 exit status make[2]: *** [/Users/tino/OpenFOAM/OpenFOAM-1.5/applications/bin/darwinPpcDPOpt/mixtureAdiaba ticFlameT] Error 1 make[1]: *** [mixtureAdiabaticFlameT] Error 2 make[1]: Target `application' not remade because of errors. make: *** [thermophysical] Error 2 make: Target `application' not remade because of errors. + '[' '' = doc ']' Thank You for help. Regards Tino |
Hello,
i have find a soluti
Hello,
i have find a solution. You have to install XCodeTools 2.5 from apples homepage. On my Tiger-DVD i had an older Version. Now i can compile OpenFOAM. Thank You Regards Tino |
Good evening,
I was wonderi
Good evening,
I was wondering if somebody tried to compile it on Mac OS X for 64-bit execution / I believe the flag is "-arch x86_64" ? Best regards, PO |
Hi PO!
Yes. For the ld-comm
Hi PO!
Yes. For the ld-command (in rules/darwinIntel/general). For the compiler calls use "gcc -m64" instead of "gcc". I once tried it and it seemed to compile alright. Didn't compile the Paraview-filter because I guess for that you'd have to recompile paraview in 64 bit. Bernhard |
Bernhard,
for some reason,
Bernhard,
for some reason, the compilation breaks at the very beginning : hoard-371/src/userealtls.cpp:261: warning: unused variable 't' make: *** [Make/darwinIntelDPOpt/libhoard.o] Error I still have the warning when compiling 32 bits but the library builds which is not the case here. Any suggestion ? Thanks PO |
The warning is not the problem
The warning is not the problem. The problem must be further up. Look for an Error.
|
Basically, because libhoard fa
Basically, because libhoard fails (make: *** [Make/darwinIntelDPOpt/libhoard.o] Error 1), those components do not build :
make: *** [Make/darwinIntelDPOpt/dlmalloc.o] Error 1 make: *** [Make/darwinIntelDPOpt/printStack.o] Error 1 make: *** [/Users/podallaire/OpenFOAM/OpenFOAM-1.5.x/lib/darwinIntelDPOpt/libOpenFOAM.dyli b] Error 1 ... which is not the case when compiling 32 bits Thanks PO |
Hi PO!
This patch should so
Hi PO!
This patch should solve the problem with printStack. Please apply with care. I'm not quite sure whether it is the latest (correct) version and as I don't have the need for a 64bit-version I don't want to spend the time reapplying/testing it. Bernhard |
Hi Bernhard,
thanks for loo
Hi Bernhard,
thanks for looking at this / it looks the the file did not upload correctly, can you copy the patch content direclty here. It seems that the problem with libhoard is not only with the darwin platform : http://www.cfd-online.com/OpenFOAM_D...s/1/10650.html Thanks PO |
All times are GMT -4. The time now is 05:11. |