hyrise / hyrise-v1

HYRISE In-Memory Hybrid Storage Engine (archived, now developed in hyrise/hyrise repo)
https://github.com/hyrise/hyrise
MIT License
89 stars 44 forks source link

Compilation error when Metis is configured with 64-bit indices #419

Open WojciechMula opened 8 years ago

WojciechMula commented 8 years ago

According to the Metis documentation the library could be configured with 32 (default) or 64-bit indices. This is done by adjusting a definition DXTYPEWIDTH in include/metis.h.

And when the value is set to 64 bit then hyrise compilation fails due to invalid conversion. The source uses bare type int, while Metis uses an alias idx_t.