OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
spmd_gather.F File Reference
#include "implicit_f.inc"
#include "spmd.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine spmd_dgather (sendbuf, length, recvbuf, rank)

Function/Subroutine Documentation

◆ spmd_dgather()

subroutine spmd_dgather ( double precision, dimension(length) sendbuf,
integer length,
double precision, dimension(*) recvbuf,
integer rank )

Definition at line 31 of file spmd_gather.F.

32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35 USE spmd_comm_world_mod, ONLY : spmd_comm_world
36#include "implicit_f.inc"
37C-----------------------------------------------------------------
38C M e s s a g e P a s s i n g
39C-----------------------------------------------
40#include "spmd.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER :: RANK
45 INTEGER :: LENGTH
46 DOUBLE PRECISION :: SENDBUF(LENGTH)
47 DOUBLE PRECISION :: RECVBUF(*)
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51#ifdef MPI
52 INTEGER :: IERROR
53 INTEGER :: RSIZ
54C-----------------------------------------------
55C S o u r c e L i n e s
56C-----------------------------------------------
57 CALL mpi_gather(sendbuf,length,mpi_double_precision,
58 . recvbuf,length,mpi_double_precision,
59 . rank,spmd_comm_world,ierror)
60#endif
61 RETURN
subroutine mpi_gather(sendbuf, cnt, datatype, recvbuf, reccnt, rectype, root, comm, ierr)
Definition mpi.f:56