maxent_toolbox

Maximum Entropy toolbox for MATLAB

View the Project on GitHub orimaoz/maxent_toolbox

Building the maxent toolbox

The maxent toolbox is pre-compiled for Windows, OSX and CentOS so you can often skip building it and directly download the binaries from here.

In order to provide faster run-time, the maxent toolbox was built with the Intel C++ compiler and makes use of the MKL library. These are available as part of the Intel Parallel Studio which is a commercial package but offers free licenses for students. It is possible, with minor modifications, to build the code without these packages but this will result in noticeably slower runtimes.

Building the toolbox for Windows

We provide a prebuilt project file for Microsoft Visual studio named maxentToolbox_windows.sln. This project file was created using Visual Studio Community 2015 which is available for free from Microsoft. Note that the project settings assume that you have Intel Parallel Studio installed.

After the build is complete, copy all the *.mexw64 files to the root of the maxent_toolbox package.

Building the toolbox for Mac

Edit the file build_mac.sh to set the directories of the MKL packages provided by Intel Composer XE. Then run:

source build_mac.sh

After the build is complete, copy all the *.mexmaci64 files to the root of the maxent_toolbox package.

Building the toolbox for Unix

Edit the file build_unix.sh to set the directories of the MKL packages provided by Intel Composer XE. Then run:

source build_unix.sh

to build binaries backwards-compatible for older CPUs.

After the build is complete, copy all the *.mexa64 files to the root of the maxent_toolbox package.