OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
spmd_allglob_isum9.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23C
24!||====================================================================
25!|| spmd_allglob_isum9 ../engine/source/mpi/generic/spmd_allglob_isum9.F
26!||--- called by ------------------------------------------------------
27!|| fvstats ../engine/source/airbag/fvstats.F
28!|| h3d_skin_dim ../engine/source/output/h3d/h3d_results/h3d_skin_ixskin.F
29!|| imp_stif24 ../engine/source/implicit/imp_solv.F
30!|| inttri ../engine/source/interfaces/intsort/inttri.F
31!|| r2r_init ../engine/source/coupling/rad2rad/r2r_init.F
32!|| resol ../engine/source/engine/resol.F
33!|| sms_build_diag ../engine/source/ams/sms_build_diag.F
34!|| sms_ini_err ../engine/source/ams/sms_init.F
35!|| sms_ini_jad_3 ../engine/source/ams/sms_init.F
36!|| sms_ini_kin_1 ../engine/source/ams/sms_init.F
37!|| sms_rgwal_0 ../engine/source/ams/sms_rgwal0.F
38!|| spclasv ../engine/source/elements/sph/spclasv.F
39!|| sphprep ../engine/source/elements/sph/sphprep.F
40!|| tagoff3n ../engine/source/interfaces/interf/chkstfn3.f
41!||--- calls -----------------------------------------------------
42!||--- uses -----------------------------------------------------
43!|| spmd_comm_world_mod ../engine/source/mpi/spmd_comm_world.F90
44!||====================================================================
45 SUBROUTINE spmd_allglob_isum9(V,LEN)
46C gather table V of size LEN of type integer and broadcast on all processors
47C-----------------------------------------------
48C I m p l i c i t T y p e s
49C-----------------------------------------------
50 USE spmd_comm_world_mod, ONLY : spmd_comm_world
51#include "implicit_f.inc"
52C-----------------------------------------------------------------
53C M e s s a g e P a s s i n g
54C-----------------------------------------------
55#include "spmd.inc"
56C-----------------------------------------------
57C D u m m y A r g u m e n t s
58C-----------------------------------------------
59 INTEGER LEN, V(LEN)
60C-----------------------------------------------
61C L o c a l V a r i a b l e s
62C-----------------------------------------------
63#ifdef MPI
64 INTEGER I,IERROR,
65 . VTMP(LEN)
66C-----------------------------------------------
67C S o u r c e L i n e s
68C-----------------------------------------------
69 IF (len > 0) THEN
70 CALL mpi_allreduce(v,vtmp,len,
71 . mpi_integer,mpi_sum,
72 . spmd_comm_world,ierror)
73 DO i=1,len
74 v(i) = vtmp(i)
75 END DO
76 ENDIF
77C
78#endif
79 RETURN
80 END
subroutine tagoff3n(nodes, geo, ixs, ixs10, ixs20, ixs16, ixq, ixc, ixt, ixp, ixr, ixtg, itag, nodft, nodlt, iparg, ev, itask, ixtg1, iad_elem, fr_elem, itab, addcnel, cnel, kxsp, elbuf_tab, tagel, iexlnk, igrnod, dd_r2r, dd_r2r_elem, sdd_r2r_elem, idel7nok_sav, idel7nok_r2r, tagtrimc, tagtrimtg, s_elem_state, elem_state, shoot_struct, global_nb_elem_off)
Definition chkstfn3.F:577
subroutine mpi_allreduce(sendbuf, recvbuf, cnt, datatype, operation, comm, ierr)
Definition mpi.f:103
subroutine spmd_allglob_isum9(v, len)