Hi Kapil, I have tested your plugin. The new directories and the checkpoint images are well created for each checkpoint but the old ckpt_xxx directory is still created. Do you think that it could also be possible to generate the .sh script in the new directory ?
By using a file to get the directory name, we may face permission and course issues if several users used DMTCP simultaneously. Instead of getting the directory name from a file, could it be possible to get it from an environment variable ? (I tried it by modifing the preCkpt function, it seems to work fine) Regards, Frédéric 2012/3/26, Kapil Arya <[email protected]>: > Oops, my bad. Here is the attachment. > > On Sat, Mar 24, 2012 at 1:29 PM, Kapil Arya <[email protected]> wrote: >> Hi Frédéric, >> >> I do have some new on it :). I have made some changes to dmtcp trunk >> to allow changing checkpoint directory on-the-fly by a dmtcp plugin. >> Here are the steps to use it: >> 1. Checkout latest dmtcp trunk: >> svn co https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk >> dmtcp-trunk >> 2. Extract the attached dmtcp plugin and put the directory "ckptDir" >> inside test/plugin/. >> 3. Compile DMTCP. >> 4. Goto test/plugin/ckptDir, modify ckptDir.c, and do a make to create >> ckptDir.so. >> >> The works by reading the file specified in ckptDir.c to find out the >> checkpoint-directory. You can change the file specified in ckptDir.c >> to point to a different directory before checkpoint and the new ckpt >> images will be written in that directory. >> >> To use this plugin, you have to modify your command line as follows: >> dmtcp_checkpoint --with-plugin /path/to/ckptDir.so ./a.out >> >> Let me know if you have any questions. >> Kapil >> >> >> >> On Fri, Mar 23, 2012 at 8:33 PM, Gene Cooperman <[email protected]> wrote: >>> Hi Kapil, >>> You might have missed this e-mail. Is there an updated status on >>> this? >>> >>> Thanks, >>> - Gene >>> >>> On Thu, Mar 22, 2012 at 11:28:03AM +0100, rtsw dev wrote: >>>> Hi Kapil, >>>> >>>> Do you have any news on that point ? >>>> >>>> >>>> Regards, >>>> Frédéric >>>> >>>> >>>> >>>> Le 02/12/2011 23:31, Kapil Arya a écrit : >>>> > Hi Frédéric, >>>> > >>>> > Sorry for the delay in replying to your mail. Unfortunately, we have >>>> > been quite busy for the last few weeks. I haven't had a chance to look >>>> > at this one yet. I will try to get back to you in a week or so. >>>> > >>>> > Thanks, >>>> > -Kapil >>>> > >>>> > On Mon, Nov 14, 2011 at 1:52 AM, Frederic Dumoulin >>>> > <[email protected]> wrote: >>>> > >>>> > Hi Kapil, >>>> > >>>> > Did you any way to modify the dmtcp_restart script ? >>>> > >>>> > >>>> > Regards, >>>> > Frédéric >>>> > >>>> > >>>> > Le 26/10/2011 01:13, Kapil Arya a écrit : >>>> > > We might avoid the second route :). I can update the way >>>> > > dmtcp_restart_script is generated so that it will store both >>>> > symlinks, >>>> > > and absolute paths in the restart script. The user can then pass >>>> > a >>>> > > flag to indicate the desired scheme. How does that sound? >>>> > > >>>> > > -- Kapil >>>> > >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF email is sponsosred by: >>>> Try Windows Azure free for 90 days Click Here >>>> http://p.sf.net/sfu/sfd2d-msazure >>>> _______________________________________________ >>>> Dmtcp-forum mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/dmtcp-forum >>> >>> ------------------------------------------------------------------------------ >>> This SF email is sponsosred by: >>> Try Windows Azure free for 90 days Click Here >>> http://p.sf.net/sfu/sfd2d-msazure >>> _______________________________________________ >>> Dmtcp-forum mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/dmtcp-forum > ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Dmtcp-forum mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dmtcp-forum
