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

[OpenFOAM.org] Installing OpenFOAM 2.3.0 on Mac - problems with db48

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2015, 12:29
Default Installing OpenFOAM 2.3.0 on Mac - problems with db48
  #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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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
Member
 
Ali
Join Date: Oct 2013
Location: Scotland
Posts: 66
Rep Power: 12
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,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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


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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
[OpenFOAM.org] Problems installing OpenFOAM 2.3.0 on CentOS-6.6-x86-64 Milan2013 OpenFOAM Installation 24 November 28, 2015 15:05
[OpenFOAM.org] Problems installing OpenFOAM 2.3.0 on Ubuntu 12.04 arieljeds OpenFOAM Installation 6 August 19, 2015 07:39
Problems installing SVN in Ubuntu (for later installing PyFoam for OpenFOAM) immortality Lounge 2 May 24, 2014 03:05
[swak4Foam] Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Community Contributions 22 January 21, 2013 11:51


All times are GMT -4. The time now is 03:27.