How to get a 90% working LAPACK:
------------------------------------

Download squeak6.0 from squeak.org
get latest updates, FFI, and OS Access
After a few failures and web searches the most up to
date instructions are on the github wiki and not the
squeaksource wiki
so as per the instructions there do in a workspace:
"In Squeak"
Installer ss
       project: 'MetacelloRepository';
       install: 'ConfigurationOfSmallapack'.
((Smalltalk at: #ConfigurationOfSmallapack) project version: #development) load.

At this point it fails the initialisation of Alien-RonieSalgado.40
Then I clicked abandon at this point.
If like me you do it again by accident and then at the same failure you
say proceed with new version it somehow loads OK.

On the latest macos there are no blas or lapack libraries that can be copied
to the Squeak image directory.
So I used macports and installed openblas and lapack
Then I copied libopenblas.dylib to the Squeakxxx.app/Contents/Resources 
directory 
but renamed it to libcblas.dylib and also libblas.dylib.
Then the same for lapack.dylib
Now open the test runner and at the bottom there is the smallapack test suite
TestCBlas does 46 passes & 2 failures
TestLapackMatrix 21 passes & 6 errors
 Lucky for me the Lapack SVD is passing. So good enough to try
 a fitting algorithm.
_______________________________________________
Beginners mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to