Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-cluster
Navigation:
Lists: gentoo-cluster: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-cluster@g.o
From: Justin Bronder <jsbronder@g.o>
Subject: Re: eselect-mpi and boost mpi
Date: Fri, 13 Jun 2008 17:31:42 -0400

 1.1

On 13/06/08 14:29 -0700, Bryan Green wrote:
> Bryan Green writes:
> > Hello,
> > 
> > Now that I am using empi/eselect-mpi, I would like to install boost-1.35.0
> > with its MPI library (it has an 'mpi' use flag).
> > When I try to emerge it, it trys to pull in sys-cluster/openmpi as a
> > dependency.  I tried adding sys-cluster/openmpi to
> > /etc/portage/package.provided, but for some reason that does not work.
> > 
> > Any suggestions on how to get boost-mpi to build against my eselected
> > MPI?  I also wonder if it would really be necessary build a version of boost
> > for each MPI package installed, using 'empi --add ...'.  That seems like
> > overkill.
> 
> Having added openmpi to /etc/portage/profile/package.provided,
> I can emerge boost with mpi, but the mpi autodetect fails during the
> compilation with this message:
> 
> MPI auto-detection failed: unknown wrapper compiler mpic++
> 
> The same occurs if I run 'ebuild ... compile'.
> But if I run the same command as root from the resulting /var/tmp/.../work
> directory, the detection is successful.
> 
> Any ideas what might be going on here?  What part of the ebuild environment
> changes such that it does not see mpic++ anymore?
> 
> -bryan
> 

I haven't looked at this, but if you only have openmpi as installed by empi,
then that's the missing part.  The emerge environment isn't getting the
variables set with eselect-mpi.

Also, if boost is actually linking against mpi, then you will need to get an
mpi.eclass enabled ebuild to use it, which does mean building it for each
implementation you have installed.

I can take a look at the ebuild this weekend or early next week, and
hopefully a port wouldn't be too much work.

-- 
Justin Bronder
Attachment:
pgpXZlffbZDl8.pgp (PGP signature)
References:
eselect-mpi and boost mpi
-- Bryan Green
Re: eselect-mpi and boost mpi
-- Bryan Green
Navigation:
Lists: gentoo-cluster: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: eselect-mpi and boost mpi
Next by thread:
[dcoburn@...: RE: Linux/Cluster/Grid Project Leader]
Previous by date:
Re: eselect-mpi and boost mpi
Next by date:
Re: eselect-mpi issues


Jul 24, 2008

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.