CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation on Windows, Mac and other Unsupported Platforms

Installing OpenFOAM 2.3.0 on Mac

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 16, 2015, 12:29
Default Installing OpenFOAM 2.3.0 on Mac
  #1
New Member
 
Anne Wijbenga
Join Date: Aug 2015
Posts: 2
Rep Power: 0
Silvester is on a distinguished road
Hi,
It's a rainy day, so I tried to install OpenFOAM-2.3.0 in Mac. It ended with:

Annes-iMac:Volumes annewijbenga$ sudo port select --summary
Name Selected Options
==== ======== =======
db none db48 none
gcc mp-gcc48 mp-gcc46 mp-gcc48 mp-gcc49 none
llvm mp-llvm-3.5 mp-llvm-3.5 none
mpi openmpi-gcc48-fortran openmpi-gcc48-fortran openmpi-mp-fortran none
python python27 python26-apple python27 python27-apple none
python2 none python26-apple python27 python27-apple none
Annes-iMac:Volumes annewijbenga$ sudo port select --set db db48
Selecting 'db48' for 'db' failed: The configuration file '/opt/local/etc/select/db/base' could not be opened.

I tried to look into the configuration file but:

Annes-iMac:db annewijbenga$ pwd
/opt/local/etc/select/db
Annes-iMac:db annewijbenga$ ls -lstr
total 8
8 -rw-r--r-- 1 root admin 124 Nov 12 2014 db48
Annes-iMac:db annewijbenga$

What am I missing to continue with the next step?
regards Anne
Silvester is offline   Reply With Quote

Old   August 16, 2015, 13:58
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quick answer: That's a macports question. Googling "db48 macports" got me this: https://forum.bitcraze.io/viewtopic.php?t=1105#p6290
wyldckat is offline   Reply With Quote

Old   August 16, 2015, 15:39
Default Installing OpenFoAM-2.3.0
  #3
New Member
 
Anne Wijbenga
Join Date: Aug 2015
Posts: 2
Rep Power: 0
Silvester is on a distinguished road
Thanx for thinking with me, I am all new to this, but it looks like I am missing the configuration file.
It is the very first time that I use Macports, I never installed it before (and whatever needed to install OF). I generally run dmg packages for installation.

Does that shed new light on my question/problem
S.
Silvester is offline   Reply With Quote

Old   August 16, 2015, 15:49
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Sorry, but I don't have a Mac, so I'm not able to test and fix this.
I do know that this issue has been reported here on the forum at least 2 other times:
In neither cases did they provide solutions for the problem. Which is why I answered what I found by Googling, and on that thread I provided it did seem to explain how to fix this issue.
wyldckat is offline   Reply With Quote

Old   August 17, 2015, 02:09
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,133
Rep Power: 20
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

@Silvester

My 0.02$...

1. In fact the problem is in your Macports installation, so, I guess, you will find solution faster on Macports-specialized forum/mailing-list (https://trac.macports.org).

2. You can install OpenFOAM without Macports.
alexeym is offline   Reply With Quote

Old   August 17, 2015, 03:43
Default
  #6
New Member
 
Ali
Join Date: Oct 2013
Posts: 7
Rep Power: 3
ali.m.1 is on a distinguished road
Would you recommend installing it with brew instead alexey? I'm having the same issue as Anne.
ali.m.1 is offline   Reply With Quote

Old   August 17, 2015, 04:01
Default
  #7
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,133
Rep Power: 20
alexeym will become famous soon enoughalexeym will become famous soon enough
Well, in general, I recommend "whatever works". Macports should help you to manage third-party software, yet, if you have the same problem, it does not.

So you have several choices:
a) use Google to find a solution (if there is any)
b) post a problem (for example) here; wait for a person, who had the same problem and solved it, to read your message and post his solution
c) (this is classic) reinstall Macports and hope this time everything will be fine
d) try Homebrew
alexeym 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
-bash: fluentMeshToFoam: command not found, after installing OpenFoam 2.3.x on Mac jundong OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 1 July 1, 2015 13:31
Problems installing OpenFOAM 2.3.0 in Ubuntu 14.04 iafpython OpenFOAM Installation 8 November 10, 2014 17:43
Unable to run a case with OpenFOAM 1.6-ext that works with OpenFOAM 2.3.0 Jiricbeng OpenFOAM Running, Solving & CFD 15 May 21, 2014 03:52
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 20:21
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25


All times are GMT -4. The time now is 15:11.