[Debian-med-packaging] Bug#1056681: build-depends on atlas, which is obsolete and scheduled for removal

Andreas Tille andreas at an3as.eu
Wed Nov 29 10:53:38 GMT 2023


Control: tags -1 help

[Ritika Ramani in CC to inform that Debian tries to get rid of Atlas
 which also affects phast. see https://bugs.debian.org/1056681]

Hi,

I tried to replace clapack by LAPACKE.  Unfortunately this is not a
drop-in replacement.  As you can see in the raw(! normal log is to
long!) build log on Salsa[1] when seeking for the string
  too few arguments to function
you see

...
phast_eigen.c: In function 'mat_diagonalize':
phast_eigen.c:62:3: error: too few arguments to function 'dgeev_'
   62 |   dgeev_(&jobvl, &jobvr, &n, tmp, &n, wr, wi, vl,
      |   ^~~~~~
In file included from /usr/include/lapack.h:11,
                 from /builds/med-team/phast/debian/output/source_dir/src/../include/phast/external_libs.h:43,
                 from /builds/med-team/phast/debian/output/source_dir/src/../include/phast/vector.h:19,
                 from /builds/med-team/phast/debian/output/source_dir/src/../include/phast/matrix.h:18,
                 from /builds/med-team/phast/debian/output/source_dir/src/../include/phast/eigen.h:18,
                 from phast_eigen.c:18:
/usr/include/lapack.h:1828:6: note: declared here
 1828 | void LAPACK_dgeev_base(
      |      ^~~~~~~~~~~~~~~~~
phast_eigen.c: In function 'mat_eigenvals':
phast_eigen.c:199:3: error: too few arguments to function 'dgeev_'
  199 |   dgeev_(&jobvl, &jobvr, &n, tmp, &n, wr, wi, NULL,
      |   ^~~~~~
...


Seems the LAPACKE function is differently defined than the clapack
function.  Any help is really appreciated.

Note: There might be a chance to define SKIP_LAPACK and by doing so do
not build with some performance drain.  However, I'd prefer if we could
provide phast with the speed users might expect.

Kind regards
   Andreas.
[1] https://salsa.debian.org/med-team/phast/-/jobs/4979980/raw

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list