Skip to content

Commit

Permalink
Fix missing include and missing MCA_SPML_CALL.
Browse files Browse the repository at this point in the history
  • Loading branch information
hpcraink committed Jul 13, 2016
1 parent 997a00c commit 3ec1b86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions oshmem/shmem/fortran/shmem_put_f.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "oshmem/include/shmem.h"
#include "oshmem/shmem/shmem_api_logger.h"
#include "oshmem/runtime/runtime.h"
#include "oshmem/mca/spml/spml.h"
#include "stdio.h"

#if OSHMEM_PROFILING
Expand All @@ -32,9 +33,9 @@ SHMEM_GENERATE_FORTRAN_BINDINGS_SUB (void,

void shmem_put_f(FORTRAN_POINTER_T target, FORTRAN_POINTER_T source, MPI_Fint *length, MPI_Fint *pe)
{
shmem_put(FPTR_2_VOID_PTR(target),
MCA_SPML_CALL(put(FPTR_2_VOID_PTR(target),
FPTR_2_VOID_PTR(source),
OMPI_FINT_2_INT(*length),
OMPI_FINT_2_INT(*pe));
OMPI_FINT_2_INT(*pe)));
}

1 change: 1 addition & 0 deletions oshmem/shmem/fortran/shmem_put_nb_f.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "oshmem/include/shmem.h"
#include "oshmem/shmem/shmem_api_logger.h"
#include "oshmem/runtime/runtime.h"
#include "oshmem/mca/spml/spml.h"
#include "ompi/datatype/ompi_datatype.h"
#include "stdio.h"

Expand Down

0 comments on commit 3ec1b86

Please sign in to comment.