chl.h
来自「The MPICH-V patch for MPICH2 - the MPI 」· C头文件 代码 · 共 43 行
H
43 行
#ifndef chl_h_#define chl_h_/** * Create pipe used for transmission of the checkpoint file between native app * and the worker. * @param wid: the group id * @param rankid: the rank * @return 0 if no error. */int initCheckpointLib(int wid, int rankid);/* Removes created pipes * @param wid: the group id * @param rankid: the rank * @return 0 if no error. */int closeCheckpointLib(int wid, int rankid);/** * open the pipe for reading checkpoint image * @param wid : the group number of the application. * @param rankid : the rank of the MPI process. * @return fd of the pipe, -1 on failure. */int openCheckpointPipeRD(int wid, int rankid);/** * Fork and executes the exeargv array according the restart/invoke flag, * for this rang and this job id * The localMPI argument is already pushed on the stack. * @param argv: the array of arguments ([0] is the path) * @param argc: the number of used arguments * @param args: the size of the argv array * @param wid: the group number of the application * @param rankid: the rank of the MPI process * @param invoke: not zero iff this is not a restart * @return the pid of the new process or -1 if error. */int ckptForkExec(char **argv, int argc, int args, int wid, int rankid, int invoke);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?