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

Go to the source code of this file.

Functions/Subroutines

subroutine spmd_glob_rsum_poff (array, length)

Function/Subroutine Documentation

◆ spmd_glob_rsum_poff()

subroutine spmd_glob_rsum_poff ( array,
integer length )

Definition at line 33 of file spmd_glob_rsum_poff.F.

34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37 USE spmd_comm_world_mod, ONLY : spmd_comm_world
38#include "implicit_f.inc"
39C-----------------------------------------------------------------
40C M e s s a g e P a s s i n g
41C-----------------------------------------------
42#include "spmd.inc"
43C-----------------------------------------------
44C C o m m o n B l o c k s
45C-----------------------------------------------
46#include "task_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 my_real :: array(length)
51 INTEGER :: LENGTH
52C-----------------------------------------------
53C L o c a l V a r i a b l e s
54C-----------------------------------------------
55#ifdef MPI
56 INTEGER IERROR
57C-----------------------------------------------
58C S o u r c e L i n e s
59C-----------------------------------------------
60C
61 CALL mpi_allreduce(mpi_in_place, array, length, real, mpi_sum,
62 & spmd_comm_world, ierror)
63
64#endif
65 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine mpi_allreduce(sendbuf, recvbuf, cnt, datatype, operation, comm, ierr)
Definition mpi.f:103