OK, as requested - Last login: Thu Jan 17 10:40:38 on ttys009 MBpro:~ jkt$ /Users/jkt/Desktop/j807\~avx/bin/jconsole ; exit; JVERSION Engine: j807/j64nonavx/darwin Release-a: commercial/2019-01-11T11:44:43 Library: 8.07.22 Platform: Darwin 64 Installer: J807 install InstallPath: /users/jkt/desktop/j807~avx Contact: www.jsoftware.com load 'plot' 'surface' plot +/~ 1 o. i: 6.28j99 |NaN error: mp | dat=.}:"1(y,.1) mp Tfm NB. I did dbr 1 (actually I used debug 1 which was my cover from last century...) NB. in response to the request from Henry NB. and, paying attention to Eric asking for an example from clean start. NB. Hard to be cleaner than launching jconsole from a fresh install (as in this example) NB. However, here is Catch-22 ... dbr 1 'surface' plot +/~ 1 o. i: 6.28j99 NB. Worked beautifully and produced the expected result just fine!! (so, any other ideas NB. on how to capture the values creating the "NaN error: mp" ?? exit 0 logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed]
Yes, it is clearly not a hardware problem, but trying for the linux environment - The failure reported in (my non GUI) Linux system is - jkt@set1:~$ ja JVERSION Engine: j807/j64nonavx/linux Release-a: commercial/2019-01-11T11:06:44 Library: 8.07.22 Platform: Linux 64 Installer: J807 install InstallPath: /usr/local/lib/j64-807 Contact: www.jsoftware.com load 'plot' 'surface' plot +/~ 1 o. i: 6j99 Unable to init server: Could not connect: Connection refused Cannot parse arguments: Cannot open display: ts '' 2019 1 17 19 22 17.938302 host 'ls -lrt ~/Documents/jstuff/j64-807-user/temp' total 4100 -rw-rw-r-- 1 jkt jkt 2839960 Jan 11 08:15 libj-nonavx.so drwxrwxr-x 2 jkt jkt 4096 Jan 14 09:35 je_update -rw-rw-r-- 1 jkt jkt 1347264 Jan 17 19:22 plot.pdf But, as shown above, the .pdf file is created there anyway. This also happens in the NaN error situation in Darwin - the PDF output file is created, then the error occurs. So, I have to think that things go into the weeds between the creation of the PDF file and the launch of the Preview display. Turning on debug causes a change that avoids the problem. A similar thing, but different error, happens in Raspberry Pi jkt@RPi-3-64:~/Downloads$ ja JVERSION Engine: j807/j32/raspberry Release-a: commercial/2019-01-12T05:54:03 Library: 8.07.22 Platform: Linux 32 Installer: J807 install InstallPath: /usr/local/lib/j807 Contact: www.jsoftware.com load 'plot' plot ?~9 sh: 1: : Permission denied ts '' 2019 1 17 20 11 46.271807 host 'ls -lrt ~/Documents/jstuff/j807-user/temp' total 2724 -rw-rw-r-- 1 jkt jkt 2686633 Jan 14 05:39 libj.so drwxrwxr-x 2 jkt jkt 4096 Jan 17 19:37 je_update -rw-rw-r-- 1 jkt jkt 94704 Jan 17 20:11 plot.pdf This also happens when running j in a GUI on the Pi. Even though I rarely/never use the GUI interface, I should figure out what the permissions problem is so that I could do plots in that environment. Hope this is helpful to find the culprit. - joey > On 2019Jan 17, at 14:51, bill lam <bbill....@gmail.com> wrote: > > initiate a debug session first by > dbr 1 > > and then run the surface plot, when it suspended , the values of y and Tfm > can examined. > > > On Fri, Jan 18, 2019, 2:45 AM Joey K Tuttle <j...@qued.com wrote: > >> In my various rambles, I made this point. >> >> iMi7:bin jkt$ ja >> JVERSION >> Engine: j807/j64nonavx/darwin >> Release-a: commercial/2019-01-11T11:44:43 >> Library: 8.07.22 >> Platform: Darwin 64 >> Installer: J807 install >> InstallPath: /applications/j64-807 >> Contact: www.jsoftware.com >> load 'pacman' >> 'update' jpkg '' >> Updating server catalog... >> Local JAL information was last updated: 16 Jan 2019 08:14:56 >> All available packages are installed and up to date. >> >> load 'plot' >> plot ?~9 NB. trivial plot >> NB. resulting PDF displayed by Preview was blank >> >> 'surface' plot +/~ 1 o. i: 6.28j99 NB. Devon's lovely demo >> |NaN error: mp >> | dat=.}:"1(y,.1) mp Tfm >> >> NB. error is not good. >> >> What I didn't say was that this exact same script works just fine with >> expected results in the - >> >> MBpro:~ jkt$ ja >> JVERSION >> Engine: j807/j64/darwin >> Release-a: commercial/2019-01-11T11:43:43 >> Library: 8.07.22 >> Platform: Darwin 64 >> Installer: J807 install >> InstallPath: /applications/j64-807 >> Contact: www.jsoftware.com >> >> BUT downloading the nonavx version onto the same machine - >> >> MBpro:~ jkt$ /Users/jkt/Desktop/j807\~avx/bin/jconsole ; exit; >> JVERSION >> Engine: j807/j64nonavx/darwin >> Release-a: commercial/2019-01-11T11:44:43 >> Library: 8.07.22 >> Platform: Darwin 64 >> Installer: J807 install >> InstallPath: /users/jkt/desktop/j807~avx >> Contact: www.jsoftware.com >> >> load 'plot' >> plot ?~9 >> NB. produced empty PDF >> >> 'surface' plot +/~ 1 o. i: 6.28j99 >> |NaN error: mp >> | dat=.}:"1(y,.1) mp Tfm >> NB. No PDF produced, same failure as on the originally reported system >> >> ~~~ >> >> Looks like a bug in the avx versus nonavx versions... >> >> Anyone out there using Engine: j807/j64nonavx/darwin that can check to >> see if they get the failure? >> >> - joey >> >> ---------------------------------------------------------------------- >> 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