How to install DLB

Build requirements

  • A supported platform running GNU/Linux (i386, x86-64, ARM, PowerPC or IA64)
  • C compiler
  • Python 2.4 or higher

Installation steps

  1. Get the latest DLB tarball from Unpack the file and enter the new directory:

    $ tar xzf dlb-x.y.tar.gz
    $ cd dlb-x.y/
  2. Configure it, with optionally some of the DLB configure flags:

    $ ./configure --prefix=<DLB_PREFIX>
  3. Build and install:

    $ make
    $ make install


If you plan to compile Nanos++ and Mercurium later, consider adding --with-dlb=<DLB_PREFIX> to their configure options.

DLB configure flags

By default, the autotools scripts will configure four versions of the library to be built, the combination of the performance and debug versions with the instrumentation option. The basic library (performance, no-instrumentation) cannot be disabled but the other three can be freely disabled using the following flags.

 Disable Debug library.
 Disable Instrumentation library.
 Disable Instrumentation-Debug library.

DLB library has two optional dependencies. MPI allows DLB to automatically detect some patterns about the load balance of the application. When MPI support is detected, another set of libraries libdlb_mpi* and libdlb_mpif* are built; refer to Preload mechanism for MPI applications for more details. The other optional dependency is HWLOC that allows DLB library to get some knowledge about the hardware details of the compute node. If HWLOC is not found, hardware detection will fall back to some OS utilities.

 Specify where to find the MPI libraries and include files.
 Specify where to find the HWLOC libraries.