Example demonstrating parallel error handling in MOAB. More...
Include dependency graph for TestErrorHandlingPar.cpp:Go to the source code of this file.
Functions | |
| ErrorCode | TestErrorHandlingPar_1 () |
| ErrorCode | TestErrorHandlingPar_2 () |
| int | main (int argc, char **argv) |
Example demonstrating parallel error handling in MOAB.
This example shows how to:
The example demonstrates two test cases:
Description: This example tests MOAB's trace back error handler in parallel.
To run: mpiexec -np n ./TestErrorHandlingPar <test_case_num(1 to 2)>
| argc | Number of command line arguments |
| argv | Command line arguments array |
Definition in file TestErrorHandlingPar.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 81 of file TestErrorHandlingPar.cpp.
References ErrorCode, MB_CHK_ERR, MB_SUCCESS, moab::MBErrorHandler_Finalize(), moab::MBErrorHandler_Init(), TestErrorHandlingPar_1(), and TestErrorHandlingPar_2().
| ErrorCode TestErrorHandlingPar_1 | ( | ) |
Definition at line 41 of file TestErrorHandlingPar.cpp.
References moab::Core::load_file(), mb, MB_CHK_ERR, MB_SUCCESS, and MESH_DIR.
Referenced by main().
| ErrorCode TestErrorHandlingPar_2 | ( | ) |
Definition at line 62 of file TestErrorHandlingPar.cpp.
References moab::Core::load_file(), mb, MB_CHK_ERR, MB_SUCCESS, and MESH_DIR.
Referenced by main().