OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
spmd_mstop.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_mstop ()

Function/Subroutine Documentation

◆ spmd_mstop()

subroutine spmd_mstop

Definition at line 32 of file spmd_mstop.F.

33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36 USE spmd_comm_world_mod, ONLY : spmd_comm_world
37#include "implicit_f.inc"
38C-----------------------------------------------------------------
39C M e s s a g e P a s s i n g
40C-----------------------------------------------
41#include "spmd.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45#include "task_c.inc"
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49#ifdef MPI
50 INTEGER ierror
51C-----------------------------------------------
52C S o u r c e L i n e s
53C-----------------------------------------------
54 call mpi_barrier(spmd_comm_world,ierror)
55 CALL mpi_finalize(ierror)
56 IF(ispmd/=0)THEN
57 CALL my_exit(0)
58 ENDIF
59#endif
60 RETURN
void my_exit(int *i)
Definition analyse.c:1038
subroutine mpi_finalize(ierr)
Definition mpi.f:288
subroutine mpi_barrier(comm, ierr)
Definition mpi.f:188