[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 09:39:03 BST 2014


Hi Alexander,
i download the latest version of gap and succeed to compile and install with 64 bit versionsudo ./configure ABI=64it is not running virtual machine, it is run as dual boot with window. it has its real partition.however, it still return error, exceed permitted memory.
Regards,
Martin
> From: tesleft at hotmail.com
> To: alexk at mcs.st-andrews.ac.uk
> Date: Thu, 25 Sep 2014 15:39:38 +0800
> CC: forum at gap-system.org
> Subject: Re: [GAP Forum] how many memory needed to run a full combination of matrix with element 0 and 1
> 
> Hi Alexander,
> after find an machine which seems installed with configure in the past, 
> then i re compile it, got error after installed m4 sudo ./configure ABI=64sudo make
> config.status: creating Makefileconfig.status: creating extern/Makefileconfig.status: creating config.h( cd bin/x86_64-unknown-linux-gnu-gcc-default64/extern ; make TARGET='x86_64-unknown-linux-gnu' BASECC='gcc' ABI='64' ABI_CFLAGS='-m64' CC='gcc' GMP_VER='5.0.5' MAKE_GMP='gmp' CONFIGNAME='default64' )make[1]: Entering directory `/usr/local/lib/gap4r5/bin/x86_64-unknown-linux-gnu-gcc-default64/extern'
> Building GMP. Logging to bin/x86_64-unknown-linux-gnu-gcc-default64/extern/gmp-5.0.5/build_log. Please wait... 
> 
> Installing GMP in bin/x86_64-unknown-linux-gnu-gcc-default64/extern/gmp-5.0.5/. Logging to bin/x86_64-unknown-linux-gnu-gcc-default64/extern/gmp-5.0.5/build_log. Please wait... 
> make[1]: *** [gmp] Error 2make[1]: Leaving directory `/usr/local/lib/gap4r5/bin/x86_64-unknown-linux-gnu-gcc-default64/extern'make: *** [extern] Error 2mmartin at ubuntu:/usr/local/lib/gap4r5$ 
> Regards,
> Martin
> > From: tesleft at hotmail.com
> > To: alexk at mcs.st-andrews.ac.uk
> > Date: Thu, 25 Sep 2014 15:20:57 +0800
> > CC: forum at gap-system.org
> > Subject: Re: [GAP Forum] how many memory needed to run a full combination of matrix with element 0 and 1
> > 
> > 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
> > > 
> >  		 	   		  
> > _______________________________________________
> > Forum mailing list
> > Forum at mail.gap-system.org
> > http://mail.gap-system.org/mailman/listinfo/forum
>  		 	   		  
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum
 		 	   		  


More information about the Forum mailing list