|
[Sponsors] |
OpenFOAM installation on Mac OS X 10.6.6 Snow Leopard |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 13, 2011, 13:35 |
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 |
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 19:05. |
|
February 14, 2011, 05:27 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
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. |
||
March 18, 2011, 11:52 |
|
#3 |
Member
Ammar Tareen
Join Date: Jan 2011
Location: Boston University
Posts: 61
Rep Power: 15 |
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. |
|
March 18, 2011, 13:58 |
|
#4 |
New Member
John Damnson
Join Date: Feb 2011
Posts: 15
Rep Power: 15 |
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
|
|
March 18, 2011, 14:00 |
Would love the link!
|
#5 |
Member
Ammar Tareen
Join Date: Jan 2011
Location: Boston University
Posts: 61
Rep Power: 15 |
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. |
|
March 18, 2011, 14:49 |
|
#6 |
New Member
John Damnson
Join Date: Feb 2011
Posts: 15
Rep Power: 15 |
||
March 18, 2011, 16:24 |
|
#7 |
Member
Ammar Tareen
Join Date: Jan 2011
Location: Boston University
Posts: 61
Rep Power: 15 |
Thank you!!!
|
|
June 29, 2011, 03:07 |
|
#8 |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
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 |
|
June 29, 2011, 10:15 |
|
#9 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
July 1, 2011, 05:33 |
|
#10 | |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 15 |
Quote:
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. |
||
Tags |
bashrc, mac os, openfoam, openfoam installation, snow leopard |
|
|
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 09:23 |
Critical errors during OpenFoam installation in OpenSuse 11.0 | amscosta | OpenFOAM | 5 | May 1, 2009 15:06 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |