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))
...
endif

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
Manuel

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to