PIO
2.5.4
|
Set the error handling method in case error is encountered in C. More...
Functions | |
int | PIOc_Set_File_Error_Handling (int ncid, int method) |
Set the error handling method to be used for subsequent pio library calls, returns the previous method setting. More... | |
int | PIOc_Set_IOSystem_Error_Handling (int iosysid, int method) |
Set the error handling method used for subsequent calls. More... | |
int | PIOc_set_iosystem_error_handling (int iosysid, int method, int *old_method) |
Set the error handling method used for subsequent calls for this IO system. More... | |
Set the error handling method in case error is encountered in C.
int PIOc_Set_File_Error_Handling | ( | int | ncid, |
int | method | ||
) |
Set the error handling method to be used for subsequent pio library calls, returns the previous method setting.
Note that this changes error handling for the IO system that was used when this file was opened. Other files opened with the same IO system will also he affected by this call. This function is supported but deprecated. New code should use PIOc_set_iosystem_error_handling(). This method has no way to return an error, so any failure will result in MPI_Abort.
ncid | the ncid of an open file |
method | the error handling method |
int PIOc_Set_IOSystem_Error_Handling | ( | int | iosysid, |
int | method | ||
) |
Set the error handling method used for subsequent calls.
This function is deprecated. New code should use PIOc_set_iosystem_error_handling(). This method has no way to return an error, so any failure will result in MPI_Abort.
iosysid | the IO system ID |
method | the error handling method |
int PIOc_set_iosystem_error_handling | ( | int | iosysid, |
int | method, | ||
int * | old_method | ||
) |
Set the error handling method used for subsequent calls for this IO system.
iosysid | the IO system ID. Passing PIO_DEFAULT instead changes the default error handling for the library. |
method | the error handling method |
old_method | pointer to int that will get old method. Ignored if NULL. |