[GAP Forum] how many memory needed to run a full combination of matrix with element 0 and 1
Lee Martin CCNP
tesleft at hotmail.com
Thu Sep 25 08:20:57 BST 2014
Hi Alexander,
out of memory, how to install 64 bit version of gap system
i remembered i installed rsync binary installer in the past. when i search download, i can not find 64 bit.
LoadPackage("singular");onelist := Tuples([0,1,0,1,0,1],3);onelist2 := [];Append( onelist2, onelist );Append( onelist2, onelist );Append( onelist2, onelist );matrixlist := Tuples(onelist2,3);matrixlist2 := [];Append( matrixlist2, matrixlist );Append( matrixlist2, matrixlist );Append( matrixlist2, matrixlist );ideallist := Tuples(matrixlist2,3);gap> ideallist := Tuples(matrixlist2,3);Error, exceeded the permitted memory (`-o' command line option) in tup[i] := l; called from TuplesK( set, k, [ ], 1 ) called from<function "Tuples">( <arguments> ) called from read-eval loop at line 67 of *stdin*you can 'return;'
Regards,
Martin
> Subject: Re: [GAP Forum] how many memory needed to run a full combination of matrix with element 0 and 1
> From: alexk at mcs.st-andrews.ac.uk
> Date: Wed, 24 Sep 2014 22:08:32 +0100
> CC: forum at gap-system.org
> To: tesleft at hotmail.com
>
> P.S. Please also note that these two commands return the same output:
>
> gap> Tuples([0,1],4);
> [ [ 0, 0, 0, 0 ], [ 0, 0, 0, 1 ], [ 0, 0, 1, 0 ], [ 0, 0, 1, 1 ],
> [ 0, 1, 0, 0 ], [ 0, 1, 0, 1 ], [ 0, 1, 1, 0 ], [ 0, 1, 1, 1 ],
> [ 1, 0, 0, 0 ], [ 1, 0, 0, 1 ], [ 1, 0, 1, 0 ], [ 1, 0, 1, 1 ],
> [ 1, 1, 0, 0 ], [ 1, 1, 0, 1 ], [ 1, 1, 1, 0 ], [ 1, 1, 1, 1 ] ]
> gap> Tuples([0,1,0,1,0,1,0,1],4);
> [ [ 0, 0, 0, 0 ], [ 0, 0, 0, 1 ], [ 0, 0, 1, 0 ], [ 0, 0, 1, 1 ],
> [ 0, 1, 0, 0 ], [ 0, 1, 0, 1 ], [ 0, 1, 1, 0 ], [ 0, 1, 1, 1 ],
> [ 1, 0, 0, 0 ], [ 1, 0, 0, 1 ], [ 1, 0, 1, 0 ], [ 1, 0, 1, 1 ],
> [ 1, 1, 0, 0 ], [ 1, 1, 0, 1 ], [ 1, 1, 1, 0 ], [ 1, 1, 1, 1 ] ]
>
> so you either may specify a set of values, or you may have in mind something different.
>
> BW,
> Alexander
>
>
>
>
> On 24 Sep 2014, at 18:06, Lee Martin CCNP <tesleft at hotmail.com> wrote:
>
> > Hi
> > how many memory needed to run the code below?
> > do gap system have memory limit when run the code below ?
> > since got out of memory in maple, i try full combination in gap system in 32bit virtual machine
> > my notebook has 8GB ram and assign 2 GB to 4 GB ram for virtual machine
> > then i know that 64bit do not have memory limit, then i plan and wait to buy a intel 61 cores for more than 128GB ram in future if i meet memory limit tomorrow.
> > it is just full combination of ideals, i can not imagine how much memory need for full combination of modules and whether can run with 61 cores
> > onelist := Tuples([0,1,0,1,0,1],3);onelist2 := [];Append( onelist2, onelist );Append( onelist2, onelist );Append( onelist2, onelist );matrixlist := Tuples(onelist2,3);
> > ideallist2 := [];Append( ideallist2, matrixlist );Append( ideallist2, matrixlist );Append( ideallist2, matrixlist );ideallist := Tuples(ideallist2,3);
> > ___________________________________________actually i expect to try onelist := Tuples([0,1,0,1,0,1,0,1],4);onelist := Tuples([0,1,0,1,0,1,0,1,0,1],5);
> > onelist := Tuples([0,1,2,0,1,2,0,1,2],3);onelist := Tuples([0,1,2,0,1,2,0,1,2,0,1,2],4);onelist := Tuples([0,1,2,0,1,2,0,1,2,0,1,2,0,1,2],5);
> > for above code too
> > Regards,
> > Martin
> > _______________________________________________
> > Forum mailing list
> > Forum at mail.gap-system.org
> > http://mail.gap-system.org/mailman/listinfo/forum
>
More information about the Forum
mailing list