- Timestamp:
- 12/08/08 15:15:30 (15 months ago)
- Files:
-
- 1 modified
-
branches/1.0.3/src/lib/nc.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0.3/src/lib/nc.c
r629 r644 793 793 int rank; 794 794 char value[MPI_MAX_INFO_VAL]; 795 int flag, alignment= 0;795 int flag, alignment=512; 796 796 797 797 assert(!NC_readonly(ncp)); … … 806 806 if (flag) 807 807 alignment=atoi(value); 808 /* negative or zero alignment? can't imagine what that would even mean. just809 * align to nearest byte (no alignment) */808 /* negative or zero alignment? can't imagine what that would even mean. in 809 * that case, align to nearest 512 byte (default for serial netcdf)) */ 810 810 if (alignment <= 0) 811 alignment = 1;811 alignment = 512; 812 812 813 813 MPI_Info_free(&info);
![(please configure the [header_logo] section in trac.ini)](/projects/parallel-netcdf/chrome/common/trac_banner.png)