chl.h
来自「Path MPICH-V for MPICH the MPI Implement」· C头文件 代码 · 共 42 行
H
42 行
#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. */#define initCheckpointLib(wid,rankid) (0)/* Removes created pipes * @param wid: the group id * @param rankid: the rank * @return 0 if no error. */#define closeCheckpointLib(wid,rankid) (0)/** * 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. */#define openCheckpointPipeRD(wid,rankid) (-1)/** * forks 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 MPI process */int ckptForkExec(char **argv, int argc, int args, int wid, int rankid, int invoke);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?