YAC
3.18.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_mpi_abort.F90
Go to the documentation of this file.
1
! Copyright (c) 2026 The YAC Authors
2
!
3
! SPDX-License-Identifier: BSD-3-Clause
4
8
9
program
test_mpi_abort
10
11
use
mpi
12
use
yac
,
only
:
yac_abort_message
13
implicit none
14
15
integer
:: ierror, rank
16
17
CALL
mpi_init(ierror)
18
CALL
mpi_comm_rank(mpi_comm_world, rank, ierror)
19
20
if
(rank == 0)
then
21
CALL
yac_abort_message
(
"some error message"
, __file__, __line__)
22
end if
23
24
CALL
mpi_finalize(ierror)
25
26
end program
test_mpi_abort
yac::yac_abort_message
Definition
yac_module.F90:4419
yac
Definition
yac_module.F90:9
test_mpi_abort
program test_mpi_abort
Definition
test_mpi_abort.F90:9
tests
mci
test_mpi_abort.F90
Generated on Tue Jun 30 2026 14:08:04 for YAC by
1.11.0