vprivcheckpoint.c

来自「Path MPICH-V for MPICH the MPI Implement」· C语言 代码 · 共 72 行

C
72
字号
/*  MPICH-V  Copyright (C) 2002, 2003 Groupe Cluster et Grid, LRI, Universite de Paris Sud  This file is part of MPICH-V.  MPICH-V is free software; you can redistribute it and/or modify  it under the terms of the GNU General Public License as published by  the Free Software Foundation; either version 2 of the License, or  (at your option) any later version.  MPICH-V is distributed in the hope that it will be useful,  but WITHOUT ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  GNU General Public License for more details.  You should have received a copy of the GNU General Public License  along with MPICH-V; if not, write to the Free Software  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  $Id: vprivcheckpoint.c,v 1.1 2006/01/19 13:37:28 herault Exp $*/#include "config.h"#include "vprivcheckpoint.h"#include <stdlib.h>#include <stdio.h>#include <unistd.h>#include <signal.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/time.h>#include <fcntl.h>#include <wait.h>#include <time.h>#include "debug.h"#include "mpid.h"#include "mpiddev.h"#include "mpimem.h"/**  *  Open pipe for asynchronous read  *  @return -1 on error, 0 on success  */int vprivcheckpoint_init(int group, int rank){  printe("should not call this function: no checkpoint");  return -1;}/**  * Perform actual checkpoint   * @return -1 on failure, 0 on success  */int vprivcheckpoint_performcheckpoint(int ckpt_wait){  printe("should not call this function: no checkpoint");  return -1;}/**  * Close and free all internaly used data structures  * @return -1 on error, 0 on success  */int vprivcheckpoint_finalize(void){  printe("should not call this function: no checkpoint");  return -1;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?