load(lapack);



Hello,
I have a problem with the lapack package.  I try to load the lapack package with

$ maxima
Maxima 5.29.1 http://maxima.sourceforge.net
using Lisp SBCL 1.1.3.nixos
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) load(lapack);

and I get the following error:

; compiling file
"/nix/store/lrryaf5n0ldyp8zd4rivalnggbg9sap6-maxima-5.29.1/share/maxima/5.29.1/share/lapack/lapack/dgesvd.lisp"
(written 01 JAN 1970 01:00:01 AM):
; compiling (IN-PACKAGE :LAPACK)
; compiling (LET* (# #) ...)Heap exhausted during garbage collection:
0 bytes available, 32 requested.
 Gen StaPg UbSta LaSta LUbSt Boxed Unboxed LB   LUB  !move  Alloc
Waste   Trig    WP  GCs Mem-age
   0:     0     0     0     0     0     0     0     0     0        0
  0 10737418    0   0  0.0000
   1:     0     0     0     0     0     0     0     0     0        0
  0 10737418    0   0  0.0000
   2: 29828 29816     0     0  5445 10441    14     0     0 465420832
55590368 10737418    0   0  0.9210
   3:  8669  8668     0     0  1967   281     0     0    66 72427840
1234624  2000000 1875   0  0.3098
   4:     0     0     0     0     0     0     0     0     0        0
  0  2000000    0   0  0.0000
   5:     0     0     0     0     0     0     0     0     0        0
  0  2000000    0   0  0.0000
   6:     0     0     0     0  2257   282     0     0     0 83197952
  0  2000000 2191   0  0.0000
   Total bytes allocated    = 973161248
   Dynamic-space-size bytes = 1073741824
GC control variables:
   *GC-INHIBIT* = true
   *GC-PENDING* = in progress
   *STOP-FOR-GC-PENDING* = false
fatal error encountered in SBCL pid 2496(tid 140737354098432):
Heap exhausted, game over.

Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb> ^C


Now if I restart maxima I get the following error.

$ maxima
fatal error encountered in SBCL pid 3457:
can't load .core for different runtime, sorry


Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb>

I get the same behavior on two architecture:
  - OSX (maxima installed with macports);
  - NixOS (a paradoxal linux distribution: http://nixos.org/).

On NixOS I can recover from this situation by removing the directory
~/maxima.core.

On OSX I was not able to recover from this problem so far.
I removed ~/maxima.core as well and I uninstalled and then reinstalled
sbcl and maxima but I still get the same error.

Any help appreciated.
Thanks,
Marco