[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#573187: transition: mpi-defaults



On 06/04/10 at 21:01 -0500, Pavan Balaji wrote:
> 
> Sorry, never mind my previous email.
> 
> Lucas Nussbaum wrote:
> >We would like to switch to using mpich2 on the arches where openmpi is
> >not supported, but some packages fail to build from source when using
> >mpich2. It seems that for some of them, it is caused by build systems
> >expecting to find mpi.h in /usr/lib/mpich2/include/ (as it is the case
> >for other MPI implementations), while it is shipped in
> >/usr/include/mpich2/.
> 
> By default, mpi.h should installed in $prefix/include, which seems
> to be what you need (prefix = /usr/lib/mpich2). So, unless you give
> an --includedir option to configure, this should work the way you
> expect it to. Maybe I'm not understanding the problem correctly
> here?

We are currently using prefix=/usr and includedir=/usr/include/mpich2,
so libs get installed directly in /usr/lib, and header files are in
/usr/include/mpich2.

We could use includedir=/usr/lib/mpich2/include, but I'm still not sure
that this is the correct way to solve that problem, instead of fixing
the build systems to be more tolerant about the location of MPI header
files.
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Reply to: