|
[Sponsors] |
January 21, 2015, 15:55 |
Stuck installing OpenFoam231
|
#1 |
New Member
Bjorn
Join Date: Jan 2015
Posts: 4
Rep Power: 11 |
Hi!
This is the first time Im attempting to use Open Foam and got stuck. Following the instruction exactly I got the error messages that they talked about and did what Im supposed to do att those error messages so I thought everything was ok, but then at> mkdir -p $FOAM_RUN The computer responds, missing operand. icoFoam -help computer responds, unknown comand so how did I pass everything so far and then it doesnt understand the command? Any suggestions? Last edited by SurfMagic; January 21, 2015 at 16:34. Reason: spelling |
|
January 22, 2015, 02:44 |
|
#2 | ||
Senior Member
|
Hi,
You've got problems with environment. It was not set up (using 'source /path/to/openfoams/etc/bashrc'). Quote:
Code:
mkdir -p Quote:
Please provide more details about the way you've installed the software. Also this - "Following the instruction exactly" - is rather cryptic. What instruction? Where did you find the instruction? |
|||
January 22, 2015, 06:09 |
|
#3 |
New Member
Bjorn
Join Date: Jan 2015
Posts: 4
Rep Power: 11 |
Thanks for the reply,
About instructions, I mean what is said on how to install from OpenFoam download page. Not that I call this a download Ive never seen such a "download" where you actually dont download, you seem to be programing in a window. When I mean exactly, I mean I copied every command, with my mouse in the OpenFoam instructions, and pasted it in the command window. I did EXACTLY as said on this page. to avoid spelling mistakes I copy-past everything. http://www.openfoam.org/download/ubuntu.php I hope that actuall program, If Im able to ever activate it, is more user friendly that this Alien code im a user, not a developer and I hope this is a program is for people to use as well, not only to forever develop and not be able to be used by others than developer hehe. Well since this was cheeky I probably wont ge replies. We will see, but I hope people understand I just spent 2 days trying........my 5 year old daughter is pist off I dont have time with her. my wife is going to divorce me... I wonder when programs going to start become user friendly so computers can save humans time instead of waste our time....hehe |
|
January 22, 2015, 15:30 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
January 22, 2015, 17:09 |
|
#5 |
New Member
Bjorn
Join Date: Jan 2015
Posts: 4
Rep Power: 11 |
Hi,
The wiki help on installing OpenFoam on ubuntu failed on step 2 already. I did exactly as it said only copy-past. So I copied pasted line 1 Code:
sudo -s Code:
root@ubuntu:~# apt-get install build-essential cmake flex bison zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev \ > libncurses-dev libxt-dev libopenmpi-dev openmpi-bin libboost-system-dev libboost-thread-dev libgmp-dev libmpfr-dev Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libncurses5-dev' instead of 'libncurses-dev' Package gnuplot is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'gnuplot' has no installation candidate E: Unable to locate package libopenmpi-dev E: Unable to locate package openmpi-bin Last edited by wyldckat; January 23, 2015 at 15:55. Reason: Added [CODE][/CODE] |
|
January 22, 2015, 18:57 |
|
#6 |
New Member
Bjorn
Join Date: Jan 2015
Posts: 4
Rep Power: 11 |
ok, im on my 3d day try to install one simple pogram....
bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-2.3.1/etc/config/settings.sh: No such file or directory bash: /opt/OpenFOAM-2.3.1/etc/config/aliases.sh: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory |
|
January 23, 2015, 16:06 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings SurfMagic,
Mmm... OK, I would guess that this says it all: Code:
E: Unable to locate package libopenmpi-dev E: Unable to locate package openmpi-bin
Beyond this, it would be helpful if you could indicate which Ubuntu version you're using and if you have installed it in a real machine or a virtual machine. Best regards, Bruno
__________________
|
|
July 18, 2020, 00:46 |
|
#8 | ||
Member
|
Hello dear wyldckat and SurfMagic,
I've the same problem and I was wondering if you could help me to fix it please. I am on Linux Mint 20. I've just installed OpenFOAM from the Linux Mint software manager. I am receiving a similar error when I try Code:
$ mkdir -p $FOAM_RUN Code:
bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamCleanPath: No such file or directory bash: /usr/share/openfoam/bin/foamCleanPath: No such file or directory bash: /usr/share/openfoam/bin/foamCleanPath: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamEtcFile: No such file or directory bash: /usr/share/openfoam/bin/foamCleanPath: No such file or directory bash: /usr/share/openfoam/bin/foamCleanPath: No such file or directory bash: /usr/share/openfoam/bin/foamCleanPath: No such file or directory I'd be grateful for help. Thank you in advance. Ivan P.S. I did activate $FOAM_RUN with that source thing: commands like Quote:
Quote:
|
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
A simple 2D simulation getting stuck with No Error | Alhasan | OpenFOAM Running, Solving & CFD | 3 | April 5, 2020 18:01 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
Install OF 1.6.ext on Arch based distribution | miro2000 | OpenFOAM Installation | 4 | October 9, 2013 15:39 |
My experience Installing Elmer (Open Source Multi physics programme) on Linux | Ahmed | Main CFD Forum | 3 | August 10, 2010 14:42 |