continue calculation after power failure



Razif,

You can use the command 'save' to store your intermediate results into a
file, and 'load' to restore them.   You'll probably also want to save some
indication of which was the most recent result.  If I were you, I would
name the intermediate results rather than use '%'.

Without looking at the details of your computation, a few simple questions:


   - How confident are you that this computation will complete in a
   reasonable amount of time (with or without restarts)?  (What do the
   intermediate times look like?)
   - How confident are you that the final result will be useful?  What are
   the sizes of the intermediate expressions, and how confident are you that
   there will be enough simplifications that the final result will be
   manageable?

           -s

On Thu, Apr 19, 2012 at 03:14, razif razali <razif66 at gmail.com> wrote:

> Here i attach my sample code.
> Download both file in same folder and batch("pnn_42"); inside Maxima
>
> On Thu, Apr 19, 2012 at 10:55 AM, razif razali <razif66 at gmail.com> wrote:
>
>> How to periodically backup and rerun the calculation?
>>
>> Before this I got not enough RAM but then I create large swap memory for
>> this and it run non stop for 4days before I got power failure, I will
>> attach my code here soon since I reply this using phone..thanks RJF
>>  On Apr 19, 2012 10:37 AM, "Richard Fateman" <fateman at eecs.berkeley.edu>
>> wrote:
>>
>>>  Not automatically.
>>>
>>> You would have to make periodic backup/restart by saving stuff.
>>>
>>> Getting maxima to re-load and restart from a backup on auto-reboot is
>>> presumably possible.
>>>
>>> It is also possible that you could figure out how to make your program
>>> run faster.  4 days on a PC ?? Do you have enough memory??  Is
>>> there a better algorithm??
>>>
>>> RJF
>>>
>>> On 4/18/2012 6:44 PM, razif razali wrote:
>>>
>>> Dear Maxima users,
>>>
>>>  I just want to ask if there any possibility that I can resume my
>>> calculation in MAXIMA if my PC suddenly reboot on it ownself since my
>>> calculation already takes 4days and it will take more time if I need to
>>> start from zero back.
>>>
>>>  Thanks a lot, hope to get reply from all of you soon.
>>>
>>>  --
>>> Regards,
>>>
>>> RAZIF RAZALI,
>>> Tutor & Master Student,
>>> Physics Department,
>>> Faculty Of Science,
>>> Universiti Teknologi Malaysia(UTM).
>>> +60199393606
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Maxima mailing listMaxima at math.utexas.eduhttp://www.math.utexas.edu/mailman/listinfo/maxima
>>>
>>>
>>>
>
>
> --
> Regards,
>
> RAZIF RAZALI,
> Tutor & Master Student,
> Physics Department,
> Faculty Of Science,
> Universiti Teknologi Malaysia(UTM).
> +60199393606
>
>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>