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

problem with parmetis-3.1.1 installation for openfoam 1.6-ext

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2012, 09:24
Default problem with parmetis-3.1.1 installation for openfoam 1.6-ext
  #1
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 14
achyutan is on a distinguished road
Hello,

I am currently using OF 2.0.1. I have been unsuccessfully trying to install 1.6-ext (in addition to 2.0.1) for few days now. I am using ubuntu natty.
In Thirdparty stage3 compilation, parmetis-3.1.1 is not getting installed for unknown reasons. As suggested in previous threads, I downloaded separately parMetis-3.1.1.tar.gz into ThirdPatry/rpmBuild/SOURCES. Stil, getting the same errors with parmetis installation.
I have attached the log file of stage 3 compilation for reference.
I kindly request help in this regard.

thanks,
Attached Files
File Type: zip log.AllMake.zip (2.9 KB, 3 views)
achyutan is offline   Reply With Quote

Old   October 17, 2012, 08:43
Default
  #2
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 14
achyutan is on a distinguished road
I am still waiting for some help so that I can install OF1.6-ext as soon as possible.

I kindly seek a quick help.

any further detail needed ?
achyutan is offline   Reply With Quote

Old   October 18, 2012, 04:54
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Greetings achyutan and welcome to the forum!

I moved this thread to the installation sub-forum. If questions aren't asked in the right sub-forums, the chances of getting a timely answer can drop considerably

How are you keeping OpenFOAM installations separated? Are you using aliases for handling each separate OpenFOAM environment?
If you don't understand what I mean, check this blog post: Advanced tips for working with the OpenFOAM shell environment

As for the building log, it looks like you're using the system's MPI library, which seems to somehow be incompatible with ParMetis. Try switching to the MPI library that 1.6-ext uses by default.

By the way, which installation instructions are you following?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 18, 2012, 07:32
Default
  #4
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 14
achyutan is on a distinguished road
Yes, I am using aliases separately for 2.0.1 and 1.6-ext. I have been using 2.0.1 for sometime now ; so I have a decent experience in this.
I thought system's MPI is being used by default as I had not made any changes in mpi specification in prefs.sh inside OpenFOAM-1.6-ext/etc. I have attached the prefs.sh.zip file here.

Could you tell me how to switch to the mpi meant for 1.6-ext ?

I am following the instructions given in :http://openfoam-extend.git.sourcefor...4.3_32-bit.txt
and the one found in OpenFoam website under installation using git repository.

@Bruno : thanks for that kind help. I would have it mind from next time to post under appropriate sub-forums.

regards
Attached Files
File Type: zip prefs.sh.zip (2.0 KB, 6 views)
achyutan is offline   Reply With Quote

Old   October 18, 2012, 17:07
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 achyutan,

Try running this command:
Code:
ls -l $WM_THIRD_PARTY_DIR/packages/openmpi-1.4.3/platforms/$WM_OPTIONS
If it shows a detailed list about these folders:
Code:
bin  etc  include  lib  share
then there shouldn't be any problems... unless something strange is going on
If it doesn't show anything, then check the log for "stage2".

Beyond this, I'll have to test this on a virtual machine... which I might be able to do this weekend...

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 20, 2012, 15:35
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 achyutan,

I've tested in a virtual machine with Ubuntu 11.04 (Natty) i686 installed in it and I have not been able to reproduce the error you got

Additionally, I found out it's best to follow more closely the instructions for 12.04 than the ones for 10.04. I've compiled the steps I've taken here: http://openfoamwiki.net/index.php/In...u#Ubuntu_11.04

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 22, 2012, 07:52
Default
  #7
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 14
achyutan is on a distinguished road
Hi,
Sorry for the late response. I was away during the weekend.

thanks for that info.
yes, i can find the folders - bin share lib etc include.
later, I tried out the instructions given in that link and I got the same errors regarding parmetis installation.
This time, paraview-3.12 also did not get installed during stage4. But, I already have 3.8.0 installed in my system. so that should not be a problem.

thanks for spending time in my problem. I don't know how i am facing those errors given the fact you have shown it is possible to install it in ubuntu natty.
btw, i am using ubuntu natty x86_64.
I have attached the log file for thirdpart AllMake.
could you hint at any other possible mistake i could have made?

thanks,
Attached Files
File Type: zip log.AllMake.zip (3.3 KB, 5 views)
achyutan is offline   Reply With Quote

Old   October 22, 2012, 09:56
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Run:
Code:
which mpicc
If it is not picking the one from that other folder for openmpi-1.4.3, then that's why you're having problems. To fix this, try:
Code:
export PATH=$WM_THIRD_PARTY_DIR/packages/openmpi-1.4.3/platforms/$WM_OPTIONS:$PATH
__________________
wyldckat is offline   Reply With Quote

Old   October 23, 2012, 09:46
Default
  #9
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 14
achyutan is on a distinguished road
Hi Brunos,

yeah, it gives the proper location of mpicc : ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/bin/mpicc
I did not understand what you meant by 'the other folder for openmpi-1.4.3'. I also tried exporting the path as per your instruction, sourced the bashrc file and then ran AllMake only to get the same errors.

Did you mean : which parmetis
i thought there was no problem with installation of mpi.

thanks,
achyutan is offline   Reply With Quote

Old   October 23, 2012, 16:17
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 achyutan,

I meant to say "from that other folder on post #5", namely the one for openmpi-1.4.3.

OK, I've compared the two logs, the one you've got and the one I got and the error occurs when building the test applications. These do not refer directly to "libmpi.so" (i.e. don't have "-lmpi"), which leads me to believe that you're using another version of the ld utility. If you run the following command:
Code:
ld --version
does it show this output :
Code:
GNU ld (GNU Binutils for Ubuntu) 2.21.0.20110327
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
The first line is the most relevant one. You can also check by running this command:
Code:
ls -l $(which ld)
It should show you something like this:
Code:
lrwxrwxrwx 1 root root 6 2012-10-20 14:56 /usr/bin/ld -> ld.bfd
If it does not, then it's because you're using a non-standard ld utility, which would explain the problems you're having!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 25, 2012, 06:39
Default
  #11
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 14
achyutan is on a distinguished road
Hi Bruno,

I tried those commands. It gave proper output as expected ; ld utility seems to be standard one.

I removed 1.6-ext completely from the system and tried to begin all over again. I got stuck with the same errors at stage 3 of thirdParty compilation.

thanks,
achyutan is offline   Reply With Quote

Old   October 26, 2012, 19:18
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 achyutan,

I suggest that you try continuing with the instructions and build OpenFOAM itself as well. Some of OpenFOAM's decomposition related libraries won't build, but most of it should build.

But I suspect that there will be more problems than the ones related to those decomposition libraries, because the error given for ParMetis seems to be related to the aforementioned ld issue.

Without being able to test this myself, the fix shown here should help: https://github.com/OpenFOAM/OpenFOAM...3e8d0e85b889d9 - in other words, the following options should be added to the mpicc building command:
Code:
-Xlinker --add-needed -Xlinker --no-as-needed
Said command seems to be in "ThirdParty/rpmBuild/BUILD/ParMetis-3.1.1/Makefile.in".

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply


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
ParaView installation problem on Suse 11.4 victorz OpenFOAM Installation 4 February 6, 2012 18:26
OpenFOAM-2.0.1 installation problem benru OpenFOAM Installation 1 September 14, 2011 10:15
Problem with Fortran installation. skarp CFX 0 August 4, 2007 08:09
Installation Problem Sundar.M Siemens 0 June 28, 2006 00:42
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07


All times are GMT -4. The time now is 14:50.