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

Re: Bits about Intel MKL packaging -- Higher Priority than OpenBLAS



On Sun, 2018-04-29 at 21:50 +0200, Sébastien Villemot wrote:
> On Sun, Apr 29, 2018 at 09:18:08AM +0800, Drew Parsons wrote:
> 
> > The discussion raises a separate question.  Suppose the
> > administrator
> > does make OpenBLAS the preferred alternative for the system, but an
> > individual user prefers to use IntelMKL. How should the user
> > configure
> > this (for the generic blas.so.3 symbols, not recompiling explicitly
> > against the specific library) ?  Set up symlinks in a local dir and
> > point to that dir with LD_LIBRARY_PATH ?
> 
> Using LD_LIBRARY_PATH is indeed the easiest way to switch between
> BLAS
> implementations on a per-user basis (since each one of them has a
> specific
> subdir under /usr/lib/${DEB_HOST_MULTIARCH}/). So the same should
> probably be
> done for MKL.
> 

That makes sense. No extra work required (apart from setting
LD_LIBRARY_PATH) if the different blas implementations are already
located in their own subdirs.

Drew




Reply to: