|
[Sponsors] |
January 11, 2011, 02:38 |
openfoam-1.6-ext on Ubuntu 10.10 Maverick
|
#1 | |||
Member
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17 |
I am trying to install the 1.6-ext version on a Ubuntu 10.10 system. I have followed the instructions provided here for lucid, simply replacing the lucid references with maverick ones, however, I am unable to get the software to install.
My repository entires look like this: Quote:
Quote:
Quote:
Cheers, R |
||||
January 11, 2011, 16:32 |
|
#2 |
Senior Member
|
http://ppa.launchpad.net/cae-team/pp...nfoam-1.6-ext/
=> openfoam-1.6-ext-dev_1.6.0-1ppa1~lucid1_amd64.deb Oliver Borm did not compile for Maverick so a sources list with maverick will not work deb http://ppa.launchpad.net/cae-team/ppa/ubuntu/ lucid main deb-src http://ppa.launchpad.net/cae-team/ppa/ubuntu/ lucid main do not forget to add non-free for libparmetis3.1 |
|
January 12, 2011, 00:45 |
|
#3 | |
Member
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17 |
Quote:
Sorry Elvis, I have tried a number of combinations of the above, but am struggling - I keep getting the same "unable to find a source package for openfoam-1.6-ext" error each time. What do I need to put into my sources list? Or should I just download the Lucid .DEB file and try running that? and what do I need to enter to start it building? Again, I followed the guide on the Wiki, and just ended up with a load of errors. I've wasted nearly 3 days on this now, and am very tempted to just write off 1.6-ext, and just concentrate on the OpenCFD 1.7.1 version. Grrrr R |
||
January 12, 2011, 14:51 |
|
#4 |
Senior Member
|
Hello rassilon,
source package!? not binary package? So you tried s.th. like sudo apt-get source openfoam-1.6-ext openfoam-1.6-ext-dev =>to get a working OpenFoam installation I just used apt-get install and edited the .bashrc if you download the sourcepackage i think you have to use dpkg-buildpackage and dpkg-deb i guess. sourcepackage has no big advantage in comparison of the original GIT-repository and compiling that git from scratch. Should be s.th. like: mkdir ~/OpenFOAM cd ~/OpenFOAM git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/OpenFOAM-1.6-ext greets elvis |
|
January 12, 2011, 14:52 |
|
#5 |
Senior Member
|
Hello rassilon,
why do you want to use OF1.6-extend? if you need GGI or have a viscoelatic Fluid (Giesekus or so) you depend on extend-Version or Dev-Version. Otherwise you can use vanilla-Version from OpenCFD. greets elvis |
|
January 12, 2011, 18:29 |
|
#6 | |
Member
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17 |
Quote:
Hi Elvis, There is a bug in the 1.7 version with using interDyMFoam and meshes created in snappyHexMesh leading to a segmentation fault if tried to run in parallel. I wanted to test to see if the same issue were present in the 1.6-ext variant, as I see that they have done some work on the OpenMPI implementation. I am happy to download and install binaries by hand, but where are they, and how do I do it? I am frustrated by the lack of clear and concise instructions. Cheers, R |
||
January 13, 2011, 18:41 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@rassilon: OK, I've got Ubuntu 10.10 as well and here is what I did:
Bruno
__________________
|
|
January 13, 2011, 23:30 |
|
#8 | |
Member
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17 |
Quote:
Cheers Bruno, That's exactly what I needed! It's all installed and running now, so I can continue with my development. Thanks. R |
||
April 28, 2011, 05:37 |
|
#9 |
New Member
lazio
Join Date: Apr 2010
Posts: 22
Rep Power: 16 |
Thanks wyldckat, your procedure helped me as well.
Please if someone can bare with a newbie, I am having trouble proceeding from here. *Firstly, installing openfoam-1.6-extend, in this way, I take it, it has already been compiled and therefore no further compilation is necessary? I have openfoam 1.7.1 installed as well, and when I run wmake on e.g. icoLagrangianFoam, I get the following error /usr/bin/ld: cannot find -llduSolvers collect2: ld returned 1 exit status *Upon inspection, wmake uses the enviromental variables for openfoam 1.7.1 and therefore I am not accessing the extend version libraries. How do I run wmake pointed to the new libraries, located in /usr/lib/OpenFoam-1.6-extend/ ? Please pity this fool... |
|
April 28, 2011, 15:20 |
|
#10 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings lrunber,
Quoting the original instructions: Quote:
Code:
alias of171='source /opt/openfoam171/etc/bashrc' Good luck! Bruno
__________________
|
||
April 28, 2011, 16:26 |
|
#11 |
New Member
lazio
Join Date: Apr 2010
Posts: 22
Rep Power: 16 |
Sincere thanks Bruno, working 100% now. In my frustration I never found that very helpful wiki. Thanks for aiding
|
|
April 28, 2011, 18:48 |
problem starting openfoam16ext
|
#12 |
New Member
khaled
Join Date: Nov 2010
Posts: 11
Rep Power: 16 |
I am trying to install OpenFOAM-1.5-dev an OpenFOAM-1.6-ext on ubuntu 10.04 Following the instructions at http://openfoamwiki.net/index.php/In...ucid_10.04_LTS. but when I want to start openfoam-1.6-ext I recive
bash: /opt/OpenFOAM-1.6-ext/bin/foamEtcFile: Aucun fichier ou dossier de ce type bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: Aucun fichier ou dossier de ce type bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: Aucun fichier ou dossier de ce type bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: Aucun fichier ou dossier de ce type bash: /opt/OpenFOAM-1.6-ext/etc/settings.sh: Aucun fichier ou dossier de ce type bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: Aucun fichier ou dossier de ce type bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: Aucun fichier ou dossier de ce type bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: Aucun fichier ou dossier de ce type can any one help me |
|
April 30, 2011, 02:28 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Khaled,
OK, it seems to me that you didn't read the previous posts. Anyway, here's what you should do:
Best regards, Bruno
__________________
|
|
May 3, 2011, 15:35 |
|
#14 |
New Member
khaled
Join Date: Nov 2010
Posts: 11
Rep Power: 16 |
Dear wyldckat
thanks a lot for your reply; I do the proposed correction on the bashrc but the error yet and I recive the response ?? can you help me |
|
May 5, 2011, 16:27 |
|
#15 |
New Member
Michael B Martell Jr
Join Date: Feb 2010
Location: Amherst, MA
Posts: 18
Rep Power: 16 |
I too am attempting to run 1.7.1 and 1.6-ext on the same (Suse 11.4) machine. My .bashrc is clean (free of FOAM references) and yet if I execute the 1.6-ext bashrc "by hand" from the etc/ folder I get the same problem.
It seems to be that there are certain environment variables that were set by my previous 1.7.1 install that are not being unset / overwritten when I source the 1.6-ext bashrc. I will try to unset these by hand and re-execute the 1.6-ext bashrc. I'll post an update if that works. Any suggestions? Thanks. |
|
May 5, 2011, 16:41 |
Fixed it, at least for me
|
#16 |
New Member
Michael B Martell Jr
Join Date: Feb 2010
Location: Amherst, MA
Posts: 18
Rep Power: 16 |
Everyone,
It turns out that the offending variable was $FOAM_INST_DIR. For me, unsetting this variable just before I source my bashrc of choice works. Now I can quickly edit my ~/.bashrc to reflect the install I want. This of course would also work with the shortcut method described above. A snippet from the relevant section of my ~/.bashrc file: Code:
unset FOAM_INST_DIR source /opt/openfoam171/etc/bashrc #source /home/mmartell/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc Mike |
|
May 6, 2011, 15:42 |
|
#17 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Khaled and Michael,
Why do I get the feeling that my post #13 is too complicated I tried to keep it simple and easy to understand @Khaled: Have you managed to fix the problem yet? If not, does Michael's solution, or the one I'm writing below, work for you? @Michael: Instead of sourcing your "~/.bashrc" file every time you need to change OpenFOAM version, you can change your lines: Code:
unset FOAM_INST_DIR source /opt/openfoam171/etc/bashrc #source /home/mmartell/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc Code:
alias of171='unset FOAM_INST_DIR; source /opt/openfoam171/etc/bashrc' alias of16ext='unset FOAM_INST_DIR; source /home/mmartell/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc' Then you can simply run of171 or of16ext on the command line, depending on the OpenFOAM version/variant you want to use, without having to change "~/.bashrc" whenever you want to change versions! Although I advise you to use different terminal windows whenever you need to use the other OpenFOAM version/variant! Best regards, Bruno
__________________
|
|
May 6, 2011, 15:58 |
|
#18 |
New Member
Michael B Martell Jr
Join Date: Feb 2010
Location: Amherst, MA
Posts: 18
Rep Power: 16 |
Bruno,
Thanks for the explication. I was aware of and understood your previous post, and have since implemented the idea. I was more interested in the cause behind the problem, i.e. the FOAM_INST_DIR variable and how to fix it. The proper way to fix it would be to edit the 1.6-ext bashrc, but this is a quick workaround. Regards, Mike |
|
May 11, 2011, 10:42 |
openfoam-1.5-dev
|
#19 |
New Member
khaled
Join Date: Nov 2010
Posts: 11
Rep Power: 16 |
I Thank you Bruno, I am attempting to run 1.7.1 and 1.6-ext on Ububtu 10.04 (My .bashrc is clean from openfoam (free of FOAM references)).
I tried Michael's solution and the your solution (adding to my ~/.bashrc file): alias of171="unset FOAM_IST_DIR; source /opt/openfoam171/etc/bashrc" alias of15dev="unset FOAM_IST_DIR; source /usr/lib/OpenFOAM-1.5-dev/etc/bashrc" but I get the same problem only when I use the of15dev alias. |
|
May 11, 2011, 11:42 |
|
#20 |
New Member
Michael B Martell Jr
Join Date: Feb 2010
Location: Amherst, MA
Posts: 18
Rep Power: 16 |
Khaled,
Did you make sure to re-source your .bashrc after making these changes? If so, would you please copy the error messages you get when you run 'of15dev'? Thanks, Mike |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 | electrosin | OpenFOAM Installation | 40 | May 31, 2016 06:11 |
Error in apt-get update for installation of OpenFoam 1.7.1 on Ubuntu 10.10 | StuntedChicken | OpenFOAM Installation | 1 | January 9, 2011 11:43 |
paraview does not work on ubuntu 10.10 maverick | sebonator | OpenFOAM | 2 | December 18, 2010 11:33 |
Installing OpenFOAM 1.6 on Ubuntu 10.4 | sda | OpenFOAM Installation | 5 | May 27, 2010 21:19 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |