Lapack with v 5.15.0



Leo Butler wrote:
> 
> On Wed, 11 Jun 2008, Billinghurst, David (RTATECH) wrote:
> < > My guess is that you have no rights to write to maxima directory.
> < > Do you install maxima in the system directory? The problem is 
> < > that under first time loading of lapack the program tries to 
> < > compile all lapack routines and to write them in maxima 
> < > lapack dir. If you are the owner of your PC you could do 
> < > chown -fR leo:leo /usr/share/maxima (or something like this).
> < > Otherwise please install it in your home dir. Or ask 
> < > superuser to load lapack
> < 
> < Should we do this as part of "make install"?
> 
> Thanks, yes, it was a permissions problem. I installed maxima as root and try to 
> run maxima as a regular user. 
> 
> It strikes me that compilation of source code is properly part of the 
> installation process.

For the core parts of maxima, I would agree.  However, this is a share 
package, so it's not so clear to me.

Since the lapack code is compiled using mk:defsys, we can easily modify 
it to save the binaries in some temp directory.

Or an alternative solution would be to use some function to load lapack 
so we can supply some options on whether to compile (or just load) the 
files, and where to save the compiled files.

Ray