VonTum / Dedekind

The codebase that computed the Ninth Dedekind Number
https://arxiv.org/abs/2304.03039
13 stars 4 forks source link
discrete-mathematics fpga-accelerator high-performance-computing

The Dedekind Project

This codebase contains all code I built over the course of the three years of the Quest to find the 9th Dedekind Number. It started as my 2020-2021 Master's thesis in Civil Engineering at KU Leuven, which I successfully defended in June 2021. After finishing the thesis I continued working on it at home because our FPGA idea seemed promising. On March 8th we found the 9th Dedekind Number, and published our result on April 6th right after Christian Jäkel's preprint on his computation came out.

Dedekind Numbers

D(n)
D(0) 2
D(1) 3
D(2) 6
D(3) 20
D(4) 168
D(5) 7581
D(6) 7828354
D(7) 2414682040998
D(8) 56130437228687557907788
D(9) 286386577668298411128469151667598498812366

Components

Building and use

Building production does not require any external libraries other than the OS provided ones.

Run setup.sh or setupNUMA.sh (depending on if you have a system with NUMA nodes) to set up the build/build_debug / build_numa/build_debug_numa folders.

Then in your preferred build folder, run cmake --build . --parallel --target production to build it.

Run ./production help for a list of all commands it supports. Most commands end with a number. This specifies the number of dimensions of the basic block MBFs used in computation. Most commands have an optimized 7-dimensional version.

You can generate the main buffers used with ./production preCompute7. This will use some 100GB of disk space, at least 32GB of memory and takes several hours. You should make sure to create a data/ folder in the repository directory (Dedekind) first.

Online resources of the project

Computation of the 9th Dedekind Number using FPGA Supercomputing (Talk at PC2)

A computation of D(9) using FPGA Supercomputing (Arxiv preprint)

@misc{vanhirtum2023computation,
      title={A computation of D(9) using FPGA Supercomputing}, 
      author={Lennart Van Hirtum and Patrick De Causmaecker and Jens Goemaere and Tobias Kenter and Heinrich Riebler and Michael Lass and Christian Plessl},
      year={2023},
      eprint={2304.03039},
      archivePrefix={arXiv},
      primaryClass={cs.DM}
}

A path to compute the 9th Dedekind Number using FPGA Supercomputing (Lennart Van Hirtum's Master's Thesis)

Data Files

Media Attention

We have been grateful to gain such an outpouring of media attention to our project. The computation of the 9th Dedekind Number has been featured in various online publications, such as Quanta Magazine, Scientific American, New Scientist, and Phys.org.

It has also been picked up by the Flemish Newspaper De Standaard and the German Neue Westfälische.

Authors

Acknowledgements

The authors gratefully acknowledge the computing time provided to them on the high-performance computers Noctua 2 at the NHR Center PC2. These are funded by the Federal Ministry of Education and Research and the state governments participating on the basis of the resolutions of the GWK for the national highperformance computing at universities (www.nhr-verein.de/unsere-partner).