OpenFOAM installation on Mac OS X 10.6.6 Snow Leopard
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? |
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. |
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. |
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
|
Would love the link!
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. |
|
Thank you!!!
|
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 |
Quote:
|
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. |
All times are GMT -4. The time now is 17:04. |