48 строки
1.9 KiB
C
48 строки
1.9 KiB
C
|
/*
|
||
|
* $HEADER$
|
||
|
*/
|
||
|
|
||
|
#include "lam_config.h"
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#include "mpi.h"
|
||
|
#include "mpi/f77/bindings.h"
|
||
|
|
||
|
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILE_LAYER
|
||
|
#pragma weak PMPI_COMM_SPAWN = mpi_comm_spawn_f
|
||
|
#pragma weak pmpi_comm_spawn = mpi_comm_spawn_f
|
||
|
#pragma weak pmpi_comm_spawn_ = mpi_comm_spawn_f
|
||
|
#pragma weak pmpi_comm_spawn__ = mpi_comm_spawn_f
|
||
|
#elif LAM_PROFILE_LAYER
|
||
|
LAM_GENERATE_F77_BINDINGS (PMPI_COMM_SPAWN,
|
||
|
pmpi_comm_spawn,
|
||
|
pmpi_comm_spawn_,
|
||
|
pmpi_comm_spawn__,
|
||
|
pmpi_comm_spawn_f,
|
||
|
(char *command, char *argv, MPI_Fint *maxprocs, MPI_Fint *info, MPI_Fint *root, MPI_Fint *comm, MPI_Fint *intercomm, MPI_Fint *array_of_errcodes, MPI_Fint *ierr),
|
||
|
(command, argv, maxprocs, info, root, comm, intercomm, array_of_errcodes, ierr) )
|
||
|
#endif
|
||
|
|
||
|
#if LAM_HAVE_WEAK_SYMBOLS
|
||
|
#pragma weak MPI_COMM_SPAWN = mpi_comm_spawn_f
|
||
|
#pragma weak mpi_comm_spawn = mpi_comm_spawn_f
|
||
|
#pragma weak mpi_comm_spawn_ = mpi_comm_spawn_f
|
||
|
#pragma weak mpi_comm_spawn__ = mpi_comm_spawn_f
|
||
|
#endif
|
||
|
|
||
|
#if ! LAM_HAVE_WEAK_SYMBOLS && ! LAM_PROFILE_LAYER
|
||
|
LAM_GENERATE_F77_BINDINGS (MPI_COMM_SPAWN,
|
||
|
mpi_comm_spawn,
|
||
|
mpi_comm_spawn_,
|
||
|
mpi_comm_spawn__,
|
||
|
mpi_comm_spawn_f,
|
||
|
(char *command, char *argv, MPI_Fint *maxprocs, MPI_Fint *info, MPI_Fint *root, MPI_Fint *comm, MPI_Fint *intercomm, MPI_Fint *array_of_errcodes, MPI_Fint *ierr),
|
||
|
(command, argv, maxprocs, info, root, comm, intercomm, array_of_errcodes, ierr) )
|
||
|
#endif
|
||
|
|
||
|
void mpi_comm_spawn_f(char *command, char *argv, MPI_Fint *maxprocs, MPI_Fint *info, MPI_Fint *root, MPI_Fint *comm, MPI_Fint *intercomm, MPI_Fint *array_of_errcodes, MPI_Fint *ierr)
|
||
|
{
|
||
|
|
||
|
}
|