Well I still have compilation issues.
First time around i got several error messages like this Code:
/usr/bin/ld: cannot find -linterfaceProperties David, can you run pitzDaily withour issues? /N |
ubuntu 11.10
One workaround to this is to load Ubuntu 11.04 and install OpenFoam. Then upgrade to Ubuntu 11.10.
|
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. |
Quote:
no clue about the cause, compilation runs fine apparently |
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? |
I am trying it right now.
|
Hey!
Well it compiles alright and I can run pisoFoam and use scotch. I'll post back if I encounter any problem. Nicolas |
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. |
works also for me, many thanks to mattijs!
regards diego |
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. |
It works now.
Thanks. Best regards, Gustavo. |
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!
|
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. |
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 |
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: Quote:
|
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" |
Ok, so....
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! |
Quote:
|
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 ... :o Good luck! |
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. |
All times are GMT -4. The time now is 15:23. |