-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined symbol: ddot_ #2
Comments
This will be due to the |
That sounds like a reasonable fix.
I really don't have the opportunity to use perl much these days, and I see
you both have several quality modules on cpan. (I hadn't seen the
implementation of GraphQL. I'm looking forward to exploring that.) I'll add
you both as co-mainters, and thank you in advance for your work.
Would you be interested in taking over Module::Build::Pluggable::Fortran
and ::PDL as well?
…On Tue, Feb 22, 2022 at 9:23 PM mohawk2 ***@***.***> wrote:
This will be due to the .so not being linked with BLAS. @mvgrimes
<https://github.com/mvgrimes> Are you amenable to this module being
updated? If so, are you happy to add me and @zmughal
<https://github.com/zmughal> as collaborators on the repo, and grant us
(ETJ and ZMUGHAL) co-maint on PAUSE? I have in mind to change this thing to
use PDL::LinearAlgebra (which uses LAPACK rather than the LINPACK here) to
simplify the code.
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAWSD3OEVVFJT23WCB5U7DU4RAIPANCNFSM4KWBPL2A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thank you! If you add both of us as "collaborators" on this repo as well, that will enable us to update it here rather than have to make a fork?
Sure, why not :-) |
@mvgrimes Bump? |
Thanks for the reminder. I've made both you and @zmughal collaborators on the repos and co-maintainers on cpan. |
Thank you! BaT's
Notes on converting this to use LAPACK:
64-bit notes: PDL::LinearAlgebra's use of LAPACK is currently 32-bit only, so I don't see a major benefit in worrying about that here. The |
I've added |
I've done the above stuff, and cargo-culted the LAPACK-using stuff (and the Fortran naming stuff) from PDL::LinearAlgebra, which should mean the error from this report will happen only as much as it's likely in PDL::LinearAlgebra. I've also put out a dev-release so we can see if any of this works. I am therefore closing this (thank you @eserte for the report!), but please comment if you see this still happening. |
Unfortunately https://www.cpantesters.org/cpan/report/65758d66-8f3f-11ed-8e90-f0406e8775ea shows a similar issue on one of @eserte's smokers, which is apparently a Red Hat box, but using a kernel version (6.0.8) that is beyond what https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux shows for RHEL 9 (which is kernel version 5):
I believe that to make sense of this, I'd need the output from the build, and specifically to understand what LAPACK library it found (if any) and linked to. It looks from the symbol-name that EU:F77 expects a trailing underscore, and it's not supposed to install if it can't build a simple Fortran program. |
The latest version of this module (0.29, which fixed my copy-pasting only partially from PDL::LinearAlgebra) reproduces this problem on my CentOS 7 VM, which is good news. Also good is achieving some clarity: the code calls Devel::CheckLib, which successfully tests compiling the supplied code, but does not run it due to not supplying any It really looks to me like we need an Alien::LAPACK that will capture the various bits of fiddliness in one place, rather than trying to maintain (at least) two copies. If I get to it first, then the first version will resemble Alien::Gimp and just captures configuration information, and not try to install anything (though probably not capturing that config into its own files, and instead calculating it every time, to facilitate switching LAPACK implementations). cf PDLPorters/pdl-linearalgebra#19 and PDLPorters/pdl-linearalgebra#21 and PDLPorters/pdl-linearalgebra#15 |
The test suite fails on some of my smoker systems --- it seems that mostly Ubuntu is affected (xenial, bionic, eoan):
The text was updated successfully, but these errors were encountered: