Skip to content

Commit 3ec1b86

Browse files
committed
Fix missing include and missing MCA_SPML_CALL.
1 parent 997a00c commit 3ec1b86

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

oshmem/shmem/fortran/shmem_put_f.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "oshmem/include/shmem.h"
1515
#include "oshmem/shmem/shmem_api_logger.h"
1616
#include "oshmem/runtime/runtime.h"
17+
#include "oshmem/mca/spml/spml.h"
1718
#include "stdio.h"
1819

1920
#if OSHMEM_PROFILING
@@ -32,9 +33,9 @@ SHMEM_GENERATE_FORTRAN_BINDINGS_SUB (void,
3233

3334
void shmem_put_f(FORTRAN_POINTER_T target, FORTRAN_POINTER_T source, MPI_Fint *length, MPI_Fint *pe)
3435
{
35-
shmem_put(FPTR_2_VOID_PTR(target),
36+
MCA_SPML_CALL(put(FPTR_2_VOID_PTR(target),
3637
FPTR_2_VOID_PTR(source),
3738
OMPI_FINT_2_INT(*length),
38-
OMPI_FINT_2_INT(*pe));
39+
OMPI_FINT_2_INT(*pe)));
3940
}
4041

oshmem/shmem/fortran/shmem_put_nb_f.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "oshmem/include/shmem.h"
1414
#include "oshmem/shmem/shmem_api_logger.h"
1515
#include "oshmem/runtime/runtime.h"
16+
#include "oshmem/mca/spml/spml.h"
1617
#include "ompi/datatype/ompi_datatype.h"
1718
#include "stdio.h"
1819

0 commit comments

Comments
 (0)