ptest.c
来自「MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程」· C语言 代码 · 共 22 行
C
22 行
#include <stdio.h>#include "mpi.h"/* Header for testing procedures */#if defined(NEEDS_STDLIB_PROTOTYPES)#include "protofix.h"#endif/* * This tests for the existence of MPI_Pcontrol; nothing more. */int main( int argc, char **argv ){ MPI_Init( &argc, &argv ); MPI_Pcontrol( 0 ); printf( "Pcontrol test passed\n" ); MPI_Finalize(); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?