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

Version 15 on Mac OS X

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 28, 2008, 12:39
Default I wasn't aware of this precomp
  #61
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
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
__________________
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
gschaider is offline   Reply With Quote

Old   October 28, 2008, 14:58
Default I am trying to compile on OS X
  #62
New Member
 
sesha
Join Date: Mar 2009
Posts: 23
Rep Power: 17
hamsadhwani8 is on a distinguished road
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
hamsadhwani8 is offline   Reply With Quote

Old   October 28, 2008, 16:40
Default Hi, There is an obvious error
  #63
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Hi,
There is an obvious error.You need to install doxygen first,which is not included in OpenFOAM.
lin is offline   Reply With Quote

Old   October 28, 2008, 16:54
Default Hi ss! Hua is right. The si
  #64
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
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
__________________
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
gschaider is offline   Reply With Quote

Old   October 29, 2008, 12:19
Default Thanks Hua and Bernhard, I
  #65
New Member
 
sesha
Join Date: Mar 2009
Posts: 23
Rep Power: 17
hamsadhwani8 is on a distinguished road
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
hamsadhwani8 is offline   Reply With Quote

Old   November 1, 2008, 19:24
Default I am having issues with 'dot'
  #66
New Member
 
sesha
Join Date: Mar 2009
Posts: 23
Rep Power: 17
hamsadhwani8 is on a distinguished road
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
hamsadhwani8 is offline   Reply With Quote

Old   November 2, 2008, 02:48
Default Hi For my linux system,"dot"
  #67
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Hi
For my linux system,"dot" command is contained in the package "graphviz",hope it helps.
lin is offline   Reply With Quote

Old   January 15, 2009, 13:56
Default Hi Pierre-Oliver, Were you
  #68
sek
Member
 
Sung-Eun Kim
Join Date: Mar 2009
Posts: 76
Rep Power: 17
sek is on a distinguished road
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?
sek is offline   Reply With Quote

Old   January 18, 2009, 13:28
Default Hi Ilja You get this error
  #69
Member
 
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17
mwild is on a distinguished road
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
mwild is offline   Reply With Quote

Old   January 18, 2009, 14:17
Default Dear Michael! Thank You for
  #70
New Member
 
Ilja
Join Date: Mar 2009
Location: Dolgoprudni, Russia
Posts: 4
Rep Power: 17
regoog is on a distinguished road
Dear Michael!

Thank You for help. Code has compiled when I did chandes.

PS. Sorry for my bad English.
regoog is offline   Reply With Quote

Old   January 18, 2009, 14:23
Default Dear Michael! Thank You for
  #71
New Member
 
Ilja
Join Date: Mar 2009
Location: Dolgoprudni, Russia
Posts: 4
Rep Power: 17
regoog is on a distinguished road
Dear Michael!

Thank You for help. Code has compiled when I did chandes.

PS. Sorry for my bad English.
regoog is offline   Reply With Quote

Old   February 18, 2009, 14:10
Default Hi, if have some Problems c
  #72
New Member
 
Tino
Join Date: Mar 2009
Location: Braunschweig, Deutschland
Posts: 2
Rep Power: 0
tino is on a distinguished road
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
tino is offline   Reply With Quote

Old   February 19, 2009, 07:16
Default Hello, i have find a soluti
  #73
New Member
 
Tino
Join Date: Mar 2009
Location: Braunschweig, Deutschland
Posts: 2
Rep Power: 0
tino is on a distinguished road
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
tino is offline   Reply With Quote

Old   March 2, 2009, 00:32
Default Good evening, I was wonderi
  #74
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
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
podallaire is offline   Reply With Quote

Old   March 2, 2009, 09:03
Default Hi PO! Yes. For the ld-comm
  #75
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
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
__________________
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
gschaider is offline   Reply With Quote

Old   March 2, 2009, 09:15
Default Bernhard, for some reason,
  #76
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
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
podallaire is offline   Reply With Quote

Old   March 2, 2009, 09:35
Default The warning is not the problem
  #77
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
The warning is not the problem. The problem must be further up. Look for an Error.
__________________
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
gschaider is offline   Reply With Quote

Old   March 2, 2009, 09:49
Default Basically, because libhoard fa
  #78
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
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
podallaire is offline   Reply With Quote

Old   March 2, 2009, 16:21
Default Hi PO! This patch should so
  #79
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
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


__________________
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
gschaider is offline   Reply With Quote

Old   March 2, 2009, 16:34
Default Hi Bernhard, thanks for loo
  #80
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
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
podallaire 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
New version fluent file open in Old version ? MANOJKUMAR FLUENT 2 July 10, 2013 05:43
Difference between Version 6.3 and Version 6.2 erikaj FLUENT 0 October 11, 2007 13:36
LES with version 6.3 Steve FLUENT 0 April 26, 2007 16:00
SEM in the 3.5 version Anis Phoenics 0 May 5, 2006 13:41
BUG IN VERSION 3.5!!!!!!!! AERODYNAMIFUN Phoenics 0 May 17, 2004 20:24


All times are GMT -4. The time now is 20:41.