Skip to content
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

mir/lapack.d(205): Assertion failure #58

Open
CyberShadow opened this issue Dec 2, 2024 · 0 comments
Open

mir/lapack.d(205): Assertion failure #58

CyberShadow opened this issue Dec 2, 2024 · 0 comments

Comments

@CyberShadow
Copy link

CyberShadow commented Dec 2, 2024

The included example links on NixOS master from 2024-01-01, but, when run, crashes as follows:

$ nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/0ef56bec7281e2372338f2dfe7c13327ce96f6bb.tar.gz --pure -p dub -p dmd -p openblas --run 'dub'
    Starting Performing "debug" build using dmd for x86_64.
  Up-to-date mir-core 1.7.1: target for configuration [library] is up to date.
  Up-to-date mir-algorithm 3.22.1: target for configuration [default] is up to date.
  Up-to-date mir-blas 1.1.17: target for configuration [library] is up to date.
  Up-to-date mir-lapack 1.2.12: target for configuration [library] is up to date.
  Up-to-date lubeck ~master: target for configuration [library] is up to date.
  Up-to-date example ~master: target for configuration [executable] is up to date.
    Finished To force a rebuild of up-to-date targets, run again with --force
     Running example 
 ** On entry to  DGESV parameter number  7 had an illegal value
core.exception.AssertError@../../../../.dub/packages/mir-lapack/1.2.12/mir-lapack/source/mir/lapack.d(205): Assertion failure
----------------
??:? _d_assertp [0x483d1c]
../../../../.dub/packages/mir-lapack/1.2.12/mir-lapack/source/mir/lapack.d:205 pure nothrow @nogc @trusted ulong mir.lapack.gesv!(double).gesv(mir.ndslice.slice.mir_slice!(double*, 2uL, 1).mir_slice, mir.ndslice.slice.mir_slice!(int*, 1uL, 2).mir_slice, mir.ndslice.slice.mir_slice!(double*, 2uL, 1).mir_slice) [0x472e74]
../source/kaleidic/lubeck.d:582 pure @safe mir.ndslice.slice.mir_slice!(double*, 2uL, 2).mir_slice kaleidic.lubeck.mldivide!(int*, 2, double*, 2).mldivide(mir.ndslice.slice.mir_slice!(int*, 2uL, 2).mir_slice, mir.ndslice.slice.mir_slice!(double*, 2uL, 2).mir_slice) [0x46e194]
source/app.d:20 _Dmain [0x46a918]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant