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

[OpenFOAM.org] Installation of OpenFOAM 2.3.1 on Ubuntu 14.04

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2015, 04:25
Question Installation of OpenFOAM 2.3.1 on Ubuntu 14.04
  #1
Member
 
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11
stephie is on a distinguished road
Hello everyone,

I'm a beginner in working with OpenFoam. At the moment I try to install OpenFoam on Ubuntu 14.04. For this I used the official manual from this page:
http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04

Unfortunately there are many mistakes and I don't know how to solve it. The first information came after the 2. point:
"Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Hinweis: »libncurses5-dev« wird an Stelle von »libncurses-dev« gewählt.
Paket gnuplot ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.

E: Für Paket »gnuplot« existiert kein Installationskandidat.
E: Paket libopenmpi-dev kann nicht gefunden werden.
E: Paket openmpi-bin kann nicht gefunden werden."

After the terminal told:
"Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
libglu1-mesa-dev : Hängt ab von: libgl1-mesa-dev soll aber nicht installiert werden oder
libgl-dev
libqt4-opengl-dev : Hängt ab von: libgl1-mesa-dev soll aber nicht installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete."

At this moment it didn't matter, I continued with the skript. But after the 6. point the mistake appeared again:

" Das Programm »mpicc« ist in folgenden Paketen enthalten:
* lam4-dev (Sie werden die Paketquellenkomponente »universe« aktivieren müssen.)
* libmpich-dev (Sie werden die Paketquellenkomponente »universe« aktivieren müssen.)
* libopenmpi-dev (Sie werden die Paketquellenkomponente »universe« aktivieren müssen.)
Versuchen Sie: sudo apt-get install <ausgewähltes Paket>"

So I guess I have to install "universe".. but I don't know how. I would be amazing if anyone might help me.

Thank you and nice greetings,
Stephie

(I hope the German language of the terminal isn't a problem?)
stephie is offline   Reply With Quote

Old   February 10, 2015, 04:51
Default
  #2
Member
 
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11
stephie is on a distinguished road
Okay, I tried this:
sudo apt-add-repository universe
sudo apt-get update


after this I tried the option the terminal proposed:
apt-get lam4-dev
apt-get libmpich-dev
apt-get libopenmpi-dev

I installed all this programs and continued by the point 6 of the installation manual. Up to now the script of the manual run and I didn't need such a long time. I'm not sure if this is a good sign.
stephie is offline   Reply With Quote

Old   February 10, 2015, 08:15
Default
  #3
Member
 
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11
stephie is on a distinguished road
Hey,
for me it's new to work with OpenFoam. Today I tried to install the program by using the manual from this page: http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04

Now I'm nearly at the end of the scrip, where I have to check if icoFoam is working:
This is the answer of the terminal: "icoFoam: Befehl nicht gefunden." Command not found. Would you help me to find the mistake I probably made?

Thank you and nice greetings
stephie is offline   Reply With Quote

Old   February 10, 2015, 08:49
Default
  #4
Member
 
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11
stephie is on a distinguished road
Okay, I read, I have to repeat this code:
./Allwmake > log.make 2>&1

to diagnose what went wrong. But the terminal show me any error. So where is the fault?
Please help me
stephie is offline   Reply With Quote

Old   February 10, 2015, 09:17
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,

All the output goes to log.make file, so to find error use

Code:
$ less log.make
and search there (using / command) for Error (or error, or maybe it will be in German).
alexeym is offline   Reply With Quote

Old   February 14, 2015, 11:05
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Greetings to all!

@Stephanie: In the next step on those instructions, namely in step #11, it says the following near the end:
Code:
#Create a tarball in case you've seen any errors (it's the first error that matters)
#or if you don't understand the output
#and attach the file "make.log.tar.gz" to a post in the designated thread
tar -czf make.log.tar.gz make.log
Therefore, please compress the file by using the last command and attach the file to your next post.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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.org] OpenFOAM 2.40 installation on Ubuntu 12.04 LTS eddykendo OpenFOAM Installation 1 July 18, 2015 17:38
[OpenFOAM.org] Problem of openFOAM 2.3.1 installation in Ubuntu 14.04LTS mukut OpenFOAM Installation 9 January 19, 2015 00:48
Problems with OpenFOAM 2.3.0 on Ubuntu 14.04 smallzilla OpenFOAM Installation 15 September 14, 2014 12:11
Problem? with Installation of OpenFOAM 2.1.0 on to Ubuntu 10.4.4 VirtualBox Stubby OpenFOAM Installation 8 March 5, 2012 15:12
openFOAM installation in ubuntu 11.10 kirubhakaran OpenFOAM Installation 5 February 17, 2012 02:16


All times are GMT -4. The time now is 04:15.