📄 info_f2c.c
字号:
/* -*- Mode: C; c-basic-offset:4 ; -*- *//* * * Copyright (C) 1997 University of Chicago. * See COPYRIGHT notice in top-level directory. */#include "mpioimpl.h"#ifdef HAVE_WEAK_SYMBOLS#if defined(HAVE_PRAGMA_WEAK)#pragma weak MPI_Info_f2c = PMPI_Info_f2c#elif defined(HAVE_PRAGMA_HP_SEC_DEF)#pragma _HP_SECONDARY_DEF PMPI_Info_f2c MPI_Info_f2c#elif defined(HAVE_PRAGMA_CRI_DUP)#pragma _CRI duplicate MPI_Info_f2c as PMPI_Info_f2c/* end of weak pragmas */#endif/* Include mapping from MPI->PMPI */#define MPIO_BUILD_PROFILING#include "mpioprof.h"#endif#include "adio_extern.h"/*@ MPI_Info_f2c - Translates a Fortran info handle to a C info handleInput Parameters:. info - Fortran info handle (integer)Return Value: C info handle (handle)@*/MPI_Info MPI_Info_f2c(MPI_Fint info){#ifndef INT_LT_POINTER return (MPI_Info) info;#else if (!info) return MPI_INFO_NULL; if ((info < 0) || (info > MPIR_Infotable_ptr)) { FPRINTF(stderr, "MPI_Info_f2c: Invalid info handle\n"); MPI_Abort(MPI_COMM_WORLD, 1); } return MPIR_Infotable[info];#endif}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -