Below was just a trial.
load'primitives'
from
{
box
<
base
#.
perm =: i.@! A. i.
$PanDigS =: (perm 4) from (1 + i.4)
24 4
7!:5 <'PanDigS'
1024
PanDigT =: 10 base"1 each 3 box\"1 PanDigS
JVERSION
Engine: j807/j64/darwin
Release-c: commercial/2019-02-24T10:50:40
Library: 8.07.26
Platform: Darwin 64
Installer: J807 install
InstallPath: /users/brian/j64-807
Contact: www.jsoftware.com
On Sun, Feb 7, 2021 at 6:33 AM Francesco Pedulla' <[email protected]> wrote:
> The following piece of code does not work on Ubuntu 20.04.
>
> load 'primitives'
>
> perm =: i.@! A. i.
>
> PanDigS =: (perm 10) from (1 + i.10)
>
> PanDigT =: 10 base"1 each 3 box\"1 PanDigS
>
>
> The effect is variable: crash of the J interpreter, freeze of the Qt
> interface or even of the whole system. It shows up both on J807 and J902.
>
> The dataset is quite large:
>
>
> 7!:5 <'PanDigS'
>
> 5.36871e8
>
>
> and the process crashes (or the system freezes) after several seconds.
> Hence, I suspect an issue with memory management.
>
> Any idea or suggestion on how to bypass the problem?
>
> Thanks,
>
>
> Francesco
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
(B=) <-----my sig
Brian Schott
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm