|
[Sponsors] |
October 24, 2011, 17:24 |
|
#21 |
Senior Member
Nicolas Edh
Join Date: Mar 2010
Location: Uppsala, Sweden
Posts: 123
Rep Power: 18 |
Well I still have compilation issues.
First time around i got several error messages like this Code:
/usr/bin/ld: cannot find -linterfaceProperties collect2: ld returned 1 exit status make[2]: *** [/home/nico/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/bin/multiphaseInterFoam] Error 1 David, can you run pitzDaily withour issues? /N |
|
October 24, 2011, 21:30 |
ubuntu 11.10
|
#22 |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
One workaround to this is to load Ubuntu 11.04 and install OpenFoam. Then upgrade to Ubuntu 11.10.
|
|
October 25, 2011, 10:36 |
|
#23 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Hi Nicolas,
Re: compile problems. Did you do the second part of the "fix"? Given here: http://www.cfd-online.com/Forums/ope...tml#post328935 Re: pisoFoam failure. I have the problems too, and am now working to resolve it. It looks like linking at runTime isn't working.
__________________
~~~ Follow me on twitter @DavidGaden |
|
October 25, 2011, 12:07 |
|
#24 |
Member
Diego Angeli
Join Date: Mar 2009
Posts: 31
Rep Power: 17 |
||
October 25, 2011, 15:09 |
|
#25 |
Senior Member
Nicolas Edh
Join Date: Mar 2010
Location: Uppsala, Sweden
Posts: 123
Rep Power: 18 |
Hey David,
Yes, I did apply the second part of the fix. Of course I've could have missed one of the files. Currently I've just applied the this fix http://www.openfoam.com/mantisbt/view.php?id=316#c751 and am recompiling again from scratch. Have you tried it yet? |
|
October 25, 2011, 15:12 |
|
#26 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
I am trying it right now.
__________________
~~~ Follow me on twitter @DavidGaden |
|
October 25, 2011, 16:27 |
|
#27 |
Senior Member
Nicolas Edh
Join Date: Mar 2010
Location: Uppsala, Sweden
Posts: 123
Rep Power: 18 |
Hey!
Well it compiles alright and I can run pisoFoam and use scotch. I'll post back if I encounter any problem. Nicolas |
|
October 25, 2011, 17:25 |
|
#28 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Yeah, looks like it did the trick. My compile worked...
Those of you still struggling with this issue, here's what you do: If your OpenFOAM is installed from the repository: 1. Do this from the root of your installation: $ git pull origin master 2. Run the Allwmake again. If you are not running a repository version, get one (or patch your version). To get one, follow the instructions on this page: http://www.openfoam.org/git.php Thank-you to mattijs, whoever you are.
__________________
~~~ Follow me on twitter @DavidGaden |
|
October 26, 2011, 08:01 |
|
#29 |
Member
Diego Angeli
Join Date: Mar 2009
Posts: 31
Rep Power: 17 |
works also for me, many thanks to mattijs!
regards diego |
|
October 27, 2011, 00:48 |
|
#30 | |
New Member
Kyle Morse
Join Date: Apr 2011
Location: Georgia, USA
Posts: 6
Rep Power: 15 |
Quote:
on OpenFOAM: the instructions say enter these lines into the terminal: VERS=`lsb_release -cs` sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list" I just replaced VERS with natty sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu natty /etc/apt/sources.list.d/openfoam.list" It runs fine. sudo apt-get update [sudo] password for chavagnatze: Ign http://www.openfoam.com natty InRelease Ign http://ppa.launchpad.net oneiric InRelease Ign http://security.ubuntu.com oneiric-security InRelease Ign http://www.openfoam.com natty Release.gpg Hit http://security.ubuntu.com oneiric-security Release.gpg Ign http://www.openfoam.com natty Release Ign http://extras.ubuntu.com oneiric InRelease Hit http://security.ubuntu.com oneiric-security Release Ign http://www.openfoam.com natty/main i386 Packages/DiffIndex Hit http://www.openfoam.com natty/main i386 Packages Ign http://www.openfoam.com natty/main Translation-en_US Ign http://www.openfoam.com natty/main Translation-en Fetched 314 kB in 11s (26.8 kB/s) Reading package lists... Done Follow the rest of the instructions and it should work fine. If they release a version for 11.10 just update the repository... I am not a computer person but, I do know that Ubuntu is Linux for idiots like myself. I don't really think that there is a big difference between 11.04 and 11.10 when it comes to something like OpenFOAM. Last edited by Chavagnatze; October 27, 2011 at 05:43. |
||
October 27, 2011, 05:10 |
|
#31 |
New Member
Gustavo
Join Date: Feb 2010
Location: Curitiba - PR - Brasil
Posts: 16
Rep Power: 16 |
It works now.
Thanks. Best regards, Gustavo. |
|
October 29, 2011, 19:50 |
|
#32 |
New Member
Emmanuel Turinetto
Join Date: Oct 2011
Posts: 1
Rep Power: 0 |
Hi, guys!. Please, can anyone say me wich is the correct way to get Open Foam working in Ubuntu 11.10?. Im new on this opearating system, and im confused about all this... thanks in advance!
|
|
October 29, 2011, 21:28 |
|
#33 | |
New Member
Kyle Morse
Join Date: Apr 2011
Location: Georgia, USA
Posts: 6
Rep Power: 15 |
Quote:
Ctrl+Alt+T To open Terminal Go here: http://www.openfoam.com/download/ubuntu.php Replace the commands in step one with this: sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu natty /etc/apt/sources.list.d/openfoam.list" Continue on from step two. |
||
October 30, 2011, 05:10 |
|
#34 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Kyle, you've got a typo: Quote:
Code:
sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu natty main > /etc/apt/sources.list.d/openfoam.list" Best regards, Bruno
__________________
Last edited by wyldckat; November 23, 2011 at 16:25. Reason: see "edit:" |
||
October 30, 2011, 08:56 |
|
#35 |
Senior Member
Nicolas Edh
Join Date: Mar 2010
Location: Uppsala, Sweden
Posts: 123
Rep Power: 18 |
Actually I did not need to change any repositories in order to compile 2.0.x on Ubuntu 11.10. With the latest git it works just fine (many thanks to mattijs!).
Just follow the instructions here http://www.openfoam.org/git.php . I had to make two small changes. 1) The scotch decomposition library need bison, so Code:
sudo apt-get install bison 2) Then to compile paraview: |
|
November 23, 2011, 11:56 |
|
#36 |
New Member
Join Date: Nov 2011
Posts: 1
Rep Power: 0 |
I think there is still a mistake in the workaround line of Chavagnatze. I think it should be
Code:
sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu natty main > /etc/apt/sources.list.d/openfoam.list" |
|
December 9, 2011, 05:34 |
Ok, so....
|
#37 |
New Member
Join Date: Jun 2010
Posts: 8
Rep Power: 16 |
Hallo, everyone...
So, I'm completely new to OpenFOAM, and relative new to Linux as well (I work with Linux at the University, but all I have to do currently is to execute some commands and stuff) I'm trying to install OpenFOAM on my desktop at home, and have Ubuntu 11.10 on it. I have read these thread a few times, but there are some many things already, that I have very confused (and have executed a lot of commands probably in a very wrong order, too). I've noticed that the answer to have OF working on this version of Ubuntu is to mix some procedures from this forum with the other one. I was wondering if someone could be kind enough to summarize all the steps one should do, in a very newbie way... I'd appreciate that! Thanks! |
|
December 9, 2011, 10:13 |
|
#38 | |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Quote:
|
||
December 9, 2011, 11:43 |
|
#39 |
Member
Tibor Nyers
Join Date: Jul 2010
Location: Hungary
Posts: 91
Rep Power: 17 |
Hi rosswell,
I have made a successful clean install of OF2.0.x in Ubuntu 11.10 at my home desktop recently. My mayor headache was related to ubuntu, after the updates it has made to the system after installation, I lost my input devices ... I had to revert my mouse to PS2 connection - Ubuntu doesn't fancy Asus motherboards, I guess. Back to the topic: I get OpenFoam through git. The steps I collected from this topic that should complement the official setup guide: * make sure you install bison as well * include this line - #include <stddef.h> - at the top of ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx file, where the h file inclusions reside * there was another little thing that I cant remember, the installation of paraview stopped at about 10% with an error. I googled it and found that another paraview file needs an additional line. I just realized I installed ThirdParty-2.0.0 not the 2.0.1 version, so this may not arise with the newer one. Just noticed that Nicolas collected these steps ... Good luck! |
|
December 14, 2011, 18:21 |
|
#40 | |
New Member
Kyle Morse
Join Date: Apr 2011
Location: Georgia, USA
Posts: 6
Rep Power: 15 |
Quote:
Press: CTRL+ATL+T to open a terminal. 1. Enter the following line: sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu natty main > /etc/apt/sources.list.d/openfoam.list" It will ask for your password. Type your password exactly as it is and press enter. It doesn't show what you are entering so don't be alarmed. 2. Next, enter this line: sudo apt-get update 3. Enter this line next: sudo apt-get install openfoam201 It will tell you how much disk space it will use and make references to the package security. Press the "Y" key and then press enter. OpenFoam 2.0.1 will be installed. This process will take some time. 4. Next enter: sudo apt-get install paraviewopenfoam3101 Press the "Y" key again and then press enter. This will install Paraview 3.10.1 which allows you to visualize your solutions, meshes, etc. This process may also require a large amount of time. 5. Next you must edit your bashrc file. To open it enter: gedit ~/.bashrc Scroll all the way to the bottom of the file and enter source /opt/openfoam201/etc/bashrc in a new line and save the file and exit Gedit. 6. Close the current terminal you have been using for all of the previous steps and press CTRL+ALT+T again to open another terminal. Enter: icoFoam -help An in-terminal help prompt for the OpenFoam icoFoam Solver should appear. OpenFoam is now running. Follow the GETTING STARTED Section at the bottom of this page to copy the tutorial files to your home directory and get started with the tutorials. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM vs Ubuntu 10.10 64 bit | vkrastev | OpenFOAM Installation | 12 | April 23, 2011 11:14 |
Installing OpenFOAM 1.6 on Ubuntu 10.4 | sda | OpenFOAM Installation | 5 | May 27, 2010 21:19 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |
OpenFOAM on non-English Ubuntu distribution | fabian_roesler | OpenFOAM | 3 | January 11, 2010 08:16 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |