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
>
> On Fri, 7 Mar 2008, J. Patrick Harrington wrote:
> >
> > I've just installed the new j602 stable release on
> > my MacBook Pro (Intel). Everything seems to have gone
> > OK, but when I tried running the LAPACK lab, the first
> > attempt to use a LAPACK routine throws up a wdhandler
> > error box that says
> >
> > error in: jijs_jctrl_fkey
> >
> > domain error: cd
> > r=.x cd LASTIN=:y
> >
> > I remember a discussion about this earlier, but don't
> > recall how we worked around/fixed it. I do remember
> > that the eigenpictures demo never did work and still
> > doesn't - it says: Demo requires LAPACK - but LAPACK
> > is installed in j602/addons/math/lapack.
> > I've also tried to run a little routine that used to
> > work that uses
> > dgeev=: dgeev_jlapack_
> > require jpath '~addons\math\lapack\lapack.ijs'
> > require jpath '~addons\math\lapack\dgeev.ijs'
> > but it also throws the domain error: cd
> > r=.x cd LASTIN=:y
> >
> > Does anyone recall how to fix this?
> >
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm