Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sometimes a computation takes a long time. But when I sleep in the night, I want to shutdown my PC. Next morning when I wake, I want to start Mathematica and resume the computation.

If you are familiar with the virtual machine VMWare, what I am looking for is a feature like VMWare's suspend/resume.

Does Mathematica have such a feature?

share|improve this question
    
Why not let the machine sleep rather than shutting it down (not entirely sure if this will always agree with running computations, though...)? You can save the kernel state with DumpSave (several Q&As on that around here). –  Yves Klett May 30 at 10:48
1  
The Windows 'hybernate' option does the job. –  Sjoerd C. de Vries May 30 at 10:49
    
@SjoerdC.deVries have you tried that with a running calculation (I just use sleep on Windows)? –  Yves Klett May 30 at 11:04
1  
@YvesKlett I have done so in the past and it seemed to work flawlessly. Can't try it right now. –  Sjoerd C. de Vries May 30 at 12:13
1  
It does not have such a feature. You either need to build resumability into your calculation manually (not always possible, but I have done this several times when it was convenient), or suspend it at the OS level as Yves and Sjoerd suggest. (Hibernate worked for me too.) –  Szabolcs May 30 at 14:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.