Sage install aborts: error building ppl

61 views
Skip to first unread message

Darij Grinberg

unread,
Nov 14, 2013, 3:53:52 PM11/14/13
to sage-...@googlegroups.com
Hi,

trying to install sage-5.11beta3 on a Ubuntu virtualbox inside a
Windows 7 host (64bit).

Here is what goes wrong:
https://dl.dropboxusercontent.com/u/83265276/ppl-1.1pre9.p0.log

The main error seems to be
"virtual memory exhausted: Cannot allocate memory"

I don't know enough about virtual machines to ensure that this is
really a VM bug, and even if it is, it is IMHO a Sage issue due to
virtual machines being an environment Sage absolutely has to run in.

Is there a way to skip a particular package when installing sage?

Thanks a lot,
Darij

Volker Braun

unread,
Nov 14, 2013, 8:51:06 PM11/14/13
to sage-...@googlegroups.com
How much memory (ram and swap) does your VM have? 

Darij Grinberg

unread,
Nov 14, 2013, 10:31:44 PM11/14/13
to sage-...@googlegroups.com
Hi Volker,

Good point -- looking at the virtualbox settings, I see I deceived it about having 6 cores (the machine has 8, but the VM is allowed only 1). It compiles well now without that parameter.

Thanks for the good question! What RAM, CPU, etc. settings would you recommend for a virtual machine running sage?

  Best regards,
  Darij

Volker Braun

unread,
Nov 14, 2013, 10:42:37 PM11/14/13
to sage-...@googlegroups.com

Darij Grinberg

unread,
Nov 15, 2013, 9:59:50 PM11/15/13
to sage-...@googlegroups.com
Thanks -- though I'd have preferred more about the number of CPUs (I
still don't know whether anything in Sage is parallelized).
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-devel" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-devel/QNZ062h5q2c/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-devel+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/groups/opt_out.

Volker Braun

unread,
Nov 15, 2013, 10:32:58 PM11/15/13
to sage-...@googlegroups.com
Parallel building is covered here: 


The more you do in parallel, the more ram you need obviously.
Reply all
Reply to author
Forward
0 new messages