ParaFROST stands for Parallel Formal Reasoning of Satisfiability. It is a parallel SAT solver with GPU-accelerated inprocessing capable of harnessing NIVIDA CUDA-enabled GPUs in applying modern inprocessing tecnhiques in parallel. The CDCL search is built from scratch with various optimisations based on CaDiCaL heuristics (see our paper in TACAS'21). The inprocessing engine extends our previous work in SIGmA simplifier with new data structures, parallel garbage collection and more.
To install the GPU solver, make sure you have a CUDA-capable GPU with pre-installed NVIDIA driver and CUDA toolkit.
For installing the driver + CUDA, run the following commands:
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
sudo apt-get update
sudo apt-get -y install cuda
Make CUDA enviromental variables:
export CUDA_HOME=/usr/local/cuda-${CUDA_SHORT}
LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
PATH=${CUDA_HOME}/bin:${PATH}
Now the GPU solver is ready to install by running the makefile via the command make -C gpu
.
The parafrost
binary and the library libparafrost.a
will be created by default in the solver local directory.
To build a CPU-only version of the solver, run make -C cpu
.
Add assert=1
argument with the make command to enable assertions or debug=1
to collect debugging information for both the CPU and GPU solvers.
The solver has a complete artifact for performance evaluation and comparisons with CaDiCaL solver.
More information can be found in: https://gears.win.tue.nl/software/parafrost
The solver can be used via the command parafrost [<option> ...][<infile>.<cnf>][<option> ...]
.
For more options, type parafrost -h
or parafrost --helpmore
.