On Fri, 3 Jul 2020 at 15:23, Zbigniew Jędrzejewski-Szmek
<zbyszek(a)in.waw.pl> wrote:
On Wed, Jul 01, 2020 at 10:24:27AM -0400, Ben Cotton wrote:
> == User Experience ==
> Users will have a new CLI tool, called flexiblas, which will allow
> them to properly switch the BLAS/LAPACK backend without administrative
> privileges and any compatibility issues.
Based on this description, the switching is done by setting some flag
in local configuration. Is there a way to set the configuration through
an environment variable? Having only "global" configuration (in the sense
of a single setting for a user) is going to make testing much harder,
and also it doesn't work for the case of multiple programs being started
independently when those programs require a different backend.
Yes, the FLEXIBLAS env variable overrides the system-wide and
user-defined backends. So, e.g.:
$ FLEXIBLAS=blis-openmp someprogram
changes the backend to Blis with OpenMP support (provided that the
flexiblas-blis-openmp subpackage is installed).
--
Iñaki Úcar