Re: [Jgeneral] math/lapack2 addon questions

2023-04-12 Thread Jan-Pieter Jacobs
Hi Marion,

I think it's best if you try it yourself.

If the "general" forum (i.e. mailing list) is the only one you'd need to
unsubscribe from, go to http://www.jsoftware.com/mailman/listinfo/general ,
fill in your email at the bottom of the page in the unsubscribe section,
and confirm your unsubscription with the link in the email that is sent to
you by the mailman system. If you'd need to unsubscribe from other fora, do
the same for the others (their addresses are listed at
https://code.jsoftware.com/wiki/System/Forums).

I hope this helps!

Jan-Pieter

On Wed, 12 Apr 2023, 09:54 jcor...@iafrica.com,  wrote:

> Dear Bill/ Raul
>
> Hope you are well.  Please could you remove my email address from this
> group?  I am not part of the group,  Thanks much appreciated.
>
> marion for jcor...@iafrica.com
>
> - Original Message -
> From: "bill lam" 
> To: "general" 
> Sent: Saturday, April 8, 2023 4:03:10 PM
> Subject: Re: [Jgeneral] math/lapack2 addon questions
>
> It was I who uploaded them to jsoftware, but I forgot the details.
>
> On Sat, Apr 8, 2023 at 10:05 PM Raul Miller  wrote:
>
> > Hmm...
> >
> > https://netlib.org/lapack/index.html points me at
> > https://icl.utk.edu/lapack-for-windows/lapack/ which leads me to
> > https://icl.utk.edu/lapack-for-windows/lapack/index.html#libraries
> >
> > Specifically, for 64 bit, the links
> >
> >
> https://icl.utk.edu/lapack-for-windows/libraries/VisualStudio/3.7.0/Dynamic-MINGW/Win64/liblapack.dll
> > and
> >
> >
> https://icl.utk.edu/lapack-for-windows/libraries/VisualStudio/3.7.0/Dynamic-MINGW/Win64/libblas.dll
> >
> > And, after downloading liblapack.dll, I see:
> >
> > $ strings liblapack.dll  | grep ilaver
> > ilaver_
> > ilaver.f
> > ilaver_
> >
> > So I'm not quite sure what's gone wrong here, with the prebuilt lapack.
> >
> > Where did J's liblapack3.dll come from?
> >
> > Thanks,
> >
> > --
> > Raul
> >
> > On Sat, Apr 8, 2023 at 9:29 AM bill lam  wrote:
> > >
> > > Use the official lapack 3.x from netlib.org, all others are dead ends.
> > >
> > > Please also build an optimized blas if possible.
> > >
> > > On Sat, Apr 8, 2023 at 9:22 PM Raul Miller 
> > wrote:
> > >
> > > > Huh... looking at https://netlib.org/liblist.html I see:
> > > >
> > > > *) lapack
> > > >
> > > > *) lapack++ from https://math.nist.gov/lapack++/ superseded by
> > > > https://math.nist.gov/tnt/
> > > >
> > > > *) lapack3e upgraded to support features of fortran77 and fortran90
> > > >
> > > > *) lapack90   (404)
> > > >
> > > > *) clapack   (lapack after being preprocessed by f2c -- probably
> better
> > > > to use lapack)
> > > >
> > > > *) scalapack recently maintained, windows dlls available from
> > > > https://icl.utk.edu/lapack-for-windows/scalapack/
> > > >
> > > > I guess before I dive into this, I should understand the changes from
> > > > J's original lapack distribution and lapack2 distribution. Which of
> > > > these repositories have we been using?
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Raul
> > > >
> > > >
> > > >
> > > > On Sat, Apr 8, 2023 at 9:12 AM Raul Miller 
> > wrote:
> > > > >
> > > > > Hmm
> > > > >
> > > > > https://www.fi.muni.cz/~xsvobod2/misc/lapack/ says that no native
> > open
> > > > > source fortran compiler is available for windows.
> > > > >
> > > > > But that's an old page, which might be why it ignores
> > > > > https://gcc.gnu.org/wiki/GFortranBinariesWindows
> > > > >
> > > > > I'll see if I can get that to work.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > --
> > > > > Raul
> > > > >
> > > > > On Sat, Apr 8, 2023 at 5:28 AM bill lam 
> wrote:
> > > > > >
> > > > > > Unfortunately the pre-built windows lapack binaries over the net
> > are
> > > > > > outdated.
> > > > > > It is easier to modify the jwiki documentation than to find an
> > updated
> > > > > > binary.
> > > > > >
> > > &

Re: [Jgeneral] math/lapack2 addon questions

2023-04-12 Thread jcor...@iafrica.com
Dear Bill/ Raul

Hope you are well.  Please could you remove my email address from this group?  
I am not part of the group,  Thanks much appreciated.

marion for jcor...@iafrica.com

- Original Message -
From: "bill lam" 
To: "general" 
Sent: Saturday, April 8, 2023 4:03:10 PM
Subject: Re: [Jgeneral] math/lapack2 addon questions

It was I who uploaded them to jsoftware, but I forgot the details.

On Sat, Apr 8, 2023 at 10:05 PM Raul Miller  wrote:

> Hmm...
>
> https://netlib.org/lapack/index.html points me at
> https://icl.utk.edu/lapack-for-windows/lapack/ which leads me to
> https://icl.utk.edu/lapack-for-windows/lapack/index.html#libraries
>
> Specifically, for 64 bit, the links
>
> https://icl.utk.edu/lapack-for-windows/libraries/VisualStudio/3.7.0/Dynamic-MINGW/Win64/liblapack.dll
> and
>
> https://icl.utk.edu/lapack-for-windows/libraries/VisualStudio/3.7.0/Dynamic-MINGW/Win64/libblas.dll
>
> And, after downloading liblapack.dll, I see:
>
> $ strings liblapack.dll  | grep ilaver
> ilaver_
> ilaver.f
> ilaver_
>
> So I'm not quite sure what's gone wrong here, with the prebuilt lapack.
>
> Where did J's liblapack3.dll come from?
>
> Thanks,
>
> --
> Raul
>
> On Sat, Apr 8, 2023 at 9:29 AM bill lam  wrote:
> >
> > Use the official lapack 3.x from netlib.org, all others are dead ends.
> >
> > Please also build an optimized blas if possible.
> >
> > On Sat, Apr 8, 2023 at 9:22 PM Raul Miller 
> wrote:
> >
> > > Huh... looking at https://netlib.org/liblist.html I see:
> > >
> > > *) lapack
> > >
> > > *) lapack++ from https://math.nist.gov/lapack++/ superseded by
> > > https://math.nist.gov/tnt/
> > >
> > > *) lapack3e upgraded to support features of fortran77 and fortran90
> > >
> > > *) lapack90   (404)
> > >
> > > *) clapack   (lapack after being preprocessed by f2c -- probably better
> > > to use lapack)
> > >
> > > *) scalapack recently maintained, windows dlls available from
> > > https://icl.utk.edu/lapack-for-windows/scalapack/
> > >
> > > I guess before I dive into this, I should understand the changes from
> > > J's original lapack distribution and lapack2 distribution. Which of
> > > these repositories have we been using?
> > >
> > > Thanks,
> > >
> > > --
> > > Raul
> > >
> > >
> > >
> > > On Sat, Apr 8, 2023 at 9:12 AM Raul Miller 
> wrote:
> > > >
> > > > Hmm
> > > >
> > > > https://www.fi.muni.cz/~xsvobod2/misc/lapack/ says that no native
> open
> > > > source fortran compiler is available for windows.
> > > >
> > > > But that's an old page, which might be why it ignores
> > > > https://gcc.gnu.org/wiki/GFortranBinariesWindows
> > > >
> > > > I'll see if I can get that to work.
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Raul
> > > >
> > > > On Sat, Apr 8, 2023 at 5:28 AM bill lam  wrote:
> > > > >
> > > > > Unfortunately the pre-built windows lapack binaries over the net
> are
> > > > > outdated.
> > > > > It is easier to modify the jwiki documentation than to find an
> updated
> > > > > binary.
> > > > >
> > > > > On Fri, Apr 7, 2023 at 8:30 AM Igor Zhuravlov 
> > > wrote:
> > > > >
> > > > > > On Thu, Apr 6, 2023 at 02:30 PM Ric Sherlock 
> > > wrote:
> > > > > > > However the new section about how to identify a LAPACK version
> > > doesn't
> > > > > > work
> > > > > > > on Windows:
> > > > > > >
> > > > > > > ilaver_jlapack2_ (,0);(,0);(,0)
> > > > > > >
> > > > > > > |domain error in cd, executing dyad 15!:0
> > > > > > > |
> > > > > > > | ilaver_jlapack2_(,0);(,0);(,0)
> > > > > >
> > > > > > It turned out that liblapack.dll (file size: 5181440 bytes)
> > > downloaded
> > > > > > from
> > > > > > jsoftware.com doesn't contain ilaenv_ subroutine.
> > > > > >
> > > > > > This library should be rebuilt.
> > > > > >
> > > > > > --
> > > > > > Regards,
> > > > > > Igor
> > > > > >
> > > > > >
> > > > > >
> > > --
> > > > > > For information about J forums see
> > > http://www.jsoftware.com/forums.htm
> > > > > >
> > > > >
> --
> > > > > For information about J forums see
> http://www.jsoftware.com/forums.htm
> > > --
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] math/lapack2 addon questions

2023-04-08 Thread bill lam
It was I who uploaded them to jsoftware, but I forgot the details.

On Sat, Apr 8, 2023 at 10:05 PM Raul Miller  wrote:

> Hmm...
>
> https://netlib.org/lapack/index.html points me at
> https://icl.utk.edu/lapack-for-windows/lapack/ which leads me to
> https://icl.utk.edu/lapack-for-windows/lapack/index.html#libraries
>
> Specifically, for 64 bit, the links
>
> https://icl.utk.edu/lapack-for-windows/libraries/VisualStudio/3.7.0/Dynamic-MINGW/Win64/liblapack.dll
> and
>
> https://icl.utk.edu/lapack-for-windows/libraries/VisualStudio/3.7.0/Dynamic-MINGW/Win64/libblas.dll
>
> And, after downloading liblapack.dll, I see:
>
> $ strings liblapack.dll  | grep ilaver
> ilaver_
> ilaver.f
> ilaver_
>
> So I'm not quite sure what's gone wrong here, with the prebuilt lapack.
>
> Where did J's liblapack3.dll come from?
>
> Thanks,
>
> --
> Raul
>
> On Sat, Apr 8, 2023 at 9:29 AM bill lam  wrote:
> >
> > Use the official lapack 3.x from netlib.org, all others are dead ends.
> >
> > Please also build an optimized blas if possible.
> >
> > On Sat, Apr 8, 2023 at 9:22 PM Raul Miller 
> wrote:
> >
> > > Huh... looking at https://netlib.org/liblist.html I see:
> > >
> > > *) lapack
> > >
> > > *) lapack++ from https://math.nist.gov/lapack++/ superseded by
> > > https://math.nist.gov/tnt/
> > >
> > > *) lapack3e upgraded to support features of fortran77 and fortran90
> > >
> > > *) lapack90   (404)
> > >
> > > *) clapack   (lapack after being preprocessed by f2c -- probably better
> > > to use lapack)
> > >
> > > *) scalapack recently maintained, windows dlls available from
> > > https://icl.utk.edu/lapack-for-windows/scalapack/
> > >
> > > I guess before I dive into this, I should understand the changes from
> > > J's original lapack distribution and lapack2 distribution. Which of
> > > these repositories have we been using?
> > >
> > > Thanks,
> > >
> > > --
> > > Raul
> > >
> > >
> > >
> > > On Sat, Apr 8, 2023 at 9:12 AM Raul Miller 
> wrote:
> > > >
> > > > Hmm
> > > >
> > > > https://www.fi.muni.cz/~xsvobod2/misc/lapack/ says that no native
> open
> > > > source fortran compiler is available for windows.
> > > >
> > > > But that's an old page, which might be why it ignores
> > > > https://gcc.gnu.org/wiki/GFortranBinariesWindows
> > > >
> > > > I'll see if I can get that to work.
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Raul
> > > >
> > > > On Sat, Apr 8, 2023 at 5:28 AM bill lam  wrote:
> > > > >
> > > > > Unfortunately the pre-built windows lapack binaries over the net
> are
> > > > > outdated.
> > > > > It is easier to modify the jwiki documentation than to find an
> updated
> > > > > binary.
> > > > >
> > > > > On Fri, Apr 7, 2023 at 8:30 AM Igor Zhuravlov 
> > > wrote:
> > > > >
> > > > > > On Thu, Apr 6, 2023 at 02:30 PM Ric Sherlock 
> > > wrote:
> > > > > > > However the new section about how to identify a LAPACK version
> > > doesn't
> > > > > > work
> > > > > > > on Windows:
> > > > > > >
> > > > > > > ilaver_jlapack2_ (,0);(,0);(,0)
> > > > > > >
> > > > > > > |domain error in cd, executing dyad 15!:0
> > > > > > > |
> > > > > > > | ilaver_jlapack2_(,0);(,0);(,0)
> > > > > >
> > > > > > It turned out that liblapack.dll (file size: 5181440 bytes)
> > > downloaded
> > > > > > from
> > > > > > jsoftware.com doesn't contain ilaenv_ subroutine.
> > > > > >
> > > > > > This library should be rebuilt.
> > > > > >
> > > > > > --
> > > > > > Regards,
> > > > > > Igor
> > > > > >
> > > > > >
> > > > > >
> > > --
> > > > > > For information about J forums see
> > > http://www.jsoftware.com/forums.htm
> > > > > >
> > > > >
> --
> > > > > For information about J forums see
> http://www.jsoftware.com/forums.htm
> > > --
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] math/lapack2 addon questions

2023-04-08 Thread Raul Miller
Hmm...

https://netlib.org/lapack/index.html points me at
https://icl.utk.edu/lapack-for-windows/lapack/ which leads me to
https://icl.utk.edu/lapack-for-windows/lapack/index.html#libraries

Specifically, for 64 bit, the links
https://icl.utk.edu/lapack-for-windows/libraries/VisualStudio/3.7.0/Dynamic-MINGW/Win64/liblapack.dll
and
https://icl.utk.edu/lapack-for-windows/libraries/VisualStudio/3.7.0/Dynamic-MINGW/Win64/libblas.dll

And, after downloading liblapack.dll, I see:

$ strings liblapack.dll  | grep ilaver
ilaver_
ilaver.f
ilaver_

So I'm not quite sure what's gone wrong here, with the prebuilt lapack.

Where did J's liblapack3.dll come from?

Thanks,

-- 
Raul

On Sat, Apr 8, 2023 at 9:29 AM bill lam  wrote:
>
> Use the official lapack 3.x from netlib.org, all others are dead ends.
>
> Please also build an optimized blas if possible.
>
> On Sat, Apr 8, 2023 at 9:22 PM Raul Miller  wrote:
>
> > Huh... looking at https://netlib.org/liblist.html I see:
> >
> > *) lapack
> >
> > *) lapack++ from https://math.nist.gov/lapack++/ superseded by
> > https://math.nist.gov/tnt/
> >
> > *) lapack3e upgraded to support features of fortran77 and fortran90
> >
> > *) lapack90   (404)
> >
> > *) clapack   (lapack after being preprocessed by f2c -- probably better
> > to use lapack)
> >
> > *) scalapack recently maintained, windows dlls available from
> > https://icl.utk.edu/lapack-for-windows/scalapack/
> >
> > I guess before I dive into this, I should understand the changes from
> > J's original lapack distribution and lapack2 distribution. Which of
> > these repositories have we been using?
> >
> > Thanks,
> >
> > --
> > Raul
> >
> >
> >
> > On Sat, Apr 8, 2023 at 9:12 AM Raul Miller  wrote:
> > >
> > > Hmm
> > >
> > > https://www.fi.muni.cz/~xsvobod2/misc/lapack/ says that no native open
> > > source fortran compiler is available for windows.
> > >
> > > But that's an old page, which might be why it ignores
> > > https://gcc.gnu.org/wiki/GFortranBinariesWindows
> > >
> > > I'll see if I can get that to work.
> > >
> > > Thanks,
> > >
> > > --
> > > Raul
> > >
> > > On Sat, Apr 8, 2023 at 5:28 AM bill lam  wrote:
> > > >
> > > > Unfortunately the pre-built windows lapack binaries over the net are
> > > > outdated.
> > > > It is easier to modify the jwiki documentation than to find an updated
> > > > binary.
> > > >
> > > > On Fri, Apr 7, 2023 at 8:30 AM Igor Zhuravlov 
> > wrote:
> > > >
> > > > > On Thu, Apr 6, 2023 at 02:30 PM Ric Sherlock 
> > wrote:
> > > > > > However the new section about how to identify a LAPACK version
> > doesn't
> > > > > work
> > > > > > on Windows:
> > > > > >
> > > > > > ilaver_jlapack2_ (,0);(,0);(,0)
> > > > > >
> > > > > > |domain error in cd, executing dyad 15!:0
> > > > > > |
> > > > > > | ilaver_jlapack2_(,0);(,0);(,0)
> > > > >
> > > > > It turned out that liblapack.dll (file size: 5181440 bytes)
> > downloaded
> > > > > from
> > > > > jsoftware.com doesn't contain ilaenv_ subroutine.
> > > > >
> > > > > This library should be rebuilt.
> > > > >
> > > > > --
> > > > > Regards,
> > > > > Igor
> > > > >
> > > > >
> > > > >
> > --
> > > > > For information about J forums see
> > http://www.jsoftware.com/forums.htm
> > > > >
> > > > --
> > > > For information about J forums see http://www.jsoftware.com/forums.htm
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] math/lapack2 addon questions

2023-04-08 Thread bill lam
Use the official lapack 3.x from netlib.org, all others are dead ends.

Please also build an optimized blas if possible.

On Sat, Apr 8, 2023 at 9:22 PM Raul Miller  wrote:

> Huh... looking at https://netlib.org/liblist.html I see:
>
> *) lapack
>
> *) lapack++ from https://math.nist.gov/lapack++/ superseded by
> https://math.nist.gov/tnt/
>
> *) lapack3e upgraded to support features of fortran77 and fortran90
>
> *) lapack90   (404)
>
> *) clapack   (lapack after being preprocessed by f2c -- probably better
> to use lapack)
>
> *) scalapack recently maintained, windows dlls available from
> https://icl.utk.edu/lapack-for-windows/scalapack/
>
> I guess before I dive into this, I should understand the changes from
> J's original lapack distribution and lapack2 distribution. Which of
> these repositories have we been using?
>
> Thanks,
>
> --
> Raul
>
>
>
> On Sat, Apr 8, 2023 at 9:12 AM Raul Miller  wrote:
> >
> > Hmm
> >
> > https://www.fi.muni.cz/~xsvobod2/misc/lapack/ says that no native open
> > source fortran compiler is available for windows.
> >
> > But that's an old page, which might be why it ignores
> > https://gcc.gnu.org/wiki/GFortranBinariesWindows
> >
> > I'll see if I can get that to work.
> >
> > Thanks,
> >
> > --
> > Raul
> >
> > On Sat, Apr 8, 2023 at 5:28 AM bill lam  wrote:
> > >
> > > Unfortunately the pre-built windows lapack binaries over the net are
> > > outdated.
> > > It is easier to modify the jwiki documentation than to find an updated
> > > binary.
> > >
> > > On Fri, Apr 7, 2023 at 8:30 AM Igor Zhuravlov 
> wrote:
> > >
> > > > On Thu, Apr 6, 2023 at 02:30 PM Ric Sherlock 
> wrote:
> > > > > However the new section about how to identify a LAPACK version
> doesn't
> > > > work
> > > > > on Windows:
> > > > >
> > > > > ilaver_jlapack2_ (,0);(,0);(,0)
> > > > >
> > > > > |domain error in cd, executing dyad 15!:0
> > > > > |
> > > > > | ilaver_jlapack2_(,0);(,0);(,0)
> > > >
> > > > It turned out that liblapack.dll (file size: 5181440 bytes)
> downloaded
> > > > from
> > > > jsoftware.com doesn't contain ilaenv_ subroutine.
> > > >
> > > > This library should be rebuilt.
> > > >
> > > > --
> > > > Regards,
> > > > Igor
> > > >
> > > >
> > > >
> --
> > > > For information about J forums see
> http://www.jsoftware.com/forums.htm
> > > >
> > > --
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] math/lapack2 addon questions

2023-04-08 Thread Raul Miller
Huh... looking at https://netlib.org/liblist.html I see:

*) lapack

*) lapack++ from https://math.nist.gov/lapack++/ superseded by
https://math.nist.gov/tnt/

*) lapack3e upgraded to support features of fortran77 and fortran90

*) lapack90   (404)

*) clapack   (lapack after being preprocessed by f2c -- probably better
to use lapack)

*) scalapack recently maintained, windows dlls available from
https://icl.utk.edu/lapack-for-windows/scalapack/

I guess before I dive into this, I should understand the changes from
J's original lapack distribution and lapack2 distribution. Which of
these repositories have we been using?

Thanks,

--
Raul



On Sat, Apr 8, 2023 at 9:12 AM Raul Miller  wrote:
>
> Hmm
>
> https://www.fi.muni.cz/~xsvobod2/misc/lapack/ says that no native open
> source fortran compiler is available for windows.
>
> But that's an old page, which might be why it ignores
> https://gcc.gnu.org/wiki/GFortranBinariesWindows
>
> I'll see if I can get that to work.
>
> Thanks,
>
> --
> Raul
>
> On Sat, Apr 8, 2023 at 5:28 AM bill lam  wrote:
> >
> > Unfortunately the pre-built windows lapack binaries over the net are
> > outdated.
> > It is easier to modify the jwiki documentation than to find an updated
> > binary.
> >
> > On Fri, Apr 7, 2023 at 8:30 AM Igor Zhuravlov  wrote:
> >
> > > On Thu, Apr 6, 2023 at 02:30 PM Ric Sherlock  wrote:
> > > > However the new section about how to identify a LAPACK version doesn't
> > > work
> > > > on Windows:
> > > >
> > > > ilaver_jlapack2_ (,0);(,0);(,0)
> > > >
> > > > |domain error in cd, executing dyad 15!:0
> > > > |
> > > > | ilaver_jlapack2_(,0);(,0);(,0)
> > >
> > > It turned out that liblapack.dll (file size: 5181440 bytes) downloaded
> > > from
> > > jsoftware.com doesn't contain ilaenv_ subroutine.
> > >
> > > This library should be rebuilt.
> > >
> > > --
> > > Regards,
> > > Igor
> > >
> > >
> > > --
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] math/lapack2 addon questions

2023-04-08 Thread Raul Miller
Hmm

https://www.fi.muni.cz/~xsvobod2/misc/lapack/ says that no native open
source fortran compiler is available for windows.

But that's an old page, which might be why it ignores
https://gcc.gnu.org/wiki/GFortranBinariesWindows

I'll see if I can get that to work.

Thanks,

-- 
Raul

On Sat, Apr 8, 2023 at 5:28 AM bill lam  wrote:
>
> Unfortunately the pre-built windows lapack binaries over the net are
> outdated.
> It is easier to modify the jwiki documentation than to find an updated
> binary.
>
> On Fri, Apr 7, 2023 at 8:30 AM Igor Zhuravlov  wrote:
>
> > On Thu, Apr 6, 2023 at 02:30 PM Ric Sherlock  wrote:
> > > However the new section about how to identify a LAPACK version doesn't
> > work
> > > on Windows:
> > >
> > > ilaver_jlapack2_ (,0);(,0);(,0)
> > >
> > > |domain error in cd, executing dyad 15!:0
> > > |
> > > | ilaver_jlapack2_(,0);(,0);(,0)
> >
> > It turned out that liblapack.dll (file size: 5181440 bytes) downloaded
> > from
> > jsoftware.com doesn't contain ilaenv_ subroutine.
> >
> > This library should be rebuilt.
> >
> > --
> > Regards,
> > Igor
> >
> >
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] math/lapack2 addon questions

2023-04-08 Thread bill lam
Unfortunately the pre-built windows lapack binaries over the net are
outdated.
It is easier to modify the jwiki documentation than to find an updated
binary.

On Fri, Apr 7, 2023 at 8:30 AM Igor Zhuravlov  wrote:

> On Thu, Apr 6, 2023 at 02:30 PM Ric Sherlock  wrote:
> > However the new section about how to identify a LAPACK version doesn't
> work
> > on Windows:
> >
> > ilaver_jlapack2_ (,0);(,0);(,0)
> >
> > |domain error in cd, executing dyad 15!:0
> > |
> > | ilaver_jlapack2_(,0);(,0);(,0)
>
> It turned out that liblapack.dll (file size: 5181440 bytes) downloaded
> from
> jsoftware.com doesn't contain ilaenv_ subroutine.
>
> This library should be rebuilt.
>
> --
> Regards,
> Igor
>
>
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] math/lapack2 addon questions

2023-04-06 Thread Igor Zhuravlov
On Thu, Apr 6, 2023 at 02:30 PM Ric Sherlock  wrote:
> However the new section about how to identify a LAPACK version doesn't work
> on Windows:
> 
> ilaver_jlapack2_ (,0);(,0);(,0)
> 
> |domain error in cd, executing dyad 15!:0
> |
> | ilaver_jlapack2_(,0);(,0);(,0)

It turned out that liblapack.dll (file size: 5181440 bytes) downloaded from 
jsoftware.com doesn't contain ilaenv_ subroutine.

This library should be rebuilt.

-- 
Regards,
Igor


--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] math/lapack2 addon questions

2023-04-05 Thread Ric Sherlock
I was working through instructions on the LAPACK addon page on the wiki.
Works fine on Linux, and mostly on Windows.
However the new section about how to identify a LAPACK version doesn't work
on Windows:


ilaver_jlapack2_ (,0);(,0);(,0)

|domain error in cd, executing dyad 15!:0

| ilaver_jlapack2_(,0);(,0);(,0)


Any ideas on how best to address this?

Simplest would be to document that issue on the wiki, but if it's fixable
that would be even better!!




On Tue, Mar 28, 2023 at 11:28 AM Ric Sherlock  wrote:

> Any change to improve and simplify the user experience for the
> `math/lapack2` addon is welcome from my POV!
>
> On Tue, Mar 28, 2023 at 3:22 AM chris burke  wrote:
>
>> On point 1, it is not necessary that addon code be compatible with
>> earlier versions.
>>
>> You can use RELEASE in the manifest to specify which releases are
>> supported. Use j904 or j9.4 to support only the current release, e.g.
>>
>>RELEASE=: 'j9.4'
>>
>> If so, the builds for earlier versions will remain unchanged.
>>
>> See also code.jsoftware.com/wiki/Addons/Developers_Guide#Release
>>
>> On Mon, Mar 27, 2023 at 1:25 AM bill lam  wrote:
>> >
>> > Your contributions are always welcome!
>> >
>> > On the point 2, & means no memu applied. The trailing \0 might be
>> absent.
>> > Nevertheless, LAPACK are fortran routines so that C style strings are
>> not
>> > expected.
>> > Therefore I _think_ that is OK.
>> >
>> >
>> >
>> > On Mon, Mar 27, 2023 at 3:55 PM Igor Zhuravlov 
>> wrote:
>> >
>> > > Dear addon maintainers,
>> > >
>> > > 1. Addon code looks outdated a bit. Is it done intentional to provide
>> > > addon
>> > > compatibility with older JE versions? If not, I'd like to prepare pull
>> > > request
>> > > to update code. No hardcore with multitasking and modifier trains,
>> just a
>> > > few
>> > > nice J9.4 features, plus some refactoring and bug fixes.
>> > >
>> > > 2. LAPACK specs distinguish "in" (i.e. read-only) parameters type.
>> Those
>> > > are
>> > > eligible candidates to be marked with & instead of * in parameters
>> list of
>> > > addon interface verbs, to avoid copying. Are there any objections for
>> this
>> > > massive change?
>> > >
>> > > --
>> > > Regards,
>> > > Igor
>> > >
>> > >
>> > > --
>> > > For information about J forums see
>> http://www.jsoftware.com/forums.htm
>> > >
>> > --
>> > For information about J forums see http://www.jsoftware.com/forums.htm
>> --
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] math/lapack2 addon questions

2023-03-27 Thread Ric Sherlock
Any change to improve and simplify the user experience for the
`math/lapack2` addon is welcome from my POV!

On Tue, Mar 28, 2023 at 3:22 AM chris burke  wrote:

> On point 1, it is not necessary that addon code be compatible with
> earlier versions.
>
> You can use RELEASE in the manifest to specify which releases are
> supported. Use j904 or j9.4 to support only the current release, e.g.
>
>RELEASE=: 'j9.4'
>
> If so, the builds for earlier versions will remain unchanged.
>
> See also code.jsoftware.com/wiki/Addons/Developers_Guide#Release
>
> On Mon, Mar 27, 2023 at 1:25 AM bill lam  wrote:
> >
> > Your contributions are always welcome!
> >
> > On the point 2, & means no memu applied. The trailing \0 might be absent.
> > Nevertheless, LAPACK are fortran routines so that C style strings are not
> > expected.
> > Therefore I _think_ that is OK.
> >
> >
> >
> > On Mon, Mar 27, 2023 at 3:55 PM Igor Zhuravlov 
> wrote:
> >
> > > Dear addon maintainers,
> > >
> > > 1. Addon code looks outdated a bit. Is it done intentional to provide
> > > addon
> > > compatibility with older JE versions? If not, I'd like to prepare pull
> > > request
> > > to update code. No hardcore with multitasking and modifier trains,
> just a
> > > few
> > > nice J9.4 features, plus some refactoring and bug fixes.
> > >
> > > 2. LAPACK specs distinguish "in" (i.e. read-only) parameters type.
> Those
> > > are
> > > eligible candidates to be marked with & instead of * in parameters
> list of
> > > addon interface verbs, to avoid copying. Are there any objections for
> this
> > > massive change?
> > >
> > > --
> > > Regards,
> > > Igor
> > >
> > >
> > > --
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] math/lapack2 addon questions

2023-03-27 Thread chris burke
On point 1, it is not necessary that addon code be compatible with
earlier versions.

You can use RELEASE in the manifest to specify which releases are
supported. Use j904 or j9.4 to support only the current release, e.g.

   RELEASE=: 'j9.4'

If so, the builds for earlier versions will remain unchanged.

See also code.jsoftware.com/wiki/Addons/Developers_Guide#Release

On Mon, Mar 27, 2023 at 1:25 AM bill lam  wrote:
>
> Your contributions are always welcome!
>
> On the point 2, & means no memu applied. The trailing \0 might be absent.
> Nevertheless, LAPACK are fortran routines so that C style strings are not
> expected.
> Therefore I _think_ that is OK.
>
>
>
> On Mon, Mar 27, 2023 at 3:55 PM Igor Zhuravlov  wrote:
>
> > Dear addon maintainers,
> >
> > 1. Addon code looks outdated a bit. Is it done intentional to provide
> > addon
> > compatibility with older JE versions? If not, I'd like to prepare pull
> > request
> > to update code. No hardcore with multitasking and modifier trains, just a
> > few
> > nice J9.4 features, plus some refactoring and bug fixes.
> >
> > 2. LAPACK specs distinguish "in" (i.e. read-only) parameters type. Those
> > are
> > eligible candidates to be marked with & instead of * in parameters list of
> > addon interface verbs, to avoid copying. Are there any objections for this
> > massive change?
> >
> > --
> > Regards,
> > Igor
> >
> >
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] math/lapack2 addon questions

2023-03-27 Thread bill lam
Your contributions are always welcome!

On the point 2, & means no memu applied. The trailing \0 might be absent.
Nevertheless, LAPACK are fortran routines so that C style strings are not
expected.
Therefore I _think_ that is OK.



On Mon, Mar 27, 2023 at 3:55 PM Igor Zhuravlov  wrote:

> Dear addon maintainers,
>
> 1. Addon code looks outdated a bit. Is it done intentional to provide
> addon
> compatibility with older JE versions? If not, I'd like to prepare pull
> request
> to update code. No hardcore with multitasking and modifier trains, just a
> few
> nice J9.4 features, plus some refactoring and bug fixes.
>
> 2. LAPACK specs distinguish "in" (i.e. read-only) parameters type. Those
> are
> eligible candidates to be marked with & instead of * in parameters list of
> addon interface verbs, to avoid copying. Are there any objections for this
> massive change?
>
> --
> Regards,
> Igor
>
>
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


[Jgeneral] math/lapack2 addon questions

2023-03-27 Thread Igor Zhuravlov
Dear addon maintainers,

1. Addon code looks outdated a bit. Is it done intentional to provide addon 
compatibility with older JE versions? If not, I'd like to prepare pull request 
to update code. No hardcore with multitasking and modifier trains, just a few 
nice J9.4 features, plus some refactoring and bug fixes.

2. LAPACK specs distinguish "in" (i.e. read-only) parameters type. Those are 
eligible candidates to be marked with & instead of * in parameters list of 
addon interface verbs, to avoid copying. Are there any objections for this 
massive change?

-- 
Regards,
Igor


--
For information about J forums see http://www.jsoftware.com/forums.htm