Skip to content
Faster plug-in multi-threaded enumeration library for fplll
C++ Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
LICENSE
README.md

README.md

fplll-extenum

External enumeration library for fplll

Building

  • Install fplll & fpylll in a virtualenv, ensure $VIRTUAL_ENV is set to the virtual environment directory

  • make -C lib install

Usage

In a C++ program:

#include <fplll/enumlib.hpp>

void activate_enumlib()
{
  fplll_register_enumlib();
  // enumlib_set_numthreads(4); // default is to use all logical cores
}

In a Python program using fpylll:

import ctypes
enumlib = ctypes.cdll.LoadLibrary("libfplll_enumlib.so")
enumlib.fplll_register_enumlib()
#enumlib.enumlib_set_numthreads(4) # default is to use all logical cores
You can’t perform that action at this time.