Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install_package('...') through the notebook far less verbose #1439

Closed
williamstein opened this issue Dec 9, 2007 · 6 comments
Closed

Comments

@williamstein
Copy link
Contributor

Background:

On Dec 9, 2007 1:00 PM, root <[email protected]> wrote:
> >The main plus of this packaging for sage is that it builds from
> >source quickly (in a few minutes) using precompiled clisp files.
> 
> Well, on my 2Ghz machine with 2 Gig of memory running VMWare and
> using the sage vmware image (but upgrading the VM to have 1G memory)
> I started the package-install at 3:30am this morning. It is now
> 2:10pm and the build is still "in-process". They are heavy things,
> your minutes :-)

On a 1.8Ghz opteron (sagemath.org) it takes 18 minutes (I just tested 
the install).   I am completely baffled that it would take > 11 hours to
install into vmware under windows.  I'll look into that next time I get a
chance to use windows (in my office).   Thanks for reporting the problem. 

> Likely a portion of the problem is due to starting the package-install
> from the notebook. I'm running native windows and sage in the VM and
> connecting thru the browser.

That is very likely the problem.  The output of installing packages through
the notebook is way too verbose, so this is in fact a likely source of
the problem (which could be remedied).   Better would be to login as "manage"
and type "sage -i fricas-0.3.1".  

> I suspect a lot of CPU is going into running jsMath to redraw the
> output page. The Fricas build has a lot of output (which could be
> suppressed during package-install) and jsMath is not fast. Axiom
> has a NOISE variable in the Makefiles to suppress most output.

Excellent. 

> You might consider a note suggesting that installs be done from
> inside the virtual machine rather than thru the notebook interface.

Better would be to fix things so they work through the notebook well.

The fix would likely be to execute the update command, but pipe everything
to a file, and include a link to that file in the output (so one can look
at it and press refresh in the browser to test status).

CC: @williamstein

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/1439

@williamstein
Copy link
Contributor Author

comment:1

This confirms my hypothesis...

Well,per your request, I logged in to the Sage VM and did
 sage -f fricas-0.3.1
simply hangs. However,
 sage -f axiom4sage-0.3.1
succeeds and shows a total time of
 real 18m42
or, if I include network time
 real 19.6
which is about the wall-clock time.

So there appears to be a suggestion that it might
be a good idea to do package installs directly rather
than thru the notebook interface. Potentially this
could be due to the large amount of screen output.

Apparently the package rename didn't work.

@sagetrac-mabshoff sagetrac-mabshoff mannequin changed the title (EASY) make install_package('...') through the notebook far less verbose [Bug Day Material] (EASY) make install_package('...') through the notebook far less verbose Feb 15, 2008
@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Feb 16, 2008

comment:3

This is related to #2174.

Cheers,

Michael

@TimDumol
Copy link
Mannequin

TimDumol mannequin commented Jan 18, 2010

comment:4

Doesn't seem to be a problem anymore. Close?

@TimDumol
Copy link
Mannequin

TimDumol mannequin commented Jan 18, 2010

Work Issues: Close/mark as fixed?

@TimDumol
Copy link
Mannequin

TimDumol mannequin commented Jan 19, 2010

comment:5

Works with sagenb-0.6

@TimDumol TimDumol mannequin closed this as completed Jan 19, 2010
@TimDumol TimDumol mannequin modified the milestone: sage-4.3.1 Jan 19, 2010
@sagetrac-mvngu sagetrac-mvngu mannequin changed the title [Bug Day Material] (EASY) make install_package('...') through the notebook far less verbose make install_package('...') through the notebook far less verbose Jan 19, 2010
@jdemeyer
Copy link

jdemeyer commented Sep 9, 2015

Changed work issues from Close/mark as fixed? to none

@jdemeyer jdemeyer removed this from the sage-4.3.1 milestone Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants