root/ompi/contrib/libompitrace/alloc_mem.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. MPI_Alloc_mem

   1 /*
   2  * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2004-2005 The University of Tennessee and The University
   6  *                         of Tennessee Research Foundation.  All rights
   7  *                         reserved.
   8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
   9  *                         University of Stuttgart.  All rights reserved.
  10  * Copyright (c) 2004-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * Copyright (c) 2007      Cisco Systems, Inc.  All rights reserved.
  13  * $COPYRIGHT$
  14  *
  15  * Additional copyrights may follow
  16  *
  17  * $HEADER$
  18  */
  19 
  20 #include "ompi_config.h"
  21 
  22 #include <stdio.h>
  23 
  24 #include "ompi/mpi/c/bindings.h"
  25 
  26 int MPI_Alloc_mem(MPI_Aint size, MPI_Info info, void *baseptr)
  27 {
  28 
  29     int rank;
  30 
  31     PMPI_Comm_rank(MPI_COMM_WORLD, &rank);
  32 
  33     fprintf(stderr, "MPI_Alloc_mem[%d]: size %0ld\n", rank, (long)size);
  34     fflush(stderr);
  35 
  36     return PMPI_Alloc_mem(size, info, baseptr);
  37 }
  38 

/* [<][>][^][v][top][bottom][index][help] */