-: 0:Source:/home/MPI/testing/mpich2/mpich2/src/binding/f77/statusf2c.c
-: 0:Graph:statusf2c.gcno
-: 0:Data:-
-: 0:Runs:0
-: 0:Programs:0
-: 1:
-: 2:/* -*- Mode: C; c-basic-offset:4 ; -*- */
-: 3:/*
-: 4: * (C) 2001 by Argonne National Laboratory.
-: 5: * See COPYRIGHT in top-level directory.
-: 6: *
-: 7: * This file is automatically generated by buildiface
-: 8: * DO NOT EDIT
-: 9: */
-: 10:#include "mpi_fortimpl.h"
-: 11:/* mpierrs.h and mpierror.h for the error code creation */
-: 12:#include "mpierrs.h"
-: 13:#include <stdio.h>
-: 14:#include "mpierror.h"
-: 15:
-: 16:/* -- Begin Profiling Symbol Block for routine MPI_Status_f2c */
-: 17:#if defined(USE_WEAK_SYMBOLS) && !defined(USE_ONLY_MPI_NAMES)
-: 18:#if defined(HAVE_PRAGMA_WEAK)
-: 19:#pragma weak MPI_Status_f2c = PMPI_Status_f2c
-: 20:#elif defined(HAVE_PRAGMA_HP_SEC_DEF)
-: 21:#pragma _HP_SECONDARY_DEF PMPI_Status_f2c MPI_Status_f2c
-: 22:#elif defined(HAVE_PRAGMA_CRI_DUP)
-: 23:#pragma _CRI duplicate MPI_Status_f2c as PMPI_Status_f2c
-: 24:#endif
-: 25:#endif
-: 26:/* -- End Profiling Symbol Block */
-: 27:
-: 28:/* Define MPICH_MPI_FROM_PMPI if weak symbols are not supported to build
-: 29: the MPI routines */
-: 30:#ifndef MPICH_MPI_FROM_PMPI
-: 31:#undef MPI_Status_f2c
-: 32:#define MPI_Status_f2c PMPI_Status_f2c
-: 33:#endif
-: 34:
-: 35:#undef FUNCNAME
-: 36:#define FUNCNAME MPI_Status_f2c
-: 37:
-: 38:int MPI_Status_f2c( MPI_Fint *f_status, MPI_Status *c_status )
|
#####: 39:{
#####: 40: int mpi_errno = MPI_SUCCESS;
-: 41: /* This code assumes that the ints are the same size */
-: 42:
#####: 43: if (f_status == MPI_F_STATUS_IGNORE) {
-: 44: /* The call is erroneous (see 4.12.5 in MPI-2) */
|
#####: 45: mpi_errno = MPIR_Err_create_code( MPI_SUCCESS, MPIR_ERR_RECOVERABLE,
-: 46: "MPI_Status_f2c", __LINE__, MPI_ERR_OTHER, "**notfstatignore", 0 );
#####: 47: return MPIR_Err_return_comm( 0, "MPI_Status_f2c", mpi_errno );
-: 48: }
|
#####: 49: *c_status = *(MPI_Status *) f_status;
#####: 50: return MPI_SUCCESS;
-: 51:}
|