PASSIONLab / CombBLAS

The Combinatorial BLAS (CombBLAS) is an extensible distributed-memory parallel graph library offering a small but powerful set of linear algebra primitives specifically targeting graph analytics.
Other
64 stars 22 forks source link

Windows VisualStudio 2019 (CMake) build ? #10

Open atopavirgil opened 3 years ago

atopavirgil commented 3 years ago

Any plans to get this to build in Windows (VS2019 using CMake mode) ? I think it is pretty close. There are a few headers problems (like unistd.h and sys/time) but these can be fixed . There is some small assembly code which needs to be changed to work in VS (uses GCC syntax) , and there are 2 functions which give errors because the old "Variable Length arrays" which is not C++ standard and which is not supported at all (no extension) for Microsoft tools. One is in \combblas\usort\src\parUtils.cpp (for sure VA) and another is probably same but implies a lot of templates, so it may be a different problem in \combblas\include\CombBLAS\mtSpGEMM.h Everything else builds, there are a few packages required but using vcpkg package manager they are found and build, so all dependencies are there.