Re: Trouble running matlisp on Ubuntu with Allegro

Eric Timmons <[email protected]> Wed, 25 May 2011 19:13:35 -0400
Newsgroups gmane.lisp.matlisp.user
Message-ID <[email protected]>
I can definitely write something up on how to install on Windows. My 
solution was a little hackish so expect to see something once I've gone 
back to try and make it better.

I am using the full version of Allegro 8.1 on both the Windows and 
Ubuntu machines.

-Eric

On 5/24/2011 11:06 AM, Raymond Toy wrote:
>>>>>> "Eric" == Eric Timmons<[email protected]>  writes:
>
>      Eric>  Hi all,
>      Eric>  I've managed to get matlisp working on windows, but I also need to get
>
> That's fantastic!  I've never personally done that and wasn't really
> expecting the current version to build on windows.  Did you need to do
> anything special?  If so, can you provide some hints on how to do
> that?  Or better yet, if you have a sourceforge account, edit the trac
> page for matlisp at http://sourceforge.net/apps/trac/matlisp.
>
>      Eric>  it working on a linux distro as well. Specifically I'm working on Ubuntu
>      Eric>  10.04 with allegro CL 8.1 (64-bit if that matters).
>
> IIRC, the free Allegro limits are too low to build matlisp.  Are you
> using the full version?
>
>      Eric>  I got the latest version of matlisp from git and followed the
>      Eric>  instructions in the INSTALL file. I noticed some bugs while compiling,
>      Eric>  though. The makefile attempted to install LAPACK before BLAS and it
>      Eric>  (understandably) got unhappy about that. I fixed that, then I noticed
>
> I'll look into that and fix it soon.
>
>      Eric>  that the file libmatlisp.so wasn't actually generated so I had to change
>      Eric>  lazy-loader.lisp to load libblas.so, liblapack.so, libdfftpack.so, and
>      Eric>  libtoms715.so.
>
> Yes, that's correct.  I don't have a way to test with acl, so that
> part no longer works with acl.  The new structure doesn't generate
> libmatlisp.so anymore; you loaded the correct files.
>
> Patches would be most appreciated for this.
>
>      Eric>  After making those changes, I loaded start.lisp from Allegro. There were
>      Eric>  some compile warnings, but nothing looked too major. I was then able to
>      Eric>  make matrices using MAKE-REAL-MATRIX, but whenever any code tried to use
>      Eric>  a Fortran function an error was signaled. The following error was given
>      Eric>  when I tried to evaluate (eye 2):
>
> Ah, this might be an issue the FFI.  That may have been messed up.  I
> think acl has a fortran option for the ffi which we may (or may not)
> be using correctly.
>
> This will require some investigation.
>
> Ray
>
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Matlisp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matlisp-users

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1