IOR
|
#include <stdio.h>
#include <mpi.h>
Go to the source code of this file.
Macros | |
#define | FAIL(...) FailMessage(rank, ERROR_LOCATION, __VA_ARGS__) |
#define | WARN_RESET(MSG, TO_STRUCT_PTR, FROM_STRUCT_PTR, MEMBER) |
#define | WARN(MSG) |
#define | EWARNF(FORMAT, ...) |
#define | EWARN(MSG) |
#define | EINFO(FORMAT, ...) |
#define | ERRF(FORMAT, ...) |
#define | ERR_ERRNO(MSG) |
#define | ERR(MSG) |
#define | MPI_CHECKF(MPI_STATUS, FORMAT, ...) |
#define | MPI_CHECK(MPI_STATUS, MSG) |
Functions | |
void | FailMessage (int rank, const char *location, char *format,...) |
Variables | |
FILE * | out_logfile |
int | verbose |
int | aiori_warning_as_errors |
#define EINFO | ( | FORMAT, | |
... | |||
) |
Definition at line 65 of file aiori-debug.h.
Referenced by POSIX_Open(), and POSIX_Xfer().
#define ERR | ( | MSG | ) |
Definition at line 92 of file aiori-debug.h.
Referenced by aligned_buffer_alloc(), aligned_buffer_free(), bw_ops_values(), CheckRunSettings(), complete_all(), CreateTest(), CurrentTimeString(), DFS_check_params(), DFS_Init(), DFS_Xfer(), DUMMY_Create(), DUMMY_final(), DUMMY_Open(), GetTestFileName(), GetTimeStamp(), Gfarm_close(), Gfarm_create(), Gfarm_fsync(), Gfarm_get_file_size(), Gfarm_open(), Gfarm_xfer(), HandleDistribute(), HDF5_check_params(), HDF5_Open(), HDFS_Close(), hdfs_connect(), HDFS_Create_Or_Open(), HDFS_Delete(), HDFS_GetFileSize(), HDFS_Xfer(), HogMemory(), IME_GetFileSize(), IME_Open(), IME_Xfer(), ior_mmap_file(), md_workbench_run(), mdtest_run(), MMAP_check_params(), MMAP_Close(), MMAP_Create(), MMAP_Xfer(), MPIIO_check_params(), NCMPI_Create(), NCMPI_Open(), NodeMemoryStringToBytes(), ParseFileName(), PMDK_GetFileSize(), POSIX_check_params(), POSIX_Mknod(), POSIX_Xfer(), PrependDir(), process_some(), RADOS_Create_Or_Open(), ReadConfigScript(), Regex(), S3_check_params(), S3_Close_internal(), S3_Create_Or_Open_internal(), S3_Xfer_internal(), safeMalloc(), SetHints(), SetupDataSet(), share_file_handle(), submit_pending(), TestIoSys(), updateParsedOptions(), ValidateTests(), and WriteOrReadSingle().
#define ERR_ERRNO | ( | MSG | ) |
Definition at line 86 of file aiori-debug.h.
#define ERRF | ( | FORMAT, | |
... | |||
) |
Definition at line 77 of file aiori-debug.h.
Referenced by aio_check_params(), aio_initialize(), complete_all(), compute_histogram(), HDF5_check_params(), IME_Close(), IME_GetFileSize(), POSIX_check_params(), POSIX_Close(), POSIX_Create(), POSIX_GetFileSize(), POSIX_Open(), POSIX_Xfer(), PrependDir(), return_position(), run_benchmark(), run_precreate(), store_position(), and submit_pending().
#define EWARN | ( | MSG | ) |
Definition at line 59 of file aiori-debug.h.
Referenced by CheckFileSize(), GetPlatformName(), HDFS_Delete(), HDFS_Fsync(), MMAP_Fsync(), MPIIO_Fsync(), POSIX_Create(), and PrintHeader().
#define EWARNF | ( | FORMAT, | |
... | |||
) |
Definition at line 45 of file aiori-debug.h.
Referenced by CheckFileSize(), collective_helper(), CompareData(), CountErrors(), create_file(), create_remove_directory_tree(), create_remove_dirs(), DisplayOutliers(), IME_Delete(), InitTests(), md_workbench_run(), mdtest_iteration(), mdtest_read(), mdtest_run(), mdtest_stat(), POSIX_check_params(), POSIX_Delete(), POSIX_Fsync(), POSIX_Rename(), POSIX_Xfer(), rename_dir_test(), run_benchmark(), test_initialize(), and TestIoSys().
#define FAIL | ( | ... | ) | FailMessage(rank, ERROR_LOCATION, __VA_ARGS__) |
Definition at line 12 of file aiori-debug.h.
Referenced by create_remove_directory_tree(), DecodeDirective(), GetNumTasksOnNode0(), IME_GetFileSize(), md_validate_tests(), mdtest_run(), phase_end(), POSIX_Sync(), QueryNodeMapping(), run_benchmark(), run_precreate(), S3_init(), show_file_system_size(), StoreRankInformation(), StoreStoneWallingIterations(), and TestIoSys().
#define MPI_CHECK | ( | MPI_STATUS, | |
MSG | |||
) |
Definition at line 127 of file aiori-debug.h.
Referenced by CEPHFS_GetFileSize(), CheckFileSize(), CountErrors(), DecodeDirective(), DFS_Finalize(), DisplayOutliers(), DistributeHints(), file_hits_histogram(), GetNumNodes(), GetNumTasks(), GetNumTasksOnNode0(), GetOffsetArrayRandom(), HandleDistribute(), HDF5_Open(), HDFS_Create_Or_Open(), HDFS_Xfer(), IME_Xfer(), ior_main(), ior_run(), MPIIO_Access(), MPIIO_Close(), MPIIO_GetFileSize(), MPIIO_GetVersion(), MPIIO_Open(), MPIIO_Xfer(), NCMPI_Create(), NCMPI_Open(), PMDK_Create(), PMDK_GetFileSize(), PMDK_Open(), POSIX_Create(), RADOS_GetFileSize(), ReduceIterResults(), S3_Close_internal(), s3_connect(), SeekOffset(), SetHints(), share_file_handle(), ShowHints(), test_finalize(), test_initialize(), TestIoSys(), TimeDeviation(), and WriteOrRead().
#define MPI_CHECKF | ( | MPI_STATUS, | |
FORMAT, | |||
... | |||
) |
Definition at line 106 of file aiori-debug.h.
Referenced by MPIIO_Delete(), and MPIIO_Open().
#define WARN | ( | MSG | ) |
Definition at line 32 of file aiori-debug.h.
Referenced by aiori_select(), aligned_buffer_free(), CEPHFS_GetFileSize(), CEPHFS_Init(), CEPHFS_StatFS(), CheckFileSize(), CountErrors(), DistributeHints(), DUMMY_final(), DUMMY_init(), file_test(), GetFileMode(), HDF5_check_params(), HDF5_GetVersion(), HDF5_Open(), hdfs_set_o_direct_flag(), HDFS_Xfer(), IME_Fsync(), IME_Mkdir(), IME_Rmdir(), IME_Statfs(), md_validate_tests(), PMDK_Delete(), POSIX_check_params(), RADOS_GetFileSize(), RADOS_MkDir(), RADOS_RmDir(), RADOS_Stat(), RADOS_StatFS(), rename_dir_test(), S3_check_params(), S3_Open(), S3_Xfer_internal(), set_o_direct_flag(), SetHints(), SetupDataSet(), show_file_system_size(), ShowFileSystemSize(), StoreRankInformation(), and TestIoSys().
#define WARN_RESET | ( | MSG, | |
TO_STRUCT_PTR, | |||
FROM_STRUCT_PTR, | |||
MEMBER | |||
) |
Definition at line 21 of file aiori-debug.h.
Referenced by ValidateTests().
void FailMessage | ( | int | rank, |
const char * | location, | ||
char * | format, | ||
... | |||
) |
Definition at line 134 of file utilities.c.
References out_logfile, PrintTimestamp(), and testComm.
int aiori_warning_as_errors |
Definition at line 85 of file ior.c.
Referenced by InitTests(), mdtest_run(), and test_initialize().
FILE* out_logfile |
Definition at line 72 of file utilities.c.
Referenced by airoi_create_all_module_options(), CompareData(), CountErrors(), DecodeDirective(), DelaySecs(), DUMMY_Close(), DUMMY_Create(), DUMMY_Delete(), DUMMY_Fsync(), DUMMY_GetFileSize(), DUMMY_Open(), DUMMY_Xfer(), DumpBuffer(), ExtractHint(), FailMessage(), file_hits_histogram(), GetNumTasksOnNode0(), HogMemory(), ior_main(), ior_run(), md_workbench_run(), mdtest_run(), ParseLine(), PrintHeader(), PrintTimestamp(), QueryNodeMapping(), RemoveFile(), ShowFileSystemSize(), ShowHints(), ShowSetup(), ShowTestEnd(), summarize_results_rank0(), TestIoSys(), updateParsedOptions(), VerboseMessage(), WriteOrRead(), and WriteTimes().
int verbose |
Definition at line 70 of file utilities.c.
Referenced by CheckFileSize(), CompareData(), DUMMY_Close(), DUMMY_Create(), DUMMY_Delete(), DUMMY_Fsync(), DUMMY_GetFileSize(), DUMMY_Open(), DUMMY_Xfer(), HDFS_Close(), hdfs_connect(), HDFS_Create(), HDFS_Create_Or_Open(), HDFS_Delete(), hdfs_disconnect(), HDFS_Fsync(), HDFS_GetFileSize(), HDFS_Open(), HDFS_Xfer(), HogMemory(), InitTests(), ior_main(), mdtest_run(), POSIX_check_params(), POSIX_Open(), POSIX_Xfer(), PrintHeader(), PrintLongSummaryAllTests(), PrintLongSummaryHeader(), PrintLongSummaryOneOperation(), PrintRemoveTiming(), PrintShortSummary(), PrintTestEnds(), ProcessIterResults(), ReduceIterResults(), RemoveFile(), S3_Close_internal(), S3_Create_Or_Open_internal(), SetupDataSet(), ShowTestStart(), test_initialize(), TestIoSys(), VerboseMessage(), and WriteOrRead().