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

Go to the source code of this file.

Functions/Subroutines

subroutine mumps_propinfo (icntl, info, comm, id)

Function/Subroutine Documentation

◆ mumps_propinfo()

subroutine mumps_propinfo ( integer, dimension(60) icntl,
integer, dimension(80) info,
integer comm,
integer id )

Definition at line 14 of file bcast_errors.F.

15 INTEGER ICNTL(60), INFO(80), COMM, ID
16 include 'mpif.h'
17#if defined(WORKAROUNDINTELILP64MPI2INTEGER)
18 INTEGER(4) :: IN( 2 ), OUT( 2 )
19#else
20 INTEGER :: IN( 2 ), OUT( 2 )
21#endif
22 INTEGER :: LP, IERR
23 lp = icntl( 1 )
24 in( 1 ) = info( 1 )
25 in( 2 ) = id
26 CALL mpi_allreduce( in, out, 1, mpi_2integer, mpi_minloc,
27 & comm, ierr)
28 IF ( out( 1 ) .LT. 0 .and. info(1) .GE. 0 ) THEN
29 info( 1 ) = -001
30 info( 2 ) = out( 2 )
31 END IF
32 RETURN
subroutine mpi_allreduce(sendbuf, recvbuf, cnt, datatype, operation, comm, ierr)
Definition mpi.f:103
initmumps id