ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 03 Oct 2014 04:32:39 -0500Cloud.Sagemath Versus Local Installhttp://ask.sagemath.org/question/24380/cloudsagemath-versus-local-install/I have students using cloud.sagemath for some Project Euler problems, and some of their programs appear to be taking quite some time to complete. How does cloud.sagemath compare to a local installation? In particular:
1. Can programs executed through cloud.sagemath run for an arbitrary amount of time? If not, is any kind of message printed when they are terminated?
2. How would runtimes on a local install on a "typical baseline" computer compare with runtimes at cloud.sagemath?Thu, 02 Oct 2014 19:49:40 -0500http://ask.sagemath.org/question/24380/cloudsagemath-versus-local-install/Answer by tmonteil for <p>I have students using cloud.sagemath for some Project Euler problems, and some of their programs appear to be taking quite some time to complete. How does cloud.sagemath compare to a local installation? In particular:</p>
<ol>
<li>Can programs executed through cloud.sagemath run for an arbitrary amount of time? If not, is any kind of message printed when they are terminated?</li>
<li>How would runtimes on a local install on a "typical baseline" computer compare with runtimes at cloud.sagemath?</li>
</ol>
http://ask.sagemath.org/question/24380/cloudsagemath-versus-local-install/?answer=24381#post-id-24381Unless the cloud is overloaded, there should not be so much difference. In case of doubt, just run a given program on both your personal computer and the cloud and use ``%timeit my_sage_command`` so see how long it takes in both cases. Anyway, the main rule of project Euler is that the solution should not last more than one minute on a modest computer, so it is lilely your student's programs are not optimal
Fri, 03 Oct 2014 04:32:39 -0500http://ask.sagemath.org/question/24380/cloudsagemath-versus-local-install/?answer=24381#post-id-24381