VonTum / Dedekind

The codebase that computed the Ninth Dedekind Number
https://arxiv.org/abs/2304.03039
13 stars 4 forks source link

This project lacks a README.md file with instructions #1

Closed sviscapi closed 10 months ago

sviscapi commented 12 months ago

Dear Lennart @VonTum ,

Could you please add some README.md to this project, with instructions on how to build your code ?

So far my compilation attempts fail with the following error message:

/home/samuel/src/Dedekind/fpga_production/fpgaBoilerplate.cpp:3:10: fatal error: CL/cl_ext_intelfpga.h: No such file or directory
3 | #include <CL/cl_ext_intelfpga.h>
  |          ^~~~~~~~~~~~~~~~~~~~~~~

Is your application only compatible with FPGA ? Should I install the missing headers, even though I plan to compile your code for x86_64 ?

Best regards,

Samuel

VonTum commented 12 months ago

Hi Samuel,

Yes, those headers are for the Intel OpenCL FPGA connection. I've split up the repository into two main artifacts: production and fpga_production. production does not depend on anything FPGA related, and contains optimized x86 code for computing the parts. fpga_production contains the code to interface with the prebuilt FPGA kernel. This kernel is not built as part of the CMake, as it takes about half a day on our 128-core system. If you want I can send over the built kernel for the N520 card.

You should be able to compile production separately, with CMake it should do that already, even if fpga_production errors.

sviscapi commented 10 months ago

Hi Lennart. Thanks for adding a README file to your project. Regards, Samuel