文件操作 - libver_mpi.c
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/cmake3/Modules/FindMPI/libver_mpi.c
编辑文件内容
#include <mpi.h> #ifdef __cplusplus # include <cstdio> #else # include <stdio.h> #endif int main(int argc, char* argv[]) { char mpilibver_str[MPI_MAX_LIBRARY_VERSION_STRING]; int mpilibver_len; MPI_Get_library_version(mpilibver_str, &mpilibver_len); #ifdef __cplusplus std::puts(mpilibver_str); #else puts(mpilibver_str); #endif return 0; }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件