|
[Sponsors] |
November 23, 2013, 10:32 |
failed to install openFoam 1.6ext
|
#1 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12 |
Hi,
I tried to install OpenFOAM 1.6-ext following the instructions on Wiki by source on Ubuntu 10.04 i686. But it seems not being installed due to some errors. I attach the log files here which are made after making Third Party and ./Allwmake in the main directory. Can anyone please tell me what are these errors due to? I'm afraid by repeating the procedure I face the same errors. Thanks, Best |
|
November 23, 2013, 10:50 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Maryam,
I suppose you mean these instructions: http://openfoamwiki.net/index.php/In...u#Ubuntu_10.04 According to the output files, it seems that the application rpm has not been installed, as indicated in step #1 Best regards, Bruno
__________________
|
|
November 23, 2013, 12:37 |
|
#3 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12 |
Thanks Bruno
Sorry about not mentioning the link. Yes, the command rpm is not found. When I run the command again it doesn't start installing rpm and says: Also it says libstdc++5 not found. Code:
root@maryam-desktop:~# apt-get install git-core flex bison rpm build-essential zlib1g-dev binutils-dev libstdc++5 \ > libqt4-dev qt4-dev-tools libxext-dev libxt-dev libreadline-dev libncurses-dev Reading package lists... Done Building dependency tree Reading state information... Done git-core is already the newest version. flex is already the newest version. flex set to manually installed. bison is already the newest version. zlib1g-dev is already the newest version. zlib1g-dev set to manually installed. binutils-dev is already the newest version. binutils-dev set to manually installed. E: Couldn't find package libstdc++5 Best regards |
|
November 23, 2013, 15:32 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Maryam,
I made a quick search and it seems that the missing library is part of the "universe" repository. In order to turn it on, follow these instructions: http://openfoamwiki.net/index.php/FA..._on_Ubuntu_.3F Er, only the part about adding the repository and updating apt-get Best regards, Bruno
__________________
|
|
November 24, 2013, 06:41 |
|
#5 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12 |
Thanks Bruno,
For missing library I tried the way explained in the link, but again the same error. I searched on the net and tried some other ways...still no success. For rpm I ran apt-get install rpm. It seems to install then. but I don't understand why it didn't install by the text presented in Wiki besides other libraries. For removing the compiles sources of this openfoam I tried to install is it correct to run wcleanAll in the main directory and Thirdparty folder? Thanks so much Best |
|
November 24, 2013, 07:12 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Maryam,
If rpm is now installed and working, all you have to do is to follow the instructions from step #9 at http://openfoamwiki.net/index.php/In...u#Ubuntu_10.04 This is because the building process is able to update and build what was missing from the first runs. Best regards, Bruno
__________________
|
|
November 24, 2013, 14:45 |
|
#7 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12 |
Ok thanks I skipped to step 9 and I hope this time it works.
For the missing library I installed it finally. I mention it here in case someone get into trouble. I had to add: Code:
deb http://cz.archive.ubuntu.com/ubuntu lucid-backports main universe after that running: Code:
apt-get install git-core libstdc++5 Maryam |
|
December 11, 2013, 17:12 |
|
#8 |
Member
Join Date: Aug 2013
Posts: 60
Rep Power: 12 |
Hello,
I tried to install opnefoam 1.6 ext and got to the part of the tutorial at which I had to use the third party command: Code:
./AllMake > log.AllMake 2>&1 Code:
gedit log.AllMake Code:
Error: Directory does not exist /opt/ThirdParty-2.2.1 Error: Current directory is not $WM_THIRD_PARTY_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. Thanks. |
|
December 14, 2013, 02:42 |
|
#9 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12 |
hello
are you having another version of OpenFoam installed like 2.2.1? maybe the inconsistency in .bashrc file make this problem because you call another version of openFoam too. Best regards Maryam |
|
December 15, 2013, 01:52 |
|
#10 | ||
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
as maryam said:
Quote:
Quote:
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to install OpenFOAM in Ubunt13.0 | subbu1984 | OpenFOAM Installation | 1 | October 2, 2013 08:11 |
Can someone please help me install openfoam? | ben1793 | OpenFOAM Installation | 9 | October 11, 2012 12:54 |
OpenFOAM 2.0.1-foamInstallationTest Failed on Fedora 15 x64 | Winston Wu | OpenFOAM | 5 | August 16, 2011 07:24 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 06:31 |
user defined function | cfduser | CFX | 0 | April 29, 2006 10:58 |