Commit Graph

604 Commits (master)

Author SHA1 Message Date
Christopher J. Morrone d35d9616d7 Fix indenting 2012-01-13 15:43:54 -08:00
Christopher J. Morrone ef70266a84 Allow long summary to be printed for every test. 2012-01-13 15:43:54 -08:00
Christopher J. Morrone 8c95611125 Alphabetize the command line options 2012-01-13 15:43:47 -08:00
Christopher J. Morrone 488ee724a9 More code cleanup. No change in functionality. 2012-01-12 20:34:40 -08:00
Christopher J. Morrone d1e68df2f5 Measure and print file unlink time. 2012-01-08 19:43:41 -08:00
Christopher J. Morrone 8f0beba3cb Refactor PPDOuble. Eliminate cut-and-paste. 2012-01-08 19:43:41 -08:00
Christopher J. Morrone 6e90c1c113 Remove dead code. 2012-01-08 19:43:41 -08:00
Christopher J. Morrone 02d3ab685c Fix backwards compatibility with the reorderTasks option. 2012-01-08 19:43:41 -08:00
Christopher J. Morrone 8e06f07b28 Add header to set code preferences for vi and emacs. 2012-01-08 19:43:41 -08:00
Christopher J. Morrone 416c430811 Cleanup maxTimeDuration code. 2012-01-08 19:43:41 -08:00
Christopher J. Morrone 349f747ea5 Remove undocumented options. 2012-01-08 19:43:41 -08:00
Christopher J. Morrone 697f28e8a6 Begin to cleanup up the mess in TestIoSys(). 2012-01-08 19:36:50 -08:00
Christopher J. Morrone ed766570d0 Minor code cleanup. 2012-01-08 19:36:50 -08:00
Christopher J. Morrone 537ba5c09b Drop OPs columns 2012-01-08 19:36:50 -08:00
Christopher J. Morrone 4084e14d02 Add memoryPerNode option 2012-01-08 19:36:43 -08:00
Christopher J. Morrone 5ea51638df Add memoryPerTask option
Allows every task to allocate a specified amount of memory as
a rough simulation of a real application's memory usage.

Every page of the allocated memory is touch to defeat lazy
memory allocation.

Original patch by Michael Kluge <michael.kluge@tu-dresden.de>
2012-01-08 10:54:10 -08:00
Christopher J. Morrone dd82ab1bed Fix for #1 2012-01-02 09:37:09 -08:00
Christopher J. Morrone 51348f34ca Add EWARN macro 2011-12-14 13:40:25 -08:00
Christopher J. Morrone 1b63aee6c8 Fix time array index for reads 2011-12-13 11:49:31 -08:00
Christopher J. Morrone dbca13903b Message cleanup 2011-12-13 11:46:04 -08:00
Christopher J. Morrone c56ce328f2 Eleminate more cut-and-paste code. 2011-12-13 11:27:01 -08:00
Christopher J. Morrone 4c3f46ac3f Clean up some normal and debug print statements. 2011-12-13 01:10:23 -08:00
Christopher J. Morrone 1237df7b48 Print test numbers 2011-12-13 01:10:23 -08:00
Christopher J. Morrone 511a0b1435 Refactor the test summary code.
Only print total summary after all tests run.

Put calculated results from each iteration of a test in a separate
IOR_results_t structure.  Clean up the allocation and freeing code
for these caluclated bits, which allowing us to hang onto the results
until the end of all tests.  That in turn allows us to perform one
big summary at the end of all of the tests.
2011-12-13 01:08:58 -08:00
Christopher J. Morrone 69ec35a432 Print header for each test 2011-12-11 02:14:23 -08:00
Christopher J. Morrone e8a86dfde3 Only print the header info once. 2011-12-11 01:50:19 -08:00
Christopher J. Morrone 672d4065de Refactor the SummarizeResults code. 2011-12-11 00:33:58 -08:00
Christopher J. Morrone 33d0a73da6 Fix column headers in print statements.
Also drop silly "EXCEL" field.
2011-12-09 11:27:53 -08:00
Christopher J. Morrone 37e3ba1766 Drop "XXCEL" strings from print statements 2011-11-29 13:14:14 -08:00
Christopher J. Morrone f2c7aed220 Call fsync AFTER checking return code from previous call. 2011-11-21 19:54:02 -08:00
Christopher J. Morrone 126374230a Improve spacing in print statement 2011-11-21 13:56:10 -08:00
Christopher J. Morrone a60ad0b088 Impose proper file scoping and header usage.
Clean up the header files to only contain those things that
need to be shared between .c files.

Functions that are not shared are now declared static to
make their file scope explicit.  Functions that ARE shared
are declared in appropriate headers.

I am not going to claim that I caugh everything, but at
least it is a good start.
2011-11-11 17:30:20 -08:00
Christopher J. Morrone e7fea4f102 Fix prototype locations 2011-11-11 15:18:17 -08:00
Christopher J. Morrone 0072f26946 More simple code cleanup 2011-11-11 15:11:45 -08:00
Christopher J. Morrone 240e5ce93f Change the the One True Formatting (Linux style)
Ran the main ior code through "indent -linux --no-tabs".
2011-11-11 15:11:45 -08:00
Christopher J. Morrone 3ff7a4a4ae Add missing config.h include 2011-11-11 15:11:45 -08:00
Christopher J. Morrone 0a8ff51981 Remove instance of cut-and-paste. 2011-11-10 19:02:19 -08:00
Christopher J. Morrone 4cdbf3aad7 Improve error messages.
Other minor code style fixes.
2011-11-10 19:01:34 -08:00
Christopher J. Morrone b589db0a4e Change to single-line error and warning messages.
It was a nice idea to use multi-line error messages to make them
really obvious, but unfortunately it is terrible in practice.  Often
errors will occur on multiple nodes simultaneously and the error
messages will be interleaved and virtually unreadable.

I also prefixed each message with "ior", to make it clear that
it is ior that produced the message, and not the scheduler, MPI, or
something else.
2011-11-10 16:10:21 -08:00
Christopher J. Morrone 7cbdd75e6c Add an --enable-caps configure option.
If you must have the binary named "IOR" in all caps, use
the --enable-caps configure option.
2011-11-09 17:38:34 -08:00
Christopher J. Morrone 2384ebe135 Use first available aiori as the default.
Doesn't just assume "POSIX" is available.
2011-11-09 16:34:16 -08:00
Christopher J. Morrone 4ae5742f87 Replace defaults.h with a simple initializer function. 2011-11-09 16:30:01 -08:00
Christopher J. Morrone 877fcd305b Clean up lustre striping support.
Error out immediately if a lustre option was specified,
but no lustre support was compiled in.

Set a flag when any lustre string options are set, to
make the code cleaner.
2011-11-09 14:30:21 -08:00
Christopher J. Morrone 3b250633cc Use autoconf to check for lustre 2011-11-09 14:14:14 -08:00
Christopher J. Morrone 29457fac9f Use autoconf to link against the math library. 2011-11-02 17:49:43 -07:00
Christopher J. Morrone 44dfa2d95c Move cbif to the contrib directory.
Also mark it "noinst" in automake.
2011-11-02 17:36:32 -07:00
Christopher J. Morrone f497b67d3f Quiet compiler warning.
Make the implicit cast explicit to quiet a compiler warning.
2011-11-02 14:05:17 -07:00
Christopher J. Morrone 01c91e45d3 Make IOR get its version from a META file. 2011-10-27 18:46:30 -07:00
Christopher J. Morrone 08d5629302 Rename IOR.[ch] to ior.[ch]. I don't like CAPS. 2011-10-27 18:46:29 -07:00
Christopher J. Morrone ca832bb46e Give ior a more reasonable plugin system. 2011-10-27 18:46:18 -07:00
Christopher J. Morrone 87d8bc19fb Fix compilation warnings, and minor code cleanup. 2011-10-27 17:45:14 -07:00
Christopher J. Morrone 5eed1723f0 Remove comment cruft from beginnings of files. 2011-10-27 17:45:14 -07:00
Christopher J. Morrone 02fda88fd0 Begin conversion to autoconf 2011-10-27 17:45:09 -07:00
Christopher J. Morrone a56d39e6f1 Start with the code from IOR-2.10.3 2011-06-17 12:20:43 -07:00