From: Samaneh <kaz...@gm...> - 2013-10-11 11:19:43
|
Hi, Sure, I'll look at it today. Best, Samaneh > On Oct 11, 2013, at 7:07 AM, Gene Cooperman <ge...@cc...> wrote: > > Thanks very much for the bug report, Alan. We'll definitely > look into this quickly. You're right that this method is > "a bit surprising, but _very convenient_". We'll either restore > that behavior in DMTCP-2.x, or else provide an equivalent way > to get the same functionality. > > Samaneh, would you have time today to take a first look at the issue, > to see what is the difference between DMTCP 1.2.8 and 2.0?. > > Thanks, > - Gene > >> On Thu, Oct 10, 2013 at 10:09:15PM -0500, Alan De Smet wrote: >> I've been starting my executables with something like: >> >> dmtcp_checkpoint --port 0 ./myprogram <filein 1>output 2>error >> >> and restarting them with something like >> >> ./dmtcp_restart_script.sh --ckptdir ./ >> >> In 1.2.8, this worked fine. In particular, on restart, >> standard output (the file output, above) would be truncated back >> to the correct location and further standard output would end up >> there, despite my not specifying "1>output" on the restart. That >> this worked was a bit surprising, but very convenient. >> >> In 2.0, this no longer works. On restart, the output file is >> ignored and standard output goes to standard output. >> >> Is there a way to get the old behavior, or something similar out >> of 2.0? I'd be okay with passing something like >> "--put-stdout-here=output" to dmtcp_checkpoint and/or >> dmtcp_restart_script.sh. If this functionality isn't in 2.0, >> could it be? >> >> -- >> Alan De Smet Center for High Throughput Computing >> ad...@cs... http://chtc.cs.wisc.edu >> >> ------------------------------------------------------------------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >> the latest Intel processors and coprocessors. See abstracts and register > >> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk >> _______________________________________________ >> Dmtcp-forum mailing list >> Dmt...@li... >> https://lists.sourceforge.net/lists/listinfo/dmtcp-forum |