OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
cbcast_int.F File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine cmumps_mcast2 (data, ldata, mpitype, root, commw, tag, slavef, keep)
subroutine cmumps_bdc_error (myid, slavef, comm, keep)

Function/Subroutine Documentation

◆ cmumps_bdc_error()

subroutine cmumps_bdc_error ( integer myid,
integer slavef,
integer comm,
integer, dimension(500), intent(inout) keep )

Definition at line 37 of file cbcast_int.F.

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 cmumps_mcast2( dummy, 1, mpi_integer, myid,
45 & comm, terreur, slavef, keep )
46 RETURN
subroutine cmumps_mcast2(data, ldata, mpitype, root, commw, tag, slavef, keep)
Definition cbcast_int.F:16

◆ cmumps_mcast2()

subroutine cmumps_mcast2 ( integer, dimension(ldata) data,
integer ldata,
integer mpitype,
integer root,
integer commw,
integer tag,
integer slavef,
integer, dimension(500), intent(inout) keep )

Definition at line 14 of file cbcast_int.F.

16 USE cmumps_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 cmumps_buf_send_1int( DATA(1), dest, tag,
28 & commw, keep, ierr )
29 ELSE
30 WRITE(*,*) 'Error : bad argument to CMUMPS_MCAST2'
31 CALL mumps_abort()
32 END IF
33 ENDIF
34 10 CONTINUE
35 RETURN
#define mumps_abort
Definition VE_Metis.h:25
subroutine, public cmumps_buf_send_1int(i, dest, tag, comm, keep, ierr)