CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Announcements from Other Sources

Extend Project 1.6-ext Binary Release for Mac OS X

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 10, 2011, 07:42
Default
  #21
New Member
 
Darrin Stephens
Join Date: Mar 2009
Posts: 23
Rep Power: 9
darrin is on a distinguished road
Philip,
In the file:
ThirdParty/rpmBuild/SOURCES/libccmio-2.6.1.patch_0

You need to add support for 11.0, this can be achieved by modifying lines 14 and 41 in the file. You need to modify line 14 as this is a new Darwin main version, different from 10.

Let me know if you need help. If you get this working can you post the issue and resolution on mantis so Martin can include in the hotfixes.

Darrin
darrin is offline   Reply With Quote

Old   October 10, 2011, 09:11
Default
  #22
Senior Member
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin,Ireland
Posts: 599
Rep Power: 20
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi Darrin,

Thanks for the help.

OK I am not quite sure how to modify the lines. At the moment lines 10-16 are:
Code:
@ -34,6 +34,7 @@
     x86_64-unknown-linux-gnu-null)     echo linux64_2.4-x86-glibc_2.2.5     ;;
     ppc64-unknown-linux-gnu-null)      echo linux64_2.6-pwr4-glibc_2.3.3    ;;
     i386-apple-darwin8-null)           echo i386-apple-darwin8              ;;
+    i386-apple-darwin10-null)          echo i386-apple-darwin10             ;;
     *)                                 echo unknown                         ;;
 esac
I changed it to:

Code:
@ -34,6 +34,7 @@
     x86_64-unknown-linux-gnu-null)     echo linux64_2.4-x86-glibc_2.2.5     ;;
     ppc64-unknown-linux-gnu-null)      echo linux64_2.6-pwr4-glibc_2.3.3    ;;
     i386-apple-darwin8-null)           echo i386-apple-darwin8              ;;
+    i386-apple-darwin10-null)          echo i386-apple-darwin10             ;;
+    i386-apple-darwin11-null)          echo i386-apple-darwin11             ;;
     *)                                 echo unknown                         ;;
 esac
But then it gives out about a misformed patch.


Then the lines 36-45 are:
Code:
@@ -87,6 +87,9 @@
     i386-apple-darwin8.11.1)
        echo i386-apple-darwin8 ;;

+    i386-apple-darwin10.5.0 |  i386-apple-darwin10.7.0 | i386-apple-darwin10.8.0)
+       echo i386-apple-darwin10 ;;
+
     *)
         echo unknown
         echo System type ${SYSTEM} not supported! 1>&2 ;;
And I changed them to:
Code:
@@ -87,6 +87,9 @@
     i386-apple-darwin8.11.1)
        echo i386-apple-darwin8 ;;

+    i386-apple-darwin10.5.0 |  i386-apple-darwin10.7.0 | i386-apple-darwin10.8.0)
+       echo i386-apple-darwin10 ;;
+

+    i386-apple-darwin11.0.0)
+       echo i386-apple-darwin11 ;;
+
     *)
         echo unknown
         echo System type ${SYSTEM} not supported! 1>&2 ;;
Is this OK?


Thanks,
Philip
bigphil is offline   Reply With Quote

Old   October 14, 2011, 09:46
Default
  #23
Senior Member
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin,Ireland
Posts: 599
Rep Power: 20
bigphil will become famous soon enoughbigphil will become famous soon enough
OK,

The compilation on Mac Lion runs fine now, I had to change two files:
ThirdParty/rpmBuild/SOURCES/libccmio-2.6.1.patch_0 and ThirdParty/rpmBuild/SPECS/libccmio-2.6.1.spec files
to include support for Mac Lion (darwin11).

I have reported this bug to mantis here.

I have attached a zip containing the patch and spec files that worked for me.

Philip
Attached Files
File Type: zip libccmioPatchAndSpec.zip (3.6 KB, 19 views)
bigphil is offline   Reply With Quote

Old   April 7, 2012, 03:06
Default
  #24
Senior Member
 
Jie
Join Date: Jan 2010
Location: Australia
Posts: 123
Rep Power: 8
jiejie is on a distinguished road
Hi Hrvoje

Thanks for your instruction for compiling 1.6-ext on Mac. I followed your instruction and managed to compile it on Mac 10.6.5 (Snow Lepord) with one small change.

I removed -lrt at /OpenFOAM/OpenFOAM-1.6-ext/src/decompositionMethods/scotchDecomp/Make/options as Mac OS X doesn't need the dependency on "-lrt".
jiejie is offline   Reply With Quote

Old   August 27, 2013, 08:01
Default OpenFoam-1.6-ext Mac
  #25
New Member
 
loic tachon
Join Date: Jan 2012
Posts: 5
Rep Power: 6
lolo is on a distinguished road
Hi Im looking for this version of open foam for mac but your link for this version does not exists anymore.

Do you know where can I find this version ? (.dmg if it is possible)

Thanks a lot

Quote:
Originally Posted by hjasak View Post
Binary release for Mac OS X

I have created a sparse disk image for OpenFOAM-1.6-ext and a Mac, available on Extend Sourceforge Download section.

This is what you do to use it:

1) download the dmg file
http://sourceforge.net/projects/openfoam-extend/files/ -> OpenFOAM-1.6-ext.dmg

2) double-click on it, to mount it
3) open a terminal and do the following

cd
mkdir OpenFOAM
cd OpenFOAM
ln -s /Volumes/OpenFOAM-1.6-ex .

and you are ready. Make yourself a run directory:

mkdir -p ~/OpenFOAM/<yourName>-1.6-ext/run

source the environment

. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc

and you are ready to run.

Please report success/failure.

Compiling OpenFOAM-1.6-ext on a Mac

If you want to compile from scratch, find yourself a Mac (Yum!) and install XCode. The next steps are:

1) download and install wget
2) download and install rpm
3) download and install git
4) sort out malloc header link

cd /usr/include/
sudo ln -s malloc/malloc.h .

5) sort out gmake

cd /usr/local/
sudo ln -s /usr/bin/make gmake

6) install Paraview from dmg: we will use Paraview reader

7) Create a Casename-sensitive disk image (~10 GB, to be safe) and link it as above. Into the link image do a git checkout into it

8) cd ~/OpenFOAM/OpenFOAM-1.6-ext/etc ; cp prefs.sh-EXAMPLE prefs.sh

9) source the environment and compile all. You are in business!

Hope you'll find this useful. Happy McFoaming,

Hrv
lolo is offline   Reply With Quote

Old   November 5, 2013, 17:24
Default
  #26
Member
 
Eric Bryant
Join Date: Sep 2013
Location: Texas
Posts: 44
Rep Power: 4
codder is on a distinguished road
I didn't realize an installation wiki page existed: http://openfoamwiki.net/index.php/In...enFOAM-1.6-ext
codder is offline   Reply With Quote

Old   November 5, 2013, 17:50
Default
  #27
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

@codder:
Quote:
Originally Posted by codder View Post
I didn't realize an installation wiki page existed: http://openfoamwiki.net/index.php/In...enFOAM-1.6-ext
Yep, but it's very recent! Check this thread for more information: Installation Guide for OpenFOAM-1.6-ext on Mac OS X Mountain Lion

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply
Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extend Project Release 1.6-ext hjasak OpenFOAM Announcements from Other Sources 33 July 14, 2011 18:54
Error to re-open fluent case file J.Gimbun FLUENT 0 April 27, 2006 08:42
Sliding mesh error Karl Kevala FLUENT 4 February 21, 2001 16:52


All times are GMT -4. The time now is 17:18.