public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Choice of an external blas lib
@ 2021-03-19  9:29 Olivier Cessenat
       [not found] ` <5790211c-8bc8-ccda-266d-66d971155fd6@colorado.edu>
  0 siblings, 1 reply; 2+ messages in thread
From: Olivier Cessenat @ 2021-03-19  9:29 UTC (permalink / raw)
  To: gsl-discuss

Dear GSL developers,

If one of you could modify the configure script so that it becomes easy 
to select an external cblas as has been done in "spack" for gsl 2.3 to 
2.5 it would be very nice.

Thanks a lot,

Olivier Cessenat




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Choice of an external blas lib
       [not found] ` <5790211c-8bc8-ccda-266d-66d971155fd6@colorado.edu>
@ 2021-03-19 20:26   ` Olivier Cessenat
  0 siblings, 0 replies; 2+ messages in thread
From: Olivier Cessenat @ 2021-03-19 20:26 UTC (permalink / raw)
  To: Patrick Alken, gsl-discuss

Ok, that's genious ! Thank you for explaining it to me, I had missed 
that point.

Just thinking aloud : so with spack that means the +external-cblas 
option is of no interest.

One can either [assuming depends_on('blas', when='+blas') and 
depends_on('gsl', when='+gsl')]

spack install mypackage+blas+gsl ^gsl ^myblas

or

spack install mypackage~blas+gsl ^gsl

with an internal spec:

<< mypackage/package.py : something like:

             if self.spec.satisfies('+gsl~blas'):
                 env.append_flags('LDLIBS', '-lgslcblas')

 >>

Cheers,

Olivier Cessenat

Le 19/03/2021 à 17:52, Patrick Alken a écrit :
> This is done at link time, not compile time. You can link your program
> with any cblas library of your choice
>
> On 3/19/21 3:29 AM, Olivier Cessenat wrote:
>> Dear GSL developers,
>>
>> If one of you could modify the configure script so that it becomes
>> easy to select an external cblas as has been done in "spack" for gsl
>> 2.3 to 2.5 it would be very nice.
>>
>> Thanks a lot,
>>
>> Olivier Cessenat
>>
>>
>>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-19 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19  9:29 Choice of an external blas lib Olivier Cessenat
     [not found] ` <5790211c-8bc8-ccda-266d-66d971155fd6@colorado.edu>
2021-03-19 20:26   ` Olivier Cessenat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).