[Numpy-discussion] next NumPy community meeting - December 6th, 2023 at 6pm UTC

2023-12-03 Thread Inessa Pawson
The next NumPy community meeting will be held this Wednesday, December 6th
at 6pm UTC.
Join us via Zoom:
https://numfocus-org.zoom.us/j/83278611437?pwd=ekhoLzlHRjdWc0NOY2FQM0NPemdkZz09
.
Everyone is welcome and encouraged to attend.
To add to the meeting agenda the topics you’d like to discuss, follow the
link: https://hackmd.io/76o-IxCjQX2mOXO_wwkcpg?both.
For the notes from the previous meetings, visit:
https://github.com/numpy/archive/tree/main/community_meetings.

-- 
Cheers,
Inessa

Inessa Pawson
GitHub: inessapawson
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com


[Numpy-discussion] Re: Telling meson build which CBLAS/LAPACK (LAPACKE?) to use via pkgconfig module

2023-12-03 Thread Dr. Thomas Orgis
Thanks a lot for the patience and explanations.

Am Mon, 27 Nov 2023 19:59:13 +0100
schrieb Ralf Gommers :

> You have to go through a "build frontend" to produce a wheel, which then
> gets installed/repackaged for your distro.

This is obviously happening in pkgsrc.

> > The build output starts with
> >
> > * Building wheel...

I only need to add those -C-Dblas= parameters at the correct place.

> > … so some wrapped call to a vendored copy of meson that NumPy ships.
> >  
> 
> Yes, we need that for extra BLAS/LAPACK and SIMD related functionality that
> is still in the process of being upstreamed into Meson.

… and I dream of the world where BLAS is 'just a library' without any
special support in build systems.

> > Adding -Dblas=$CBLAS_PC to that command should do the trick, no?
> > (however that is effected)
> >  
> 
> Sounds like it, assuming CBLAS_PC is the name of a library.

It's the name to give to pkg-config to identify the module for CBLAS.

> offer distinct functionality. CBLAS and LAPACKE are basically much less
> important implementation details, and typically shipped in the same library
> because they're interfaces to the exact same functionality.

Yes and no. The Netlib reference implementation comes (or at least can
be built that way) in separate pieces, the code of which is what the
optimized BLAS vendors like to use to build those combined libraries.

So in my case, CBLAS_PC can be just cblas, with the effect

$ pkg-config --libs cblas
-L/data/pkg/lib -lcblas

and

$ pkg-config --libs --static cblas
-L/data/pkg/lib -lcblas -lblas

The reference libcblas is a separate library which could be used to
wrap around any plain BLAS library. Would the meson machinery be
confused by that?

In practice, for optimized builds, you'll get all 4 pieces in one
package (openblas at least), but I'm always also dealing with the
Netlib case where CBLAS is something different from BLAS.

> dependency('blas', modules: ['cblas'])

So there's this elaborate machinery that special-cases BLAS as a
library that could (not) offer certain sets of API? Well, as long as
the dynamic libcblas is used, the base BLAS API should be transparently
avaible and those meson tests will work … ?

I'll do some testing tomorrow, at least.


Alrighty then,

Thomas


-- 
Dr. Thomas Orgis
HPC @ Universität Hamburg
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com


[Numpy-discussion] next Documentation team meeting

2023-12-03 Thread Mukulika Pahari
Hi all,

Our next Documentation Team meeting will happen on *Monday, December 4* at 
*11PM UTC*. If this time slot is inconvenient for you to join, please let me 
know in the replies or Slack and we will try to add another time slot.

All are welcome - you don't need to already be a contributor to join. If you 
have questions or are curious about what we're doing, we'll be happy to meet 
you!

If you wish to join on Zoom, use this (updated) link:
https://numfocus-org.zoom.us/j/85016474448?pwd=TWEvaWJ1SklyVEpwNXUrcHV1YmFJQ...

Here's the permanent hackmd document with the meeting notes (still being
updated):
https://hackmd.io/oB_boakvRqKR-_2jRV-Qjg

Hope to see you around!

Best wishes,
Mukulika
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com