Nek5000 reader crashes with big meshes
Using the Nek5000 reader from the VisIt bridge, I get crashes on memory allocation
ERROR: In /apps/daint/UES/ParaView/src/ParaView/VTK/Common/Core/vtkGenericDataArray.txx, line 452 vtkIdTypeArray (0x2aacaafe35e0): Unable to allocate -461348752 elements of size 8 bytes.
these negative numbers are typical of overflow errors.
Indeed, I looked at the code and it uses some old-style declarations (int), instead of vtkIdType. I fixed it and can now read 400M hexahedral datasets.
A patch is included.