OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sbcast_int.F
Go to the documentation of this file.
1C
2C This file is part of MUMPS 5.5.1, released
3C on Tue Jul 12 13:17:24 UTC 2022
4C
5C
6C Copyright 1991-2022 CERFACS, CNRS, ENS Lyon, INP Toulouse, Inria,
7C Mumps Technologies, University of Bordeaux.
8C
9C This version of MUMPS is provided to you free of charge. It is
10C released under the CeCILL-C license
11C (see doc/CeCILL-C_V1-en.txt, doc/CeCILL-C_V1-fr.txt, and
12C https://cecill.info/licences/Licence_CeCILL-C_V1-en.html)
13C
14 SUBROUTINE smumps_mcast2(DATA, LDATA, MPITYPE, ROOT, COMMW, TAG,
15 &SLAVEF, KEEP)
16 USE smumps_buf
17 IMPLICIT NONE
18 include 'mpif.h'
19 INTEGER IERR
20 INTEGER LDATA, ROOT, COMMW, TAG, MPITYPE, SLAVEF
21 INTEGER DEST
22 INTEGER, INTENT(INOUT) :: KEEP(500)
23 INTEGER DATA(LDATA)
24 DO 10 dest = 0, slavef - 1
25 IF (dest .NE. root) THEN
26 IF ( ldata .EQ. 1 .and. mpitype .EQ. mpi_integer ) THEN
27 CALL smumps_buf_send_1int( DATA(1), dest, tag,
28 & commw, keep, ierr )
29 ELSE
30 WRITE(*,*) 'Error : bad argument to SMUMPS_MCAST2'
31 CALL mumps_abort()
32 END IF
33 ENDIF
34 10 CONTINUE
35 RETURN
36 END SUBROUTINE smumps_mcast2
37 SUBROUTINE smumps_bdc_error( MYID, SLAVEF, COMM, KEEP )
38 INTEGER MYID, SLAVEF, COMM
39 INTEGER, INTENT(INOUT) :: KEEP(500)
40 include 'mpif.h'
41 include 'mumps_tags.h'
42 INTEGER DUMMY (1)
43 dummy(1) = -98765
44 CALL smumps_mcast2( dummy, 1, mpi_integer, myid,
45 & comm, terreur, slavef, keep )
46 RETURN
47 END SUBROUTINE smumps_bdc_error
#define mumps_abort
Definition VE_Metis.h:25
subroutine, public smumps_buf_send_1int(i, dest, tag, comm, keep, ierr)
subroutine smumps_bdc_error(myid, slavef, comm, keep)
Definition sbcast_int.F:38
subroutine smumps_mcast2(data, ldata, mpitype, root, commw, tag, slavef, keep)
Definition sbcast_int.F:16