File: shmem.fh

package info (click to toggle)
openmpi 5.0.8-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 201,692 kB
  • sloc: ansic: 613,078; makefile: 42,353; sh: 11,194; javascript: 9,244; f90: 7,052; java: 6,404; perl: 5,179; python: 1,859; lex: 740; fortran: 61; cpp: 20; tcl: 12
file content (65 lines) | stat: -rw-r--r-- 1,729 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
! Emacs: -*- mode: fortran; -*-
!
!   Copyright (c) 2018      Mellanox Technologies, Inc.
!                           All rights reserved.
!   Copyright (c) 2014-2020 Cisco Systems, Inc.  All rights reserved.
!   $COPYRIGHT$
!
!   Additional copyrights may follow
!
!   $HEADER$
!

!
! TODO: exact values should be found during configuration
!
      integer SHMEM_MAJOR_VERSION
      parameter ( SHMEM_MAJOR_VERSION = 1 )

      integer SHMEM_MINOR_VERSION
      parameter ( SHMEM_MINOR_VERSION = 4 )

      integer SHMEM_MAX_NAME_LEN
      parameter ( SHMEM_MAX_NAME_LEN = 256-1 )

      character(LEN = SHMEM_MAX_NAME_LEN) SHMEM_VENDOR_STRING
      parameter ( SHMEM_VENDOR_STRING = "https://www.open-mpi.org/" )

      integer SHMEM_BARRIER_SYNC_SIZE
      parameter ( SHMEM_BARRIER_SYNC_SIZE = 4 )

      integer SHMEM_BCAST_SYNC_SIZE
      parameter ( SHMEM_BCAST_SYNC_SIZE = 8 )

      integer SHMEM_COLLECT_SYNC_SIZE
      parameter ( SHMEM_COLLECT_SYNC_SIZE = 8 )

      integer SHMEM_REDUCE_SYNC_SIZE
      parameter ( SHMEM_REDUCE_SYNC_SIZE = 8 )

      integer SHMEM_SYNC_VALUE
      parameter ( SHMEM_SYNC_VALUE = -1 )

      integer SHMEM_REDUCE_MIN_WRKDATA_SIZE
      parameter ( SHMEM_REDUCE_MIN_WRKDATA_SIZE = 8 )

!
!     waits
!
      integer SHMEM_CMP_EQ
      parameter ( SHMEM_CMP_EQ = 0 )
      integer SHMEM_CMP_NE
      parameter ( SHMEM_CMP_NE = 1 )
      integer SHMEM_CMP_GT
      parameter ( SHMEM_CMP_GT = 2 )
      integer SHMEM_CMP_LE
      parameter ( SHMEM_CMP_LE = 3 )
      integer SHMEM_CMP_LT
      parameter ( SHMEM_CMP_LT = 4 )
      integer SHMEM_CMP_GE
      parameter ( SHMEM_CMP_GE = 5 )

      logical shmem_pe_accessible
      logical shmem_addr_accessible

      integer*8 shmem_ptr