On Jan 8, 2:33 pm, "William Stein" <wst...@gmail.com> wrote:
> Hi,
Hi,
> One of the virtual machines I use for building Sage has 512MB RAM and
> is running Linux CentOS 64-bit.
> In trying to build Sage it gets to linbox:
>
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I. -I../../linbox -g
> -I/home/wstein/build/centos64/build/sage-3.2.3/local/include/linbox
> -I/home/wstein/build/centos64/build/sage-3.2.3/local/include -O2
> -DDISABLE_COMMENTATOR
> -I/home/wstein/build/centos64/build/sage-3.2.3/local/include
> -I/home/wstein/build/centos64/build/sage-3.2.3/local/include
> -I/home/wstein/build/centos64/build/sage-3.2.3/local/include -g -fPIC
> -I/home/wstein/build/centos64/build/sage-3.2.3/local/include
> -I/home/wstein/build/centos64/build/sage-3.2.3/local/include/linbox
> -L/home/wstein/build/centos64/build/sage-3.2.3/local/lib
> -I/home/wstein/build/centos64/build/sage-3.2.3/spkg/build/linbox-1.1.6/src
> -I/home/wstein/build/centos64/build/sage-3.2.3/spkg/build/linbox-1.1.6/src/
> linbox
> -I/home/wstein/build/centos64/build/sage-3.2.3/local/include
> -I/home/wstein/build/centos64/build/sage-3.2.3/local/include
> -D__LINBOX_HAVE_CBLAS -c linbox-sage.C -fPIC -DPIC -o
> .libs/linbox-sage.o
> [... sits here for at least 24 hours...]
>
> Note that there is only 512MB RAM allocated to this machine (obviously
> I'll increase this at some point).
Yeah.
> wst...@centos64:~/build/centos64/build/sage-3.2.3$ free
> total used free shared buffers cached
> Mem: 510788 189260 321528 0 39452 87596
>
> Question: Do you think the Sage prereq check at the very beginning
> should simply refuse to try to build sage if the user has less than
> 1GB RAM? Or, at a minimum, it could give a huge warning, and have an
> environment variable that one can set to get around this constraint?
The gcc memory requirements are not consistent, i.e. gcc 3.4.x does
compile the LinBox extension using about 350 MB peak or so. For gcc
4.x it seems that maybe 750 MB is peak consumption. So I am not sure
what to do, i.e. if we make this dependent on the gcc version used we
should maybe print a big, fat warning, but go on to build.
> William
Cheers,
Michael
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---