Package mpi
Class File
- java.lang.Object
-
- mpi.File
-
public final class File extends java.lang.ObjectThis class representsMPI_File.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcallErrhandler(int errorCode)Java binding of the MPI operationMPI_FILE_CALL_ERRHANDLER.voidclose()Java binding ofMPI_FILE_CLOSE.static voiddelete(java.lang.String filename)Java binding ofMPI_FILE_DELETEusingMPI_INFO_NULL.static voiddelete(java.lang.String filename, Info info)Java binding ofMPI_FILE_DELETE.intgetAMode()Java binding ofMPI_FILE_GET_AMODE.booleangetAtomicity()Java binding ofMPI_FILE_GET_ATOMICITY.longgetByteOffset(long offset)Java binding ofMPI_FILE_GET_BYTE_OFFSET.ErrhandlergetErrhandler()Java binding of the MPI operationMPI_FILE_GET_ERRHANDLER.GroupgetGroup()Java binding ofMPI_FILE_GET_GROUP.InfogetInfo()Java binding ofMPI_FILE_GET_INFO.longgetPosition()Java binding ofMPI_FILE_GET_POSITION.longgetPositionShared()Java binding ofMPI_FILE_GET_POSITION_SHARED.longgetSize()Java binding ofMPI_FILE_GET_SIZE.intgetTypeExtent(Datatype type)Java binding ofMPI_FILE_GET_TYPE_EXTENT.FileViewgetView()Java binding ofMPI_FILE_GET_VIEW.RequestiRead(java.nio.Buffer buf, int count, Datatype type)Java binding ofMPI_FILE_IREAD.RequestiReadAll(java.nio.Buffer buf, int count, Datatype type)Java binding ofMPI_FILE_IREAD_ALL.RequestiReadAt(long offset, java.nio.Buffer buf, int count, Datatype type)Java binding ofMPI_FILE_IREAD_AT.RequestiReadAtAll(long offset, java.nio.Buffer buf, int count, Datatype type)Java binding ofMPI_FILE_IREAD_AT_ALL.RequestiReadShared(java.nio.Buffer buf, int count, Datatype type)Java binding ofMPI_FILE_IREAD_SHARED.RequestiWrite(java.nio.Buffer buf, int count, Datatype type)Java binding ofMPI_FILE_IWRITE.RequestiWriteAll(java.nio.Buffer buf, int count, Datatype type)Java binding ofMPI_FILE_IWRITE_ALL.RequestiWriteAt(long offset, java.nio.Buffer buf, int count, Datatype type)Java binding ofMPI_FILE_IWRITE_AT.RequestiWriteAtAll(long offset, java.nio.Buffer buf, int count, Datatype type)Java binding ofMPI_FILE_IWRITE_AT_ALL.RequestiWriteShared(java.nio.Buffer buf, int count, Datatype type)Java binding ofMPI_FILE_IWRITE_SHARED.voidpreallocate(long size)Java binding ofMPI_FILE_PREALLOCATE.Statusread(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_READ.StatusreadAll(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_READ_ALL.voidreadAllBegin(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_READ_ALL_BEGIN.StatusreadAllEnd(java.lang.Object buf)Java binding ofMPI_FILE_READ_ALL_END.StatusreadAt(long offset, java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_READ_AT.StatusreadAtAll(long offset, java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_READ_AT_ALL.voidreadAtAllBegin(long offset, java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_READ_AT_ALL_BEGIN.StatusreadAtAllEnd(java.lang.Object buf)Java binding ofMPI_FILE_READ_AT_ALL_END.StatusreadOrdered(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_READ_ORDERED.voidreadOrderedBegin(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_READ_ORDERED_BEGIN.StatusreadOrderedEnd(java.lang.Object buf)Java binding ofMPI_FILE_READ_ORDERED_END.StatusreadShared(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_READ_SHARED.voidseek(long offset, int whence)Java binding ofMPI_FILE_SEEK.voidseekShared(long offset, int whence)Java binding ofMPI_FILE_SEEK_SHARED.voidsetAtomicity(boolean atomicity)Java binding ofMPI_FILE_SET_ATOMICITY.voidsetErrhandler(Errhandler errhandler)Java binding of the MPI operationMPI_FILE_SET_ERRHANDLER.voidsetInfo(Info info)Java binding ofMPI_FILE_SET_INFO.voidsetSize(long size)Java binding ofMPI_FILE_SET_SIZE.voidsetView(long disp, Datatype etype, Datatype filetype, java.lang.String datarep)Java binding ofMPI_FILE_SET_VIEWusingMPI_INFO_NULL.voidsetView(long disp, Datatype etype, Datatype filetype, java.lang.String datarep, Info info)Java binding ofMPI_FILE_SET_VIEW.voidsync()Java binding ofMPI_FILE_SYNC.Statuswrite(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_WRITE.StatuswriteAll(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_WRITE_ALL.voidwriteAllBegin(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_WRITE_ALL_BEGIN.StatuswriteAllEnd(java.lang.Object buf)Java binding ofMPI_FILE_WRITE_ALL_END.StatuswriteAt(long offset, java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_WRITE_AT.StatuswriteAtAll(long offset, java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_WRITE_AT_ALL.voidwriteAtAllBegin(long offset, java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_WRITE_AT_ALL_BEGIN.StatuswriteAtAllEnd(java.lang.Object buf)Java binding ofMPI_FILE_WRITE_AT_ALL_END.StatuswriteOrdered(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_WRITE_ORDERED.voidwriteOrderedBegin(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_WRITE_ORDERED_BEGIN.StatuswriteOrderedEnd(java.lang.Object buf)Java binding ofMPI_FILE_WRITE_ORDERED_END.StatuswriteShared(java.lang.Object buf, int count, Datatype type)Java binding ofMPI_FILE_WRITE_SHARED.
-
-
-
Constructor Detail
-
File
public File(Comm comm, java.lang.String filename, int amode) throws MPIException
Java binding ofMPI_FILE_OPENusingMPI_INFO_NULL.- Parameters:
comm- communicatorfilename- name of the file to openamode- file access mode- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
File
public File(Comm comm, java.lang.String filename, int amode, Info info) throws MPIException
Java binding ofMPI_FILE_OPEN.- Parameters:
comm- communicatorfilename- name of the file to openamode- file access modeinfo- info object- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
-
Method Detail
-
close
public void close() throws MPIExceptionJava binding ofMPI_FILE_CLOSE.- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
delete
public static void delete(java.lang.String filename) throws MPIExceptionJava binding ofMPI_FILE_DELETEusingMPI_INFO_NULL.- Parameters:
filename- name of the file to delete- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
delete
public static void delete(java.lang.String filename, Info info) throws MPIExceptionJava binding ofMPI_FILE_DELETE.- Parameters:
filename- name of the file to deleteinfo- info object- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
setSize
public void setSize(long size) throws MPIExceptionJava binding ofMPI_FILE_SET_SIZE.- Parameters:
size- size to truncate or expand file- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
preallocate
public void preallocate(long size) throws MPIExceptionJava binding ofMPI_FILE_PREALLOCATE.- Parameters:
size- size to preallocate file- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
getSize
public long getSize() throws MPIExceptionJava binding ofMPI_FILE_GET_SIZE.- Returns:
- size of file in bytes
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
getGroup
public Group getGroup() throws MPIException
Java binding ofMPI_FILE_GET_GROUP.- Returns:
- group which opened the file
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
getAMode
public int getAMode() throws MPIExceptionJava binding ofMPI_FILE_GET_AMODE.- Returns:
- file access mode to open the file
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
setInfo
public void setInfo(Info info) throws MPIException
Java binding ofMPI_FILE_SET_INFO.- Parameters:
info- info object- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
getInfo
public Info getInfo() throws MPIException
Java binding ofMPI_FILE_GET_INFO.- Returns:
- new info object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
setView
public void setView(long disp, Datatype etype, Datatype filetype, java.lang.String datarep) throws MPIExceptionJava binding ofMPI_FILE_SET_VIEWusingMPI_INFO_NULL.- Parameters:
disp- displacementetype- elementary datatypefiletype- filetypedatarep- data representation- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
setView
public void setView(long disp, Datatype etype, Datatype filetype, java.lang.String datarep, Info info) throws MPIExceptionJava binding ofMPI_FILE_SET_VIEW.- Parameters:
disp- displacementetype- elementary datatypefiletype- filetypedatarep- data representationinfo- info object- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
getView
public FileView getView()
Java binding ofMPI_FILE_GET_VIEW.- Returns:
- file view
-
readAt
public Status readAt(long offset, java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_READ_AT.- Parameters:
offset- file offsetbuf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
readAtAll
public Status readAtAll(long offset, java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_READ_AT_ALL.- Parameters:
offset- file offsetbuf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
writeAt
public Status writeAt(long offset, java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_WRITE_AT.- Parameters:
offset- file offsetbuf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
writeAtAll
public Status writeAtAll(long offset, java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_WRITE_AT_ALL.- Parameters:
offset- file offsetbuf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
iReadAt
public Request iReadAt(long offset, java.nio.Buffer buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_IREAD_AT.- Parameters:
offset- file offsetbuf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- request object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
iReadAtAll
public Request iReadAtAll(long offset, java.nio.Buffer buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_IREAD_AT_ALL.- Parameters:
offset- file offsetbuf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- request object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
iWriteAt
public Request iWriteAt(long offset, java.nio.Buffer buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_IWRITE_AT.- Parameters:
offset- file offsetbuf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- request object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
iWriteAtAll
public Request iWriteAtAll(long offset, java.nio.Buffer buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_IWRITE_AT_ALL.- Parameters:
offset- file offsetbuf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- request object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
read
public Status read(java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_READ.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
readAll
public Status readAll(java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_READ_ALL.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
write
public Status write(java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_WRITE.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
writeAll
public Status writeAll(java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_WRITE_ALL.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
iRead
public Request iRead(java.nio.Buffer buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_IREAD.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- request object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
iReadAll
public Request iReadAll(java.nio.Buffer buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_IREAD_ALL.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- request object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
iWrite
public Request iWrite(java.nio.Buffer buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_IWRITE.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- request object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
iWriteAll
public Request iWriteAll(java.nio.Buffer buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_IWRITE_ALL.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- request object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
seek
public void seek(long offset, int whence) throws MPIExceptionJava binding ofMPI_FILE_SEEK.- Parameters:
offset- file offsetwhence- update mode- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
getPosition
public long getPosition() throws MPIExceptionJava binding ofMPI_FILE_GET_POSITION.- Returns:
- offset of individual pointer
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
getByteOffset
public long getByteOffset(long offset) throws MPIExceptionJava binding ofMPI_FILE_GET_BYTE_OFFSET.- Parameters:
offset- offset- Returns:
- absolute byte position of offset
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
readShared
public Status readShared(java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_READ_SHARED.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
writeShared
public Status writeShared(java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_WRITE_SHARED.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
iReadShared
public Request iReadShared(java.nio.Buffer buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_IREAD_SHARED.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- request object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
iWriteShared
public Request iWriteShared(java.nio.Buffer buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_IWRITE_SHARED.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- request object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
readOrdered
public Status readOrdered(java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_READ_ORDERED.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
writeOrdered
public Status writeOrdered(java.lang.Object buf, int count, Datatype type) throws MPIException
Java binding ofMPI_FILE_WRITE_ORDERED.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
seekShared
public void seekShared(long offset, int whence) throws MPIExceptionJava binding ofMPI_FILE_SEEK_SHARED.- Parameters:
offset- file offsetwhence- update mode- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
getPositionShared
public long getPositionShared() throws MPIExceptionJava binding ofMPI_FILE_GET_POSITION_SHARED.- Returns:
- offset of individual pointer
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
readAtAllBegin
public void readAtAllBegin(long offset, java.lang.Object buf, int count, Datatype type) throws MPIExceptionJava binding ofMPI_FILE_READ_AT_ALL_BEGIN.- Parameters:
offset- file offsetbuf- buffercount- number of items in buffertype- datatype of each buffer element- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
readAtAllEnd
public Status readAtAllEnd(java.lang.Object buf) throws MPIException
Java binding ofMPI_FILE_READ_AT_ALL_END.- Parameters:
buf- buffer- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
writeAtAllBegin
public void writeAtAllBegin(long offset, java.lang.Object buf, int count, Datatype type) throws MPIExceptionJava binding ofMPI_FILE_WRITE_AT_ALL_BEGIN.- Parameters:
offset- file offsetbuf- buffercount- number of items in buffertype- datatype of each buffer element- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
writeAtAllEnd
public Status writeAtAllEnd(java.lang.Object buf) throws MPIException
Java binding ofMPI_FILE_WRITE_AT_ALL_END.- Parameters:
buf- buffer- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
readAllBegin
public void readAllBegin(java.lang.Object buf, int count, Datatype type) throws MPIExceptionJava binding ofMPI_FILE_READ_ALL_BEGIN.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
readAllEnd
public Status readAllEnd(java.lang.Object buf) throws MPIException
Java binding ofMPI_FILE_READ_ALL_END.- Parameters:
buf- buffer- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
writeAllBegin
public void writeAllBegin(java.lang.Object buf, int count, Datatype type) throws MPIExceptionJava binding ofMPI_FILE_WRITE_ALL_BEGIN.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
writeAllEnd
public Status writeAllEnd(java.lang.Object buf) throws MPIException
Java binding ofMPI_FILE_WRITE_ALL_END.- Parameters:
buf- buffer- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
readOrderedBegin
public void readOrderedBegin(java.lang.Object buf, int count, Datatype type) throws MPIExceptionJava binding ofMPI_FILE_READ_ORDERED_BEGIN.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
readOrderedEnd
public Status readOrderedEnd(java.lang.Object buf) throws MPIException
Java binding ofMPI_FILE_READ_ORDERED_END.- Parameters:
buf- buffer- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
writeOrderedBegin
public void writeOrderedBegin(java.lang.Object buf, int count, Datatype type) throws MPIExceptionJava binding ofMPI_FILE_WRITE_ORDERED_BEGIN.- Parameters:
buf- buffercount- number of items in buffertype- datatype of each buffer element- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
writeOrderedEnd
public Status writeOrderedEnd(java.lang.Object buf) throws MPIException
Java binding ofMPI_FILE_WRITE_ORDERED_END.- Parameters:
buf- buffer- Returns:
- status object
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
getTypeExtent
public int getTypeExtent(Datatype type) throws MPIException
Java binding ofMPI_FILE_GET_TYPE_EXTENT.- Parameters:
type- type of data- Returns:
- datatype extent
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
setAtomicity
public void setAtomicity(boolean atomicity) throws MPIExceptionJava binding ofMPI_FILE_SET_ATOMICITY.- Parameters:
atomicity- true to set atomic mode, false to set nonatomic mode- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
getAtomicity
public boolean getAtomicity() throws MPIExceptionJava binding ofMPI_FILE_GET_ATOMICITY.- Returns:
- current consistency of the file
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
sync
public void sync() throws MPIExceptionJava binding ofMPI_FILE_SYNC.- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
setErrhandler
public void setErrhandler(Errhandler errhandler) throws MPIException
Java binding of the MPI operationMPI_FILE_SET_ERRHANDLER.- Parameters:
errhandler- new MPI error handler for file- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
getErrhandler
public Errhandler getErrhandler() throws MPIException
Java binding of the MPI operationMPI_FILE_GET_ERRHANDLER.- Returns:
- MPI error handler currently associated with file
- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
callErrhandler
public void callErrhandler(int errorCode) throws MPIExceptionJava binding of the MPI operationMPI_FILE_CALL_ERRHANDLER.- Parameters:
errorCode- error code- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
-