I recently had problems with GMP too on my AVX (not AVX2) laptop. They seem to be solved with the most recent beta. With a fresh install from the install package "j904_linux64.tar.gz 2023-01-24 17:44 3.4M j904 linux 64-bit" from http://www.jsoftware.com/download/j904/install/ , I initially got a crash report when trying x: in jconsole immediately, but that got resolved after running updateje.sh . My session log:
jpjacobs@icarus:~/j904$ ./bin/jconsole x: NB. this was before running updateje.sh x: x: 100 JE has crashed, likely due to an internal bug. Please report the code which caused the crash, as well as the following printout, to the J programming forum. 00000000004030a2: ?:0: ? 00007f8788bf451f: ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0: ? 00007f8783c1ce2e: ?:0: ? 00007f8784343554: ?:0: ? 00007f8784343f97: ?:0: ? 00007f878434796b: ?:0: ? 00007f87843494c1: ?:0: ? 00007f878434934b: ?:0: ? 00007f87843688d9: ?:0: ? 00007f8784354bf1: ?:0: ? 00007f87843549a3: ?:0: ? 0000000000402f9f: ?:0: ? 00007f8788bdbd8f: sysdeps/nptl/libc_start_call_main.h:58: __libc_start_call_main 00007f8788bdbe3f: csu/libc-start.c:392: __libc_start_main_impl 00000000004024ed: ?:0: ? ffffffffffffffff: ?:0: ? ----------------------------------------------------------------------------- Aborted (core dumped) jpjacobs@icarus:~/j904$ ./updateje.sh Engine: j9.4.0-beta11/j64avx/linux Commercial: www.jsoftware.com/clang-11-0-0 Library: 9.04.11 Platform: Linux 64 Installer: J904 install InstallPath: /home/jpjacobs/j904 Contact: 2023-02-11T16:14:34 jpjacobs@icarus:~/j904$ ./bin/jconsole x: 100 100 >: x: 100 101 datatype >: x: 100 So functionally it seems fine eventually; and it seems this would also be accomplished by doing the install '*' recommended in the installation instructions. Maybe there is still an incompatibility between the non-avx binary and libgmp causing the initial crash? Not an immediate problem for me though. Best regards, Jan-Pieter Op vr 17 feb. 2023 om 07:34 schreef Devon McCormick <devon...@gmail.com>: > If it's the GMP that tripped me up by giving a nonce error on "x:" last > month, you need to > load 'pacman' > install'gmp' > > > On Fri, Feb 17, 2023 at 12:26 AM 'Pascal Jasmin' via Programming < > programm...@jsoftware.com> wrote: > > > > > > > There is also a numeric library install required (forget which one) that > > while it shouldn't crash without it, will not produce extended results. > > > > > > > > > > On Thursday, February 16, 2023 at 10:31:45 p.m. EST, bill lam < > > bbill....@gmail.com> wrote: > > > > > > > > > > > > We have received reports on the crash but can't reproduce by ourselves. > > Would you give detail of the 2 computers such > > linux distro name and version, and > > version of glibc ( ldd --version) > > > > On Fri, Feb 17, 2023 at 11:22 AM Omar Antolín Camarena < > > omar.anto...@gmail.com> wrote: > > > > > > And it no longer crashes. > > > > > > There's a little bit of luck involved in that. I use J on two > computers, > > on > > > one j904 works just fine but on the other doing anything at all using > > > extended integers makes it crash. > > > > > > > > > On Thu, Feb 16, 2023 at 9:19 PM Mike Duvos <mdu...@gmail.com> wrote: > > > > > > > Thanks. I got j904 installed from the zips. Surprisingly, it is up > to > > > 58 > > > > times faster doing modular exponentiation on large extended precision > > > > integers. And it no longer crashes. > > > > > > > > On Thu, Feb 16, 2023 at 6:24 PM Devon McCormick <devon...@gmail.com> > > > > wrote: > > > > > > > > > It's probably blank because there is no all-in-one installer for > > 9.04. > > > > > Raul is correct that you have to install it from zips. > > > > > > > > > > On Thu, Feb 16, 2023 at 8:24 PM Raul Miller <rauldmil...@gmail.com > > > > > > wrote: > > > > > > > > > > > I don't know why there's a link to a non-existent all in one > page. > > > > > > > > > > > > For now, I think you have to install it from a zip archive: > > > > > > https://code.jsoftware.com/wiki/System/Installation/J904/Zips > > > > > > > > > > > > I hope this helps, > > > > > > > > > > > > -- > > > > > > Raul > > > > > > > > > > > > On Thu, Feb 16, 2023 at 7:50 PM Mike Duvos <mdu...@gmail.com> > > wrote: > > > > > > > > > > > > > > I went to the Wiki page for j904 and clicked on the all-in-one > > > > > installer > > > > > > > for Windows, and it took me to a Wiki page with nothing on it. > > Do > > > I > > > > > have > > > > > > > to install it some other way? > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Thu, Feb 16, 2023 at 3:32 PM Raul Miller < > > rauldmil...@gmail.com > > > > > > > > > > wrote: > > > > > > > > > > > > > > > When I run (genkey 32) under j903, I get a crash. > > > > > > > > > > > > > > > > When I run (genkey 32) under j904, it works fine. > > > > > > > > > > > > > > > > A number of issues have been addressed in j904 (and it's > almost > > > > ready > > > > > > > > for release). It might be worth upgrading. > > > > > > > > > > > > > > > > -- > > > > > > > > Raul > > > > > > > > > > > > > > > > On Thu, Feb 16, 2023 at 6:21 PM Mike Duvos <mdu...@gmail.com > > > > > > wrote: > > > > > > > > > > > > > > > > > > I installed it a few weeks ago from the link in the wiki to > > the > > > > > most > > > > > > > > recent > > > > > > > > > stable version. If I click on “about” in jqt , it says… > > > > > > > > > > > > > > > > > > Engine: j903/j64avx2/windows > > > > > > > > > > > > > > > > > > It said the beta was for “adventurous users.” > > > > > > > > > > > > > > > > > > Should I be running a different one? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Thu, Feb 16, 2023 at 3:01 PM Elijah Stone < > > > > elro...@elronnd.net> > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > What version of je are you running? I get innocuous > > results: > > > > > > > > > > > > > > > > > > > > genkey 32 > > > > > > > > > > 15970092203996114281 4061548213 3932020837 > > > > > > > > > > genkey 32 > > > > > > > > > > 14979749644274477941 4038627851 3709118591 > > > > > > > > > > genkey 32 > > > > > > > > > > 15125320685289546439 3974107847 3805966337 > > > > > > > > > > > > > > > > > > > > If you are not running the latest beta, I suggest doing > so; > > > > among > > > > > > other > > > > > > > > > > things, support for extended-precision numbers was much > > > > improved. > > > > > > > > > > > > > > > > > > > > On Thu, 16 Feb 2023, Mike Duvos wrote: > > > > > > > > > > > > > > > > > > > > > I wrote a brief J script to generate random RSA keys in > > > > various > > > > > > > > > > lengths. I > > > > > > > > > > > put a copy in my Dropbox at the following URL… > > > > > > > > > > > > > > > > > > > > > > https://www.dropbox.com/s/0y0tpgtjtv4vvd2/rsakeys.ijs > > > > > > > > > > > > > > > > > > > > > > In this script is a function called “genkey” which > > crashes > > > J. > > > > > > > > > > > > > > > > > > > > > > genkey =: 3 : 0"0 > > > > > > > > > > > > > > > > > > > > > > q =. p =. randprime y > > > > > > > > > > > > > > > > > > > > > > while. q = p > > > > > > > > > > > > > > > > > > > > > > do. > > > > > > > > > > > > > > > > > > > > > > q =. randprime y > > > > > > > > > > > > > > > > > > > > > > end. > > > > > > > > > > > > > > > > > > > > > > if. p < q > > > > > > > > > > > > > > > > > > > > > > do. > > > > > > > > > > > > > > > > > > > > > > 'p q'=. q,p > > > > > > > > > > > > > > > > > > > > > > end. > > > > > > > > > > > > > > > > > > > > > > (p*q),p,q > > > > > > > > > > > > > > > > > > > > > > ) > > > > > > > > > > > > > > > > > > > > > > randprime y returns a random prime of length y bits > with > > > the > > > > > > upper > > > > > > > > two > > > > > > > > > > bits > > > > > > > > > > > set as an extended precision integer. It seems rock > > solid > > > > and > > > > > > has > > > > > > > > been > > > > > > > > > > > called millions of times without issue. > > > > > > > > > > > > > > > > > > > > > > genkey picks a prime, p, and another prime not equal to > > it, > > > > q, > > > > > > and > > > > > > > > swaps > > > > > > > > > > > them if necessary so p is the larger one. It then > > returns > > > a > > > > > > vector > > > > > > > > of > > > > > > > > > > > length 3, consisting of p*q, p, and q. > > > > > > > > > > > > > > > > > > > > > > If you load this script, and type “genkey 32”, you get > a > > “J > > > > has > > > > > > > > stopped > > > > > > > > > > > working, reporting to Microsoft” dialogue box > > immediately. > > > > > > > > > > > > > > > > > > > > > > If I write another function, “keygen” which does the > same > > > > thing > > > > > > as > > > > > > > > > > genkey, > > > > > > > > > > > but phrased slightly differently, it works perfectly. > > > > > > > > > > > > > > > > > > > > > > keygen =: 3 : 0"0 > > > > > > > > > > > > > > > > > > > > > > z =. '' > > > > > > > > > > > > > > > > > > > > > > while. 2 > #z > > > > > > > > > > > > > > > > > > > > > > do. > > > > > > > > > > > > > > > > > > > > > > z =. ~. z , randprime y > > > > > > > > > > > > > > > > > > > > > > end. > > > > > > > > > > > > > > > > > > > > > > (*/z),\:~z > > > > > > > > > > > > > > > > > > > > > > ) > > > > > > > > > > > > > > > > > > > > > > keygen 5#32 > > > > > > > > > > > > > > > > > > > > > > 13636890702424146503 3697445573 3688192411 > > > > > > > > > > > > > > > > > > > > > > 14042631972443509627 3975272443 3532495489 > > > > > > > > > > > > > > > > > > > > > > 15856784938324374101 4290006247 3696214883 > > > > > > > > > > > > > > > > > > > > > > 12482175669738327193 3743048207 3334762199 > > > > > > > > > > > > > > > > > > > > > > 14012721502477771067 4146478969 3379426643 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I’m new to J programming, so I’m sure I’ve just done > > > > something > > > > > > > > dumb. Any > > > > > > > > > > > insights would be appreciated. > > > > > > > > > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Devon McCormick, CFA > > > > > > > > > > Quantitative Consultant > > > > > > > ---------------------------------------------------------------------- > > > > > For information about J forums see > > http://www.jsoftware.com/forums.htm > > > > > > > > > > ---------------------------------------------------------------------- > > > > For information about J forums see > http://www.jsoftware.com/forums.htm > > > > > > > > > > > > > -- > > > Omar Antolín Camarena > > > > > ---------------------------------------------------------------------- > > > 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 > > > > > -- > > Devon McCormick, CFA > > Quantitative Consultant > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm