public inbox for gentoo-cluster@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-cluster] eselect-mpi and boost mpi
@ 2008-06-12 23:59 Bryan Green
  2008-06-13  7:04 ` Alli Quaknaa
  2008-06-13 21:29 ` Bryan Green
  0 siblings, 2 replies; 5+ messages in thread
From: Bryan Green @ 2008-06-12 23:59 UTC (permalink / raw
  To: gentoo-cluster

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.

Thanks,
-bgreen

-- 
gentoo-cluster@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-cluster] eselect-mpi and boost mpi
  2008-06-12 23:59 [gentoo-cluster] eselect-mpi and boost mpi Bryan Green
@ 2008-06-13  7:04 ` Alli Quaknaa
  2008-06-13 17:42   ` Bryan Green
  2008-06-13 21:29 ` Bryan Green
  1 sibling, 1 reply; 5+ messages in thread
From: Alli Quaknaa @ 2008-06-13  7:04 UTC (permalink / raw
  To: gentoo-cluster

Isn't it /etc/portage/profile/package.provided? At least on my system it is ;)
al-Quaknaa
-- 
gentoo-cluster@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-cluster] eselect-mpi and boost mpi
  2008-06-13  7:04 ` Alli Quaknaa
@ 2008-06-13 17:42   ` Bryan Green
  0 siblings, 0 replies; 5+ messages in thread
From: Bryan Green @ 2008-06-13 17:42 UTC (permalink / raw
  To: gentoo-cluster

"Alli Quaknaa" writes:
> Isn't it /etc/portage/profile/package.provided? At least on my system it is ;
> )

Ah, you are correct sir.  :)

Thanks.
-bryan

-- 
gentoo-cluster@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-cluster] eselect-mpi and boost mpi
  2008-06-12 23:59 [gentoo-cluster] eselect-mpi and boost mpi Bryan Green
  2008-06-13  7:04 ` Alli Quaknaa
@ 2008-06-13 21:29 ` Bryan Green
  2008-06-13 21:31   ` [gentoo-cluster] " Justin Bronder
  1 sibling, 1 reply; 5+ messages in thread
From: Bryan Green @ 2008-06-13 21:29 UTC (permalink / raw
  To: gentoo-cluster

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

-- 
gentoo-cluster@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-cluster] Re: eselect-mpi and boost mpi
  2008-06-13 21:29 ` Bryan Green
@ 2008-06-13 21:31   ` Justin Bronder
  0 siblings, 0 replies; 5+ messages in thread
From: Justin Bronder @ 2008-06-13 21:31 UTC (permalink / raw
  To: gentoo-cluster

[-- Attachment #1: Type: text/plain, Size: 1770 bytes --]

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 #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-13 21:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-12 23:59 [gentoo-cluster] eselect-mpi and boost mpi Bryan Green
2008-06-13  7:04 ` Alli Quaknaa
2008-06-13 17:42   ` Bryan Green
2008-06-13 21:29 ` Bryan Green
2008-06-13 21:31   ` [gentoo-cluster] " Justin Bronder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox