Skip to content

Commit

Permalink
Remove archaic Parallel-NetCDF 2 GiB limit
Browse files Browse the repository at this point in the history
Parallel-NetCDF has not had a 2 GiB file size limitation for quite some time,
so we can remove this check.

fixes #6
  • Loading branch information
Robert Latham authored and morrone committed Sep 12, 2012
1 parent b76238b commit c0c1f38
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ior.c
Original file line number Diff line number Diff line change
Expand Up @@ -2302,10 +2302,6 @@ static void ValidTests(IOR_param_t * test)
&& (test->blockSize < sizeof(IOR_size_t)
|| test->transferSize < sizeof(IOR_size_t)))
ERR("block/transfer size may not be smaller than IOR_size_t for NCMPI");
if ((strcmp(test->api, "NCMPI") == 0)
&& ((test->numTasks * test->blockSize * test->segmentCount)
> (2 * (IOR_offset_t) GIBIBYTE)))
ERR("file size must be < 2GiB");
if ((test->useFileView == TRUE)
&& (sizeof(MPI_Aint) < 8) /* used for 64-bit datatypes */
&&((test->numTasks * test->blockSize) >
Expand Down

0 comments on commit c0c1f38

Please sign in to comment.