|
MADNESS 0.10.1
|
An array of more than 2^32 elements through the buffer and vector archives. More...
#include <cstdint>#include <cstdlib>#include <iostream>#include <vector>#include <madness/world/MADworld.h>#include <madness/world/buffer_archive.h>#include <madness/world/vector_archive.h>
Functions | |
| int | main (int argc, char **argv) |
An array of more than 2^32 elements through the buffer and vector archives.
The count of an array used to be an unsigned int, so such an array was cut to its size modulo 2^32 when stored, with no error. Takes about 13 GiB, so the test carries the "large" label; test_ar.cc checks the count alone, which takes no memory.
| int main | ( | int | argc, |
| char ** | argv ) |