Hi Kapil,
So do you have the ability the know following:
- Absolute path at time of opening the file = ABS_FILE
- Absolute path at the time of checkpointing = ABS_CKPT
- Absolute path when restoring = ABS_RESTORE
If we know all these, then when we should probably have logic like the
following:
During checkpointing:
- Look for the ABS_FILE
During restore:
- Determine whether file is relative (e.g. strstr(ABS_FILE, ABS_CKPT) !=
NULL)
- If yes, then check for the file in relation to ABS_RESTORE
- If no or relative files does not exist, then check for the file as
ASB_FILE
Of course, there's a few things I don't know here. What is the ABS_CKPT? I'm
making an assumption that it's actually the directory where the coordinator was
launched, and that was where my top level script/app was run from, and that all
relative paths are beneath the launch directory.
Joshua Louie
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum