[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[condor-users] getcwd on migrated process



Hello,

I'm trying to use Condor Stand-Alone Checkpointing to migrate tasks between hosts running Linux 2.4.9. Checkpointing is performed by implicit call to ckpt_and_exit(). When restarted, the process executes system function getcwd(), which actually returns the local path of the code before restart, while it restarts in different directory of another host.
How to make getcwd() returning the right current working directory?

Thanks,

Anton