File: parallel_support_imports.pxi.in

package info (click to toggle)
netcdf4-python 1.7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,612 kB
  • sloc: python: 6,075; ansic: 854; makefile: 17; sh: 2
file content (16 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Imports and typedefs required at compile time for enabling parallel support

cimport mpi4py.MPI as MPI
from mpi4py.libmpi cimport (
    MPI_Comm,
    MPI_Info,
    MPI_Comm_dup,
    MPI_Info_dup,
    MPI_Comm_free,
    MPI_Info_free,
    MPI_INFO_NULL,
    MPI_COMM_WORLD,
)

ctypedef MPI.Comm Comm
ctypedef MPI.Info Info