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

Errors while installing openfoam on ubuntu 12.04 AND 11.10

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2012, 08:06
Default
  #21
New Member
 
John Eckart
Join Date: Feb 2012
Posts: 4
Rep Power: 14
johneck is on a distinguished road
Actually the command to set the variable VERS worked as it was supposed to. The first thing I checked was to make sure that the variable was assigned correctly. It seemed to work for all but about 4 parts of the download when "update" was run.
johneck is offline   Reply With Quote

Old   August 7, 2012, 08:15
Default
  #22
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
Mmm... I understood from your description that the problem was that the words "lsb_release" appeared instead of "precise" during the update...
__________________
wyldckat is offline   Reply With Quote

Old   August 7, 2012, 08:48
Default
  #23
New Member
 
John Eckart
Join Date: Feb 2012
Posts: 4
Rep Power: 14
johneck is on a distinguished road
yes, but not in every case. It seemed that most of the fetch commands worked properly. Only a few had the problem.
johneck is offline   Reply With Quote

Old   August 25, 2012, 12:02
Default
  #24
New Member
 
Chris Pellegrino
Join Date: Aug 2012
Location: USA
Posts: 4
Rep Power: 14
crispy is on a distinguished road
I too am having similar issues. I have Ubuntu 10.04 LTS running on a 64bit machine (dual boot alongside Windows.) Following the instructions in http://www.openfoam.org/download/ubuntu.php ends up having issues with the GET UPDATE command. All the lines referring to openfoam begin with Ign (Ignore I presume?) At the end it's trying to get "main Packages" and "-cs Packages" from www.openfoam.org lsb_release/ with Ign at the beginning of each line and finally says Err instead of Ign then "W: Failed to fetch" from the same locations when it tries to get the Packages.gz file (it tried to get it from /-cs/binary-amd64 and also from /main/binary-amd64/.)

Is this something going on at OpenFOAM's end and I should just try again later?

I don't know how to copy/paste from the terminal window, so please excuse the lack of detailed information.
crispy is offline   Reply With Quote

Old   August 25, 2012, 14:41
Default
  #25
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Chris and welcome to the forum!

You can copy from the from the terminal by pressing the key combination Ctrl+Shift+C
For pasting on the terminal you can use Ctrl+Shift+V
Selection is with the mouse.

As for the commands for installing, try these instead:
Code:
VERS=$(lsb_release -cs)       
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list"
Then proceed with the remaining commands. But if still doesn't work, you now know how to copy-paste from the terminal

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 5, 2012, 01:18
Default
  #26
New Member
 
Chris Pellegrino
Join Date: Aug 2012
Location: USA
Posts: 4
Rep Power: 14
crispy is on a distinguished road
Dang - you guys are awesome. Thanks - worked.
crispy is offline   Reply With Quote

Old   November 19, 2013, 10:52
Default
  #27
Senior Member
 
Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 256
Blog Entries: 1
Rep Power: 19
makaveli_lcf is on a distinguished road
Send a message via ICQ to makaveli_lcf
For my problem with ATI radeon X1400 the following magic worked:

Quote:
sudo apt-get remove --purge xorg-driver-fglrx fglrx*
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo apt-get remove --purge fglrx fglrx-amdcccle
sudo apt-get remove --purge fglrx-updates fglrx-amdcccle-updates
sudo dpkg-reconfigure xserver-xorg
+ reboot

Now it uses standard Radeon driver with GLX support.

Cheers,
Alex
wyldckat likes this.
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

http://smmp.unileoben.ac.at
makaveli_lcf is offline   Reply With Quote

Old   May 1, 2021, 13:10
Default
  #28
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 120
Rep Power: 16
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
I just installed a brand new driver from NVIDIA.
I am using a NVIDIA Quadro 600

My OS is SUSE SLES 15 not Ubuntu!

Code:
(   4.058s) [paraview        ]vtkXOpenGLRenderWindow.:637    ERR| vtkXOpenGLRenderWindow (0x559c0d04a560): Cannot create GLX context.  Aborting.
SUSE does not have the command below:

Code:
VERS=$(lsb_release -cs)
Paraview is not working in SUSE SLES despite I installed it from Package Hub from SUSE SLES repository.
aerothermal is offline   Reply With Quote

Reply


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
Trouble installing OpenFoam 2.10 on Ubuntu 11.10 LucasCG OpenFOAM Installation 17 January 27, 2013 15:58
OpenFOAM 2.1 on Ubuntu SERVER 11.10 samiam1000 OpenFOAM Installation 2 March 7, 2012 03:40
openFOAM installation in ubuntu 11.10 kirubhakaran OpenFOAM Installation 5 February 17, 2012 03:16
.deb installation of OpenFOAM 2.1.0 on Ubuntu 11.10 (Oneiric Ocelot). kxk7607 OpenFOAM Installation 7 January 21, 2012 12:57
[SOLVED] Intel Compiler 12.1 + Ubuntu 11.10 (gcc 4.6) + OpenFOAM 2.0.x wyldckat OpenFOAM Installation 0 November 4, 2011 15:52


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