瀏覽代碼

rebidouille

Romain LION 5 年之前
父節點
當前提交
03fd110f49
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      mpi/src/mpi_failure_tolerance/starpu_mpi_checkpoint.c

+ 2 - 0
mpi/src/mpi_failure_tolerance/starpu_mpi_checkpoint.c

@@ -178,6 +178,8 @@ int starpu_mpi_submit_checkpoint_template(starpu_mpi_checkpoint_template_t cp_te
 				arg->cache_flag = 0;
 				arg->msg.checkpoint_id = cp_template->cp_id;
 				arg->msg.checkpoint_instance = current_instance;
+				if (arg->msg.checkpoint_instance>3)
+					fprintf(stderr, "arg->msg.checkpoint_instance:%d\n", arg->msg.checkpoint_instance);
 				if (item->backupped_by != -1)
 				{
 					cpy_ptr = malloc(item->count);