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

OpenFOAM installation on Mac OS X 10.6.6 Snow Leopard

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2011, 12:35
Lightbulb OpenFOAM installation on Mac OS X 10.6.6 Snow Leopard
  #1
New Member
 
John Damnson
Join Date: Feb 2011
Posts: 15
Rep Power: 15
umassche is on a distinguished road
I'm following this method to install OpenFOAM 1.7.1: http://openfoamwiki.net/index.php/Ho...enFOAM_v17_Mac

When i execute the following comand in terminal,
source etc/bashrc

I get the following,
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamEtcFile: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/etc/settings.sh: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/etc/aliases.sh: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/etc/apps/paraview3/bashrc: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/etc/apps/ensight/bashrc: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory


WHY IS THIS??? I'm sorry i'm new to any kind of coding whatsoever. I think the problem is I haven't properly specified the "foamInstall" variable where it's default value was like this,
foamInstall=$HOME/$WM_PROJECT

How do u think I should fix it?

Last edited by umassche; February 13, 2011 at 18:05.
umassche is offline   Reply With Quote

Old   February 14, 2011, 04:27
Default
  #2
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
Quote:
Originally Posted by umassche View Post
I'm following this method to install OpenFOAM 1.7.1: http://openfoamwiki.net/index.php/Ho...enFOAM_v17_Mac

When i execute the following comand in terminal,
source etc/bashrc

I get the following,
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamEtcFile: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/etc/settings.sh: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/etc/aliases.sh: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/etc/apps/paraview3/bashrc: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/etc/apps/ensight/bashrc: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory
-bash: /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamCleanPath: No such file or directory


WHY IS THIS??? I'm sorry i'm new to any kind of coding whatsoever. I think the problem is I haven't properly specified the "foamInstall" variable where it's default value was like this,
foamInstall=$HOME/$WM_PROJECT

How do u think I should fix it?
My guess is that your installation isn't at $HOME/$WM_PROJECT

First thing: what does 'pwd' say? /Users/John/OpenFOAM/OpenFOAM-1.7.1/ I hope
Second thing: check with 'ls /Users/John/OpenFOAM/OpenFOAM-1.7.1/bin/foamEtcFile' whether the file is really missing. If not remove one element at a time from the right of the path until you hit the jackpot.
gschaider is offline   Reply With Quote

Old   March 18, 2011, 10:52
Default
  #3
Member
 
Ammar Tareen
Join Date: Jan 2011
Location: Boston University
Posts: 61
Rep Power: 15
atareen64 is on a distinguished road
Hi John, and anybody,

I am getting the same No such file or directory error. Did you have any luck fixing the error? Is the path supposed to specify where openfoam is to be installed? If not than what is it specifying? I went to location to check if the files were there, and they were. I don't understand why it's giving me this error when I run 'source etc/bashrc'.

Please help.
-Ammar.
atareen64 is offline   Reply With Quote

Old   March 18, 2011, 12:58
Default
  #4
New Member
 
John Damnson
Join Date: Feb 2011
Posts: 15
Rep Power: 15
umassche is on a distinguished road
no i didnt want to waste too much time trying to fixing it. i just resorted to an easy installation rather than compiling it. if u like i can give u the link
umassche is offline   Reply With Quote

Old   March 18, 2011, 13:00
Default Would love the link!
  #5
Member
 
Ammar Tareen
Join Date: Jan 2011
Location: Boston University
Posts: 61
Rep Power: 15
atareen64 is on a distinguished road
Yes absolutely, I would love to have that link.
Can you post it here? If not you can email it to me.

atareen64@gmail.com

Best regards,
Ammar.
atareen64 is offline   Reply With Quote

Old   March 18, 2011, 13:49
Default
  #6
New Member
 
John Damnson
Join Date: Feb 2011
Posts: 15
Rep Power: 15
umassche is on a distinguished road
http://www.ifd.mavt.ethz.ch/educatio...foam/of-macosx
umassche is offline   Reply With Quote

Old   March 18, 2011, 15:24
Smile
  #7
Member
 
Ammar Tareen
Join Date: Jan 2011
Location: Boston University
Posts: 61
Rep Power: 15
atareen64 is on a distinguished road
Thank you!!!
atareen64 is offline   Reply With Quote

Old   June 29, 2011, 02:07
Default
  #8
Member
 
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15
liguifan is on a distinguished road
Hi John,

I follow the instruction on that site, but I keep getting the following error:

"hdiutil: attach failed - Resource busy
/dev/disk3 GUID_partition_scheme
/dev/disk3s1 EFI
/dev/disk3s2 Apple_HFS /Users/<myname>/OpenFOAM/liguifan-1.7.x
-bash: /Users/<myname>/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc: No such file or directory
"

I have no idea why it is like this, can you give me some suggestions?

Thanks
liguifan is offline   Reply With Quote

Old   June 29, 2011, 09:15
Default
  #9
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
Quote:
Originally Posted by liguifan View Post
Hi John,

I follow the instruction on that site, but I keep getting the following error:

"hdiutil: attach failed - Resource busy
/dev/disk3 GUID_partition_scheme
/dev/disk3s1 EFI
/dev/disk3s2 Apple_HFS /Users/<myname>/OpenFOAM/liguifan-1.7.x
-bash: /Users/<myname>/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc: No such file or directory
"

I have no idea why it is like this, can you give me some suggestions?

Thanks
Does it really say "<myname>" in the output. I don't know this distro, but I'd suggest you'd reread the README
gschaider is offline   Reply With Quote

Old   July 1, 2011, 04:33
Default
  #10
Member
 
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15
liguifan is on a distinguished road
Quote:
Originally Posted by gschaider View Post
Does it really say "<myname>" in the output. I don't know this distro, but I'd suggest you'd reread the README
Hi Bernhard,

It doesn't appear <my name>, it is actually my computer name there.

I download the second resource and rereda the README, it works finally. Thanks for that.
liguifan is offline   Reply With Quote

Reply

Tags
bashrc, mac os, openfoam, openfoam installation, snow leopard


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
OpenFOAM on a Mac Show Leopard 10.6 hjasak OpenFOAM Programming & Development 7 February 11, 2010 08:23
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 14:06
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 19:21.