root/oshmem/shmem/fortran/shmem_init_f.c

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

DEFINITIONS

This source file includes following definitions.
  1. SHMEM_GENERATE_WEAK_BINDINGS
  2. SHMEM_GENERATE_FORTRAN_BINDINGS_SUB

   1 /*
   2  * Copyright (c) 2013      Mellanox Technologies, Inc.
   3  *                         All rights reserved.
   4  * Copyright (c) 2013 Cisco Systems, Inc.  All rights reserved.
   5  * $COPYRIGHT$
   6  *
   7  * Additional copyrights may follow
   8  *
   9  * $HEADER$
  10  */
  11 
  12 #include "oshmem_config.h"
  13 #include "oshmem/shmem/fortran/bindings.h"
  14 #include "oshmem/include/shmem.h"
  15 
  16 #if OSHMEM_PROFILING
  17 #include "oshmem/shmem/fortran/profile/pbindings.h"
  18 SHMEM_GENERATE_WEAK_BINDINGS(SHMEM_INIT, shmem_init)
  19 SHMEM_GENERATE_WEAK_BINDINGS(START_PES, start_pes)
  20 #include "oshmem/shmem/fortran/profile/defines.h"
  21 #endif
  22 
  23 SHMEM_GENERATE_FORTRAN_BINDINGS_SUB (void,
  24         SHMEM_INIT,
  25         shmem_init_,
  26         shmem_init__,
  27         shmem_init_f,
  28         (void),
  29         () )
  30 
  31 void shmem_init_f(void)
  32 {
  33     shmem_init();
  34 }
  35 
  36 SHMEM_GENERATE_FORTRAN_BINDINGS_SUB (void,
  37         START_PES,
  38         start_pes_,
  39         start_pes__,
  40         start_pes_f,
  41         (MPI_Fint npes),
  42         (npes) )
  43 
  44 void start_pes_f(MPI_Fint npes)
  45 {
  46     shmem_init();
  47 }

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