Yes, that's it. On my Mac I just replaced
dll=. IFUNIX pick 'jlapack.dll';'lapack.so'
with
dll=. 'vecLib'
where vecLib is the symbolic link in \math\lapack, and
now the eigenpicture demo runs fine. I hope lapack.ijs and
isigraph/eigenpic.ijs can be fixed so they function "out of
the box" for all platforms. Otherwise it may give new users
the impression that j602 is "buggy", which we know isn't
the case.
On Sat, 8 Mar 2008, Sherlock, Ric wrote:
This is related to my post a few days ago where I thought that the addon wasn't
installing the lapack library on the Mac. I understand now from your post and
the earlier thread that lapack is already installed on Macs as vecLib. In that
case the logic of the ep_run verb in eigenpic.ijs needs updating to take the
Mac into account. Currently is is:
ep_run=: 3 : 0
dll=. IFUNIX pick 'jlapack.dll';'lapack.so'
if. 0 >: fsize jpath '~addons\math\lapack\',dll do.
info 'Demo requires LAPACK'
return.
end.
....
)
---J. Patrick Harrington wrote:
I've now found a discussion back in 29 Aug 2007 with Oleg and
Dan Bron: the problem seems to be the definition in lapack.ijs:
bin=. > sys { 'vecLib';'lapackso';'jlapack.dll'
and there is of course no "vecLib" in addons/math/lapack. I've
made the link
ln -s
/System/Library/Frameworks/vecLib.framework/Versions/Current/vecLib
/Users/jph/j602/addons/math/lapack/
and now the lab and other LAPACK routines seem OK. Shouldn't this be
fixed so things run without setting up links?
And the eigenpictures
demo still can't find LAPACK.
Patrick
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm