Re: [Jprogramming] LAPACK

2023-02-16 Thread bill lam
You can type dgeev to see its definition (coinsert 'jlapack2' so that locale _jlapack2_ becomes optional) It calls dll directly so that you may run the lab on ststem dllwin32 if you are unfamiliar with calling dll. On Thu, 16 Feb 2023 at 4:08 PM Erik Papp wrote: > Thank you. > I run the

Re: [Jprogramming] LAPACK

2023-02-16 Thread Raul Miller
dgeev_jlapack2_A |value error: dgeev_jlapack2_A ... dgeev_A |value error: dgeev_A You need a space to the left of the A. Thanks, -- Raul On Thu, Feb 16, 2023 at 3:08 AM Erik Papp wrote: > > Thank you. > I run the example flawlessly, but I could't use dgeev and gesvd. > >

Re: [Jprogramming] LAPACK

2023-02-16 Thread Erik Papp
Thank you. I run the example flawlessly, but I could't use dgeev and gesvd. require'math/lapack2' coinsert'jlapack2' ]A=:3 3$63.2 _36.5 _43.8 _36.6 74.4 78.8 _43.9 78.1 35.9 63.2 _36.5 _43.8 _36.6 74.4 78.8 _43.9 78.1 35.9 $A 3 3 dgeev_jlapack2_A |value error: dgeev_jlapack2_A

Re: [Jprogramming] LAPACK

2023-02-15 Thread bill lam
the verb dgeev_jlapack2_ calls the fortran subroutine NB. subroutine dgeev ( character JOBVL, NB.character JOBVR, NB.integer N, NB.double

Re: [Jprogramming] LAPACK

2023-02-15 Thread Clifford Reiter
I noticed that dgeev returns real & imaginary parts of the complex eigenvectors -- reasonable, but unexpected. J9.04k Windows load '~addons/math/lapack2/example/dgeev.ijs' ev 0.799482 _0.0994125j0.400792 _0.0994125j_0.400792 _0.100657 vr _0.655089 _0.193302 0.254632 0.125333 _0.523629

Re: [Jprogramming] LAPACK

2023-02-15 Thread Raul Miller
For documentation, it looks like https://code.jsoftware.com/wiki/Vocabulary/LAPACK and maybe https://code.jsoftware.com/wiki/Addons/math/lapack should be decent. As for the definitions themselves, it looks like require'math/lapack2' brings in all of the lapack2 the definitions, and that

Re: [Jprogramming] LAPACK

2023-02-15 Thread Erik Papp
Thank you for your answer! The example is running perfectly, but the eigenvalues, the eigenvectors and SVD are not. I do not understand why? load'math/lapack2' load'math/lapack2/example/dgeev' 0.799482 _0.0994125j0.400792 _0.0994125j_0.400792 _0.100657

Re: [Jprogramming] LAPACK

2023-02-14 Thread bill lam
The math/lapack addon was no longer supported on current J. Instead, lapack is provided by math/lapack2. The windows binaries from it has optimized blas, should be order of magnitude faster than that in the older lapack addon. However, usage of these 2 addons are different. You need to study

Re: [Jprogramming] LAPACK

2023-02-14 Thread Raul Miller
Hmm... I don't adequately know what's going on here. That said, when I look at the addons/math/lapack/dgeev.ijs in my copy of j64-807 I see: - NB. this stub will be removed in future releases NB. please, update your sources: NB. - replace string

[Jprogramming] LAPACK

2023-02-14 Thread Erik Papp
Dear J Jusers, Earlier I used *LAPACK* in the *J602a* and *J804* versions without any problems. I installed the *J903* version along with *LAPACK* based on *System/Installation/J903/AIO*. I repeated the installation several times, but it does not run, it *always gives an error*. I tried

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-11-05 Thread bill lam
The lapack addon has been updated to use alternate veclib on Mac Yosemate, space character after dlls also removed. I heard iOS 8 also has accelerate veclib framework installed, can anyone confirm if lapack can run on it? On Tue, Oct 28, 2014 at 1:25 PM, bill lam bbill@gmail.com wrote: I

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-11-05 Thread bill lam
I checked iOS 5 already got accelerate framework. lapack addon now updated for iOS. Please test how lapack will work on iPhone/iPad. Ср, 05 ноя 2014, bill lam написал(а): The lapack addon has been updated to use alternate veclib on Mac Yosemate, space character after dlls also removed. I

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-11-05 Thread Vijay Lulla
I didn't know lapack addon worked on iphone (sorry I don't have ipad). I don't get `addons' when I lookup help on iphone (using jx '' command). All I see are core,general,graphics,livetexts,math,system. On Wed, Nov 5, 2014 at 11:17 AM, bill lam bbill@gmail.com wrote: I checked iOS 5

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-11-05 Thread bill lam
the Guides/iOS in jwiki contain instruction for setting up pacman and base library will also be upgraded to j803. But please _don't_ try this right now because it requires a new base library update to fix some bugs which prevent booting of J on iOS. I'll post another message when ready. If you

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-11-05 Thread bill lam
OK. The base library now updated, and you can try the iospacman on the jwiki page. Note ios pacman jnterface is not gui based but uses jpkg verb. On Nov 6, 2014 8:16 AM, bill lam bbill@gmail.com wrote: the Guides/iOS in jwiki contain instruction for setting up pacman and base library will

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-11-05 Thread Vijay Lulla
Ok. I got it to install. Thanks. On Wed, Nov 5, 2014 at 8:18 PM, bill lam bbill@gmail.com wrote: OK. The base library now updated, and you can try the iospacman on the jwiki page. Note ios pacman jnterface is not gui based but uses jpkg verb. On Nov 6, 2014 8:16 AM, bill lam

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-11-05 Thread bill lam
Apparently accelerate framework had been available in Mac for quite a long time. Please also check if old and new Mac can work for dll=: '/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib' Ср, 05 ноя 2014, Vijay Lulla написал(а): Ok. I got it to install.

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread bill lam
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib I googled there is a file at the location /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib What if you set dll=: ... to this

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread Piet de Jong
With the suggested replacement still get the same error: ── (6 of 22) LAPACK (ctd) ─── ) m=: ?4 4$100 geev_jlapack_ m NB. compute eigenvalues and eigenvectors |domain error: cd | r=.x cd LASTIN=:y On 27 Oct 2014, at 5:33 pm, bill lam bbill@gmail.com wrote:

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread Piet de Jong
I also tried svd in R which presumably uses the same LAPACK routines. It worked fine even though the R version I’m using is pre Yosemite. This suggests the LAPACK routines are accessible in Yosemite. On 27 Oct 2014, at 5:33 pm, bill lam bbill@gmail.com wrote:

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread Vijay Lulla
I hadn't realized that LAPACK had stopped working on Yosemite until I saw this discussion. I was able to get it to work again by setting the following in lapack.ijs found in the addon (notice the space at the end). dll=:

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread Piet de Jong
Wonderful. Thanks. Space at end is critical! Sent from my iPhone On 28 Oct 2014, at 3:29 pm, Vijay Lulla vijaylu...@gmail.com wrote: I hadn't realized that LAPACK had stopped working on Yosemite until I saw this discussion. I was able to get it to work again by setting the following

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread bill lam
Thanks for information. So Piet forgot the trailing space? Вт, 28 окт 2014, Vijay Lulla написал(а): I hadn't realized that LAPACK had stopped working on Yosemite until I saw this discussion. I was able to get it to work again by setting the following in lapack.ijs found in the addon (notice

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread Joey K Tuttle
I rather loath spaces in file names, but trailing ones are my most favorite kind! (leading ones are nice too if you like to control ls/dir order...) On 2014/10/27 21:34 , Piet de Jong wrote: Wonderful. Thanks. Space at end is critical! Sent from my iPhone On 28 Oct 2014, at 3:29 pm,

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread bill lam
I agree. I'll make the change. Thanks. Did the tests.ijs run correctly? Пн, 27 окт 2014, Joey K Tuttle написал(а): I rather loath spaces in file names, but trailing ones are my most favorite kind! (leading ones are nice too if you like to control ls/dir order...) On 2014/10/27 21:34 ,

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread Piet de Jong
Thanks for the message and help. I browsed around and found /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib is a possible path but wasn’t successful in making it work. Also googled about Lapack and Yosemite and it appears a similar

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread bill lam
what were the error messages reported? What was the reason for failure from cder'' ? On Oct 26, 2014 7:13 PM, Piet de Jong pietd...@gmail.com wrote: Thanks for the message and help. I browsed around and found

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread Piet de Jong
The error is always the same. After stepping through the first 6 steps of StudioLabsLapack I get ── (6 of 22) LAPACK (ctd) ─── ) m=: ?4 4$100 geev_jlapack_ m NB. compute eigenvalues and eigenvectors |domain error: cd | r=.x cd LASTIN=:y where I understand cd is

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread bill lam
So what will be output if type in the J Session. cder'' and also LASTIN_jlapack_ Пн, 27 окт 2014, Piet de Jong написал(а): The error is always the same. After stepping through the first 6 steps of StudioLabsLapack I get ── (6 of 22) LAPACK (ctd) ─── )

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread Piet de Jong
── (6 of 22) LAPACK (ctd) ─── ) m=: ?4 4$100 geev_jlapack_ m NB. compute eigenvalues and eigenvectors |domain error: cd | r=.x cd LASTIN=:y cder 15!:10 LASTIN_jlapack_

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread bill lam
cder is a verb, to execute you need ot type cder'' Пн, 27 окт 2014, Piet de Jong написал(а): ── (6 of 22) LAPACK (ctd) ─── ) m=: ?4 4$100 geev_jlapack_ m NB. compute eigenvalues and eigenvectors |domain error: cd | r=.x cd LASTIN=:y cder 15!:10

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread Piet de Jong
cder'' 1 0 On 27 Oct 2014, at 1:26 pm, bill lam bbill@gmail.com wrote: cder is a verb, to execute you need ot type cder'' Пн, 27 окт 2014, Piet de Jong написал(а): ── (6 of 22) LAPACK (ctd) ─── ) m=: ?4 4$100 geev_jlapack_ m NB. compute

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-26 Thread bill lam
1 0 means file not found. Either the file is not there, user permission problem, or some shared objects required cannot be loaded. There should be a command line tool called otool or something like that to display linked objects, similar to ldd in linux. Пн, 27 окт 2014, Piet de Jong написал(а):

[Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-25 Thread Piet de Jong
I did clean installs of 801 802 and 803 qt for Mac. Also installed the Lapack. All fail to run the Lapack StudioLabLapack at step 6 where it attempts to compute eigenvalues/eigenvectors. It objects to the cd command. Any help gratefully received.

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-25 Thread bill lam
lapack expect a shared library existed in dll=: '/System/Library/Frameworks/vecLib.framework/vecLib ' lapack addon itself does not install any binary lapack lib to Mac. I suspect if it failed in j80x it will also fail in older versions of J. Сб, 25 окт 2014, Piet de Jong написал(а): I did

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-25 Thread Piet de Jong
So how is the shared dll library installed? Help is much appreciated. On 25 Oct 2014, at 10:06 pm, bill lam bbill@gmail.com wrote: lapack expect a shared library existed in dll=: '/System/Library/Frameworks/vecLib.framework/vecLib ' lapack addon itself does not install any

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-25 Thread bill lam
It should be pre-installed in osx, perhaps its path changed in yosemite. try locate the library and amend the dll=: ... line in lapack.ijs . On Oct 25, 2014 9:42 PM, Piet de Jong pietd...@gmail.com wrote: So how is the shared dll library installed? Help is much appreciated. On 25 Oct

Re: [Jprogramming] Lapack error on android

2014-07-16 Thread Jan-Pieter Jacobs
Thanks for the suggestion, that indeed fixed it! I don't remember doing this before, maybe I have a physical memory leak… Even so, shouldn't this be handled by the installation of the package, or at least have a more user-friendly suggestion, instead of just crashing? Kind regards, Jan-Pieter On

Re: [Jprogramming] Lapack error on android

2014-07-16 Thread bill lam
It is mentioned in manifest of lapack but perhaps it cannot be shown in android. It should offer advice as what you suggested. If you installed addons inside qt demo, it will execute that command for you. pacman lacks post-installation script to execute extra commands. On Jul 16, 2014 8:53 PM,

[Jprogramming] Lapack error on android

2014-07-15 Thread Jan-Pieter Jacobs
Hey all, I just noticed geev_jlapack_ from the LAPACK addon stopped working on android. I get this error Domain error: cd r=.x cd LASTIN=:y It worked before… Kind regards, Jan-Pieter -- For information about J forums see

Re: [Jprogramming] Lapack error on android

2014-07-15 Thread bill lam
Please provide full detail. Thanks. On Jul 15, 2014 11:50 PM, Jan-Pieter Jacobs janpieter.jac...@gmail.com wrote: Hey all, I just noticed geev_jlapack_ from the LAPACK addon stopped working on android. I get this error Domain error: cd r=.x cd LASTIN=:y It worked before… Kind

Re: [Jprogramming] Lapack error on android

2014-07-15 Thread Jan-Pieter Jacobs
So, as I can't copy in J on Android, I'll give a test case. Anyhow the error I gave you is all I got. I am running jqt802, fully up-to-date addons, on Android 4.3 (a Toshiba tablet, but it also fails on my phone, same J, android 4.0.3) Steps to repoduce: a=: ? 20 20$ 0 load 'math/lapack'

Re: [Jprogramming] Lapack error on android

2014-07-15 Thread bill lam
have you run install_jlapack_'' Ср, 16 июл 2014, Jan-Pieter Jacobs написал(а): So, as I can't copy in J on Android, I'll give a test case. Anyhow the error I gave you is all I got. I am running jqt802, fully up-to-date addons, on Android 4.3 (a Toshiba tablet, but it also fails on my phone,

[Jprogramming] lapack for win64

2013-11-29 Thread bill lam
The lapack addons should now work under win64. Visit the webpage mentioned in description to get the necessary dll files. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver

[Jprogramming] lapack

2013-09-29 Thread Raul Miller
currently, I can't use lapack even on 32bit j6. also, the wiki is down. Does anyone have any suggestions for me? Thanks, -- Raul -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] lapack

2013-09-29 Thread Scott Locklin
Raul Miller wrote: currently, I can't use lapack even on 32bit j6.  Works on 64 bit linux/j7. I had to noodle around with clapack to get the library to build. The noodlings are here if that helps you: https://github.com/locklin/clapack-j I think these noodlings are what is in the present add on

Re: [Jprogramming] Lapack on 64-bit Macs

2013-08-22 Thread J. Patrick Harrington
Great! Lapack now runs on my MacBook Pro under j64-801 qtide. So I can start using j801 for everything. The only problem I see is that the menu displaying the list of routines fails: docs_jlapack_ shows a window with a list of the lap files. ) labs_run_jqtide_ 0 ── (10 of 22) LAPACK (ctd)

Re: [Jprogramming] Lapack on 64-bit Macs

2013-08-20 Thread Marc Simpson
Thanks Bill. Line 268 of lapack.ijs still needs updating though. On Tue, Aug 20, 2013 at 2:42 AM, bill lam bbill@gmail.com wrote: Thanks for info. JAL updated. Пн, 19 авг 2013, Marc Simpson писал(а): Lapack is disabled on 64-bit Macs due to the following guard in 'math/lapack.ijs'

Re: [Jprogramming] Lapack on 64-bit Macs

2013-08-20 Thread bill lam
Thanks. Updated again. Please run the test script test0.ijs and report if it run ok on a 64-bit Mac. Вт, 20 авг 2013, Marc Simpson писал(а): Thanks Bill. Line 268 of lapack.ijs still needs updating though. On Tue, Aug 20, 2013 at 2:42 AM, bill lam bbill@gmail.com wrote: Thanks for

[Jprogramming] Lapack on 64-bit Macs

2013-08-19 Thread Marc Simpson
Lapack is disabled on 64-bit Macs due to the following guard in 'math/lapack.ijs' (added in r4400): if. IF64 UNAME-: 'Linux' do. '64-bit not supported' 13!:8[10 end. This signal is overly general as the OS X VecLib framework provides a 64-bit implementation. Since the 64-bit check is

Re: [Jprogramming] Lapack on 64-bit Macs

2013-08-19 Thread bill lam
Thanks for info. JAL updated. Пн, 19 авг 2013, Marc Simpson писал(а): Lapack is disabled on 64-bit Macs due to the following guard in 'math/lapack.ijs' (added in r4400): if. IF64 UNAME-: 'Linux' do. '64-bit not supported' 13!:8[10 end. This signal is overly general as the OS X