Bug#518653: Please provide a file defining OPENMPI_ARCH (similar to /usr/share/gcj/debian_defaults)

Manuel Prinz debian at pinguinkiste.de
Tue Mar 10 13:50:22 UTC 2009

Hi Daniel,

thanks for the suggestion!

Am Samstag, den 07.03.2009, 18:39 +0100 schrieb Daniel Leidert:
> For arpack it is necessary to explicitely link with -lmpi_f77 if built
> with openmpi. This cannot be done with mpi-default-dev atm (ok, I could
> check for files to detect, if we are building with libopenmpi-dev). It
> would be nice if you could provide a simple file defining
> OPENMPI_ARCH, so I just need to do:
> include /usr/share/mpi-default/debain_defaults
> ifneq (,$(findstring $(DEB_HOST_ARCH),$(OPENMPI_ARCH)))
>  ...
> endif
> or similar.

I implemented a patch that sets a variable to the default version used
on the building arch. This can be more easily done and should work for
your case. You would need to do something like this:

include /usr/share/mpi-default-dev/debian_defaults
ifneq (,$(findstring $(ARCH_DEFAULT_MPI_IMPL),openmpi))

Would this solve your problem?

I'm also not sure about the path. I put it in /u/s/mpi-default-dev since
this is the package that provides it. /u/s/mpi-default is fine with me
too. Adam, any preferences?

Best regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20090310/b45e75c2/attachment.pgp 

More information about the debian-science-maintainers mailing list