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

failed to install openFoam 1.6ext

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By mary mor

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2013, 10:32
Default failed to install openFoam 1.6ext
  #1
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12
mary mor is on a distinguished road
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
Attached Files
File Type: gz make.log.tar.gz (20.4 KB, 2 views)
File Type: gz log.AllMake.tar.gz (1.3 KB, 2 views)
mary mor is offline   Reply With Quote

Old   November 23, 2013, 10:50
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
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
__________________
wyldckat is offline   Reply With Quote

Old   November 23, 2013, 12:37
Default
  #3
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12
mary mor is on a distinguished road
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
The other thing seems to be wrong is that it says Couldn't find package libstdc++5 which I ignored it in the process of installing

Best regards
mary mor is offline   Reply With Quote

Old   November 23, 2013, 15:32
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
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
__________________
wyldckat is offline   Reply With Quote

Old   November 24, 2013, 06:41
Default
  #5
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12
mary mor is on a distinguished road
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
mary mor is offline   Reply With Quote

Old   November 24, 2013, 07:12
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
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
__________________
wyldckat is offline   Reply With Quote

Old   November 24, 2013, 14:45
Default
  #7
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12
mary mor is on a distinguished road
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
in sources.list as mentioned in page: http://openfoamwiki.net/index.php/FA..._on_Ubuntu_.3F
after that running:
Code:
apt-get install git-core libstdc++5
Best
Maryam
wyldckat likes this.
mary mor is offline   Reply With Quote

Old   December 11, 2013, 17:12
Default
  #8
Member
 
Join Date: Aug 2013
Posts: 60
Rep Power: 12
sur4j is on a distinguished road
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
I left it for a while and then ran it again and nothing happened then I ran the command:

Code:
gedit log.AllMake
And got a log with the folowing errors:

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.
I dont know what to do, I have tried to rerun the command but nothing is happening. I would really appreciate some help with this.

Thanks.
sur4j is offline   Reply With Quote

Old   December 14, 2013, 02:42
Default
  #9
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12
mary mor is on a distinguished road
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
mary mor is offline   Reply With Quote

Old   December 15, 2013, 01:52
Default
  #10
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
as maryam said:
Quote:
aybe the inconsistency in .bashrc file make this problem because you call another version of openFoam too.
you should source your extended version at bashrc, you can differ between version with alias for example
Quote:
alias of221='. /opt/........'
alias of16ext='./ ......../'
then every time you open the terminal you should recall your version with of221 or of16ext
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 02:16.