| | 1161 | /* assertion: because recsize will be used to set up the file |
| | 1162 | * view, we must ensure there is no overflow when specifying |
| | 1163 | * how big a stride there is between items (think interleaved |
| | 1164 | * records). |
| | 1165 | * |
| | 1166 | * note: 'recsize' is the sum of the record size of all record |
| | 1167 | * variables in this dataset */ |
| | 1168 | if (ncp->recsize != (MPI_Aint)ncp->recsize) { |
| | 1169 | fprintf(stderr, "Type overflow: unable to read/write multiple records in this dataset\non this platform. Please either access records of this record variable\none-at-a-time or run on a 64 bit platform\n"); |
| | 1170 | } |
| | 1171 | assert (ncp->recsize == (MPI_Aint)ncp->recsize); |