当前位置: 首页 > 工具软件 > DMTCP > 使用案例 >

dmtcp simple usage (checkpointing)

东门晨
2023-12-01

download: http://dmtcp.sourceforge.net/

tar zxf xxxx

./configure --prefix=xxx

make 

make install


edit .bashrc: add two lines:

export PATH=xxx/bin:$PATH
export JALIB_UTILITY_DIR=xxx/bin


usage:

1. start  dmtcp_coordinator 手动保存

dmtcp_coordinator
或 自动保存(3600 秒 存一次)
dmtcp_coordinator -i 3600


2. start your program

dmtcp_checkpoint ./a.out

2.5 checkpointing

in coordinator: press c <ENTER>


2. batch mode (instead above) 

dmtcp_checkpoint -n -b -i 60 ../a.out


3. restart program

under checkpointing directory(usually where coordinator is started)

./dmtcp_restart_script.sh

 类似资料:

相关阅读

相关文章

相关问答