None
|
Call_errhandler(self,
errorcode: int)
Call the error handler installed on a file |
|
|
None
|
|
None
|
Delete(cls,
filename: str,
info: Info= INFO_NULL)
Delete a file |
|
|
int
|
Get_amode(self)
Return the file access mode |
|
|
bool
|
Get_atomicity(self)
Return the atomicity mode |
|
|
int
|
Get_byte_offset(self,
offset: int)
Return the absolute byte position in the file corresponding
to 'offset' etypes relative to the current view |
|
|
Errhandler
|
Get_errhandler(self)
Get the error handler for a file |
|
|
Group
|
Get_group(self)
Return the group of processes
that opened the file |
|
|
Info
|
Get_info(self)
Return the hints for a file that
that are currently in use |
|
|
int
|
Get_position(self)
Return the current position of the individual file pointer
in etype units relative to the current view |
|
|
int
|
Get_position_shared(self)
Return the current position of the shared file pointer
in etype units relative to the current view |
|
|
int
|
Get_size(self)
Return the file size |
|
|
int
|
Get_type_extent(self,
datatype: Datatype)
Return the extent of datatype in the file |
|
|
Tuple[int, Datatype, Datatype, str]
|
Get_view(self)
Return the file view |
|
|
Request
|
Iread(self,
buf: BufSpec)
Nonblocking read using individual file pointer |
|
|
Request
|
Iread_all(self,
buf: BufSpec)
Nonblocking collective read using individual file pointer |
|
|
Request
|
Iread_at(self,
offset: int,
buf: BufSpec)
Nonblocking read using explicit offset |
|
|
Request
|
Iread_at_all(self,
offset: int,
buf: BufSpec)
Nonblocking collective read using explicit offset |
|
|
Request
|
Iread_shared(self,
buf: BufSpec)
Nonblocking read using shared file pointer |
|
|
Request
|
Iwrite(self,
buf: BufSpec)
Nonblocking write using individual file pointer |
|
|
Request
|
Iwrite_all(self,
buf: BufSpec)
Nonblocking collective write using individual file pointer |
|
|
Request
|
Iwrite_at(self,
offset: int,
buf: BufSpec)
Nonblocking write using explicit offset |
|
|
Request
|
Iwrite_at_all(self,
offset: int,
buf: BufSpec)
Nonblocking collective write using explicit offset |
|
|
Request
|
Iwrite_shared(self,
buf: BufSpec)
Nonblocking write using shared file pointer |
|
|
File
|
Open(cls,
comm: Intracomm,
filename: str,
amode: int= MODE_RDONLY,
info: Info= INFO_NULL)
Open a file |
|
|
None
|
Preallocate(self,
size: int)
Preallocate storage space for a file |
|
|
None
|
Read(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Read using individual file pointer |
|
|
None
|
Read_all(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Collective read using individual file pointer |
|
|
None
|
Read_all_begin(self,
buf: BufSpec)
Start a split collective read
using individual file pointer |
|
|
None
|
Read_all_end(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Complete a split collective read
using individual file pointer |
|
|
None
|
Read_at(self,
offset: int,
buf: BufSpec,
status: OptionalStatus=... = None)
Read using explicit offset |
|
|
None
|
Read_at_all(self,
offset: int,
buf: BufSpec,
status: OptionalStatus=... = None)
Collective read using explicit offset |
|
|
None
|
Read_at_all_begin(self,
offset: int,
buf: BufSpec)
Start a split collective read using explict offset |
|
|
None
|
Read_at_all_end(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Complete a split collective read using explict offset |
|
|
None
|
Read_ordered(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Collective read using shared file pointer |
|
|
None
|
Read_ordered_begin(self,
buf: BufSpec)
Start a split collective read
using shared file pointer |
|
|
None
|
Read_ordered_end(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Complete a split collective read
using shared file pointer |
|
|
None
|
Read_shared(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Read using shared file pointer |
|
|
None
|
Seek(self,
offset: int,
whence: int= SEEK_SET)
Update the individual file pointer |
|
|
None
|
Seek_shared(self,
offset: int,
whence: int= SEEK_SET)
Update the shared file pointer |
|
|
None
|
Set_atomicity(self,
flag: bool)
Set the atomicity mode |
|
|
None
|
Set_errhandler(self,
errhandler: Errhandler)
Set the error handler for a file |
|
|
None
|
Set_info(self,
info: Info)
Set new values for the hints
associated with a file |
|
|
None
|
Set_size(self,
size: int)
Sets the file size |
|
|
None
|
Set_view(self,
disp: int= 0,
etype: Datatype= BYTE,
filetype: OptionalDatatype=... = None,
datarep: str= 'native',
info: Info= INFO_NULL)
Set the file view |
|
|
None
|
Sync(self)
Causes all previous writes to be
transferred to the storage device |
|
|
None
|
Write(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Write using individual file pointer |
|
|
None
|
Write_all(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Collective write using individual file pointer |
|
|
None
|
Write_all_begin(self,
buf: BufSpec)
Start a split collective write
using individual file pointer |
|
|
None
|
Write_all_end(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Complete a split collective write
using individual file pointer |
|
|
None
|
Write_at(self,
offset: int,
buf: BufSpec,
status: OptionalStatus=... = None)
Write using explicit offset |
|
|
None
|
Write_at_all(self,
offset: int,
buf: BufSpec,
status: OptionalStatus=... = None)
Collective write using explicit offset |
|
|
None
|
Write_at_all_begin(self,
offset: int,
buf: BufSpec)
Start a split collective write using explict offset |
|
|
None
|
Write_at_all_end(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Complete a split collective write using explict offset |
|
|
None
|
Write_ordered(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Collective write using shared file pointer |
|
|
None
|
Write_ordered_begin(self,
buf: BufSpec)
Start a split collective write using
shared file pointer |
|
|
None
|
Write_ordered_end(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Complete a split collective write
using shared file pointer |
|
|
None
|
Write_shared(self,
buf: BufSpec,
status: OptionalStatus=... = None)
Write using shared file pointer |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
File
|
|
int
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|