calculation consistency & notebook "sleep"?

Hi everyone (happy holidays!)-

Quick question. Since I use a laptop (PowerBook/OSX) to do my Radiance experiments, I have always been loath to start any lengthy calculations on it, since I inevitably need to put the thing to "sleep" for transport to/from work, etc. The long calcs always run on a PC I have at the office. But it would be nice to be able to do test scenes on my laptop, and not have to worry about interrupting the process when I put the thing to sleep. So the question is, CAN I? That is to say, what happens if I start an rpict or rad process, then put the laptop to sleep? If I wake it up later will it pick up where it left off, or will there be errors in the calculation from that point on?

An inquiring mind wants to know.

Rob Guglielmetti
[email protected]
www.rumblestrip.org

Hi, I dont know if this helps you, but you might try to let the process
work in the background,
using the '&' sign at the end of the command like: rpict option option
model.oct &
You also might try to set the monitor to a non-existing external monitor,
that will cause the lcd to turn off, and maybe that saves enough energy to
keep your laptop awake during your travel.

Regards,

Iebele

Rob Guglielmetti wrote:

···

Hi everyone (happy holidays!)-

Quick question. Since I use a laptop (PowerBook/OSX) to do my Radiance
experiments, I have always been loath to start any lengthy calculations
on it, since I inevitably need to put the thing to "sleep" for
transport to/from work, etc. The long calcs always run on a PC I have
at the office. But it would be nice to be able to do test scenes on my
laptop, and not have to worry about interrupting the process when I put
the thing to sleep. So the question is, CAN I? That is to say, what
happens if I start an rpict or rad process, then put the laptop to
sleep? If I wake it up later will it pick up where it left off, or
will there be errors in the calculation from that point on?

An inquiring mind wants to know.

Rob Guglielmetti
[email protected]
www.rumblestrip.org

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Hi Rob,

if all else fails, read the instructions :). OK, I haven't done this
myself, but once I had at least a quick glimpse on them, and I remember
that rpict has a recovery-option (-r or -ro ??) which checks an
unfinished picture and resumes calculation at the point where it
stopped. Maybe this suits your needs, (haven't tried it myself so far),
so check the manpage to find out more.

- Carsten

ok
here pillo from his little (1 feet) ibook.. ;-))
if i understood well your question:
"may i use radiance in apple systems and putting them to sleep... what happens???"

and my bad english summary is right the answer is:

1) YES you can run radiance, putting the mac to sleep (SLEEP and not SHUT DOWN) and then wake it up to continue the calculation without any problem (i usually do it when i come back home from work).

2) if you want to logout or to quit the terminal you ca use the command 'nohup' followed by the command task not to be suspended (exemple: nohup rpict -ad 1231212......)

3) if radiance quits (as my friend Carsten said - potato factor expert !!!) you can recover your pict by recovery option (i tried it and it works, also on apple...!!)

i hope this helps.

nice holidays to all

pillothebeginner

···

On Sunday, December 29, 2002, at 11:13 PM, Rob Guglielmetti wrote:

Hi everyone (happy holidays!)-

Quick question. Since I use a laptop (PowerBook/OSX) to do my Radiance experiments, I have always been loath to start any lengthy calculations on it, since I inevitably need to put the thing to "sleep" for transport to/from work, etc. The long calcs always run on a PC I have at the office. But it would be nice to be able to do test scenes on my laptop, and not have to worry about interrupting the process when I put the thing to sleep. So the question is, CAN I? That is to say, what happens if I start an rpict or rad process, then put the laptop to sleep? If I wake it up later will it pick up where it left off, or will there be errors in the calculation from that point on?

An inquiring mind wants to know.

Rob Guglielmetti
[email protected]
www.rumblestrip.org

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Sleep mode should not affect a background (or foreground) calculation in any way. The processor picks up where it left off, and the only thing that has really changed as far as the programs can tell is the system clock. If reporting is switched on in rpict, you will see under the real time section that you have quite a bit of unaccounted time in the calculation, but the results won't be affected.

-Greg

···

Quick question. Since I use a laptop (PowerBook/OSX) to do my Radiance
experiments, I have always been loath to start any lengthy calculations
on it, since I inevitably need to put the thing to "sleep" for
transport to/from work, etc. The long calcs always run on a PC I have
at the office. But it would be nice to be able to do test scenes on my
laptop, and not have to worry about interrupting the process when I put
the thing to sleep. So the question is, CAN I? That is to say, what
happens if I start an rpict or rad process, then put the laptop to
sleep? If I wake it up later will it pick up where it left off, or
will there be errors in the calculation from that point on?

An inquiring mind wants to know.

Rob Guglielmetti

Greg Ward wrote:

Sleep mode should not affect a background (or foreground) calculation in any way.

Good news. Thanks Greg, Pillo, Carsten and Iebele, for the info. Iebele, for the record, your tip would not help me because what I am looking to do is to put my laptop in a bag and take it to/from work. When you close the lid, it automatically goes to sleep. So I was really interested in seeing what affect sleep mode has on an ongoing calculation, not so much how to avoid causing my computer to go to sleep. Thanks for the info though!

P.S.
I'm approaching my one year anniversary with my PowerBook, and I'm still very much in love. OSX is really an amazing OS (which is to say, UNIX is amazing). Coming from the underpriviledged world ruled by Bill Gates, I'm constantly amazed by the depth of UNIX; that Apple was able to build UNIX into a more user-friendly OS is indeed a godsend for people like me.

Happy New Year, to all the photon wranglers on the Radiance-General list!

···

----

      Rob Guglielmetti

e. [email protected]
w. www.rumblestrip.org