Yet Another eXchange Tool 0.11.1
Loading...
Searching...
No Matches
xt_mpi_f.f90
Go to the documentation of this file.
1
13
14!
15! Keywords:
16! Maintainer: Jörg Behrens <behrens@dkrz.de>
17! Moritz Hanke <hanke@dkrz.de>
18! Thomas Jahns <jahns@dkrz.de>
19! URL: https://dkrz-sw.gitlab-pages.dkrz.de/yaxt/
20!
21! Redistribution and use in source and binary forms, with or without
22! modification, are permitted provided that the following conditions are
23! met:
24!
25! Redistributions of source code must retain the above copyright notice,
26! this list of conditions and the following disclaimer.
27!
28! Redistributions in binary form must reproduce the above copyright
29! notice, this list of conditions and the following disclaimer in the
30! documentation and/or other materials provided with the distribution.
31!
32! Neither the name of the DKRZ GmbH nor the names of its contributors
33! may be used to endorse or promote products derived from this software
34! without specific prior written permission.
35!
36! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
37! IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
38! TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
39! PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
40! OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
41! EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
42! PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
43! PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
44! LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
45! NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
46! SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
47!
48#include "fc_feature_defs.inc"
49MODULE xt_mpi
50 USE mpi, orig_mpi_address_kind => mpi_address_kind
51 use, INTRINSIC :: iso_c_binding, only: c_int, c_long, c_short, c_long_long
52 IMPLICIT NONE
53 PUBLIC
54 INTEGER, PARAMETER :: xt_mpi_fint_kind = xt_mpi_fint_fc_kind
55 INTEGER, PARAMETER :: mpi_address_kind = xt_mpi_aint_kind
56 INTERFACE
57 SUBROUTINE xt_mpi_comm_mark_exclusive(comm) &
58 bind(c, name='xt_mpi_comm_mark_exclusive_f2c')
59 IMPORT :: xt_mpi_fint_kind
60 INTEGER(xt_mpi_fint_kind), INTENT(inout) :: comm
61 END SUBROUTINE xt_mpi_comm_mark_exclusive
62 END INTERFACE
63END MODULE xt_mpi
64!
65! Local Variables:
66! f90-continuation-indent: 5
67! coding: utf-8
68! indent-tabs-mode: nil
69! show-trailing-whitespace: t
70! require-trailing-newline: t
71! End:
72!
void xt_mpi_comm_mark_exclusive(MPI_Comm comm)
Definition xt_mpi.c:403