diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-07-04 08:36:25 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-07-17 09:22:54 (GMT) |
commit | 1da40c3a2b2d3809871bcdbafe9c13f337ee1e88 (patch) | |
tree | 8a15310872624e44b5d41a91c11ca6af120609aa /src/tests/tng_parallel_read.c | |
parent | e6e85d562829bcae40f9b360937b491699736b92 (diff) |
Rewrite of file i/o.
Do not read and write data blocks in whole chunks. Read and
write value by value and do the md5 summing in steps.
This hopefully avoids memory alignment problems reported
on ARM architectures.
Fixed a bug freeing trajectory mapping memory.
Change-Id: I3438b3d3faf5349dcd477a31cfb4bacf236ed582
Diffstat (limited to 'src/tests/tng_parallel_read.c')
-rw-r--r-- | src/tests/tng_parallel_read.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/tng_parallel_read.c b/src/tests/tng_parallel_read.c index 44e8f79..c2ef2d6 100644 --- a/src/tests/tng_parallel_read.c +++ b/src/tests/tng_parallel_read.c @@ -11,9 +11,10 @@ * modify it under the terms of the Revised BSD License. */ +#include "tng/tng_io.h" + #include <stdlib.h> #include <stdio.h> -#include "tng/tng_io.h" /* N.B. this code is for testing parallel reading of trajectory frame sets. The |