openblas - cblas

Dima Pasechnik dimpase+freebsd at gmail.com
Sat Jan 25 18:16:40 UTC 2020


On Sat, Jan 25, 2020 at 4:03 PM Thierry Thomas <thierry at freebsd.org> wrote:
>
> Le mer. 22 janv. 20 à 16:48:43 +0100, Jan Beich <jbeich at FreeBSD.org>
>  écrivait :
> > ajtiM via freebsd-ports <freebsd-ports at freebsd.org> writes:
> >
> > > It is impossible to update ports because there are a conflic with
> > > openblas and cblas - installs files in the same place.
> >
> > math/openblas exposed its own CBLAS API which is a superset of
> > math/cblas with extensions. For example, some consumers want
> > openblas_set_num_threads().
> >
> > In short, deinstall math/cblas.
>
> Openblas does not totally replace cblas. E.g. science/code_saturne fails
> without cblas: undefined reference to `cblas_ddot'


openblas may be built so that it includes cblas_ functions
traditionally available from a separate
libcblas.
E.g. that's what some Linux distros, e.g. Debian do:

$ nm -D /usr/lib/x86_64-linux-gnu/libopenblas.so | grep cblas_ddot
000000000010d040 T cblas_ddot



>
> Since there is a conflict, Code_saturne is now broken.
> --
> Th. Thomas.


More information about the freebsd-ports mailing list