On Sat, Jul 19, 2008 at 5:39 PM, Ólafur Jens Sigurðsson <[EMAIL PROTECTED]> wrote: > On Sat, Jul 19, 2008 at 05:29:27PM +0200, Ondrej Certik wrote: >> On Sat, Jul 19, 2008 at 5:26 PM, Ólafur Jens Sigurðsson >> <[EMAIL PROTECTED]> wrote: >> > On Sat, Jul 19, 2008 at 04:47:04PM +0200, Ondrej Certik wrote: >> >> Yes, I hit this problem too, it's because of upgrading from lam to >> >> openmpi. Purge lam, openmpi and all other mpi packages (mpich). >> >> Then delete all links and alternatives, even by hand if necessary. >> >> Install openmpi and make sure the links point to openmpi. >> >> >> >> Or change it by hand. Please report back if it works. See also this >> >> bug for more background: >> >> >> >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457088 >> > >> > Ok, just by changing the symbolic link in /etc/alternatives/mpi to >> > point to /usr/lib/openmpi/include fixed my problem and now it compiles >> > fine. >> >> Ok, I am closing the bug. > > Isn't it possible to force the alternative to point to openmpi? Issue > update-alternatives --set mpi /usr/lib/openmpi/include in the > pre-install or something like that? And of course make a note of it in > the README.
Please read the bug I sent the link to, it was discussed in there. It's an openmpi's problem. Ondrej

