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

Go to the source code of this file.

Functions/Subroutines

subroutine spmd_gatherv_int (sendbuf, recvbuf, proc, send_size, total_rcv_size, rcv_size, dipls)

Function/Subroutine Documentation

◆ spmd_gatherv_int()

subroutine spmd_gatherv_int ( integer, dimension(send_size), intent(in) sendbuf,
integer, dimension(total_rcv_size), intent(out) recvbuf,
integer, intent(in) proc,
integer, intent(in) send_size,
integer, intent(in) total_rcv_size,
integer, dimension(nspmd) rcv_size,
integer, dimension(nspmd) dipls )

Definition at line 32 of file spmd_gatherv_int.F.

33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36 USE spmd_comm_world_mod, ONLY : spmd_comm_world
37#include "implicit_f.inc"
38C-----------------------------------------------------------------
39C M e s s a g e P a s s i n g
40C-----------------------------------------------
41#include "spmd.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45#include "com01_c.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 INTEGER, INTENT(in) :: SEND_SIZE,TOTAL_RCV_SIZE
50 INTEGER, INTENT(in) :: PROC
51 INTEGER, DIMENSION(NSPMD) :: RCV_SIZE,DIPLS
52 INTEGER, DIMENSION(SEND_SIZE), INTENT(in) :: SENDBUF
53 INTEGER, DIMENSION(TOTAL_RCV_SIZE), INTENT(out) :: RECVBUF
54
55#ifdef MPI
56C-----------------------------------------------
57C L o c a l V a r i a b l e s
58C-----------------------------------------------
59 INTEGER :: error
60! ----------------------------------------
61
62! ------------------
63! mpi comm gahterv on processor PROC
64 CALL mpi_gatherv(sendbuf,send_size,mpi_integer,
65 . recvbuf,rcv_size,dipls,mpi_integer,
66 . proc,spmd_comm_world,error)
67! ------------------
68
69#else
70 recvbuf = 0
71#endif
72 RETURN
subroutine mpi_gatherv(sendbuf, cnt, datatype, recvbuf, reccnt, displs, rectype, root, comm, ierr)
Definition mpi.f:76