Compiling Vowpal Wabbit
Vowpal Wabbit is a fast, scalable, useful learning algorithm.[1]
Prerequisites
- Boost >= 1.0 -- via the configure script
- Boost program-options
Download
Download source, either a release or the main branch, at their GitHub repository.[2]
We will use the main branch.
[juser@proteusa01 src]$ git clone
https://github.com/JohnLangford/vowpal_wabbit
This creates a directory vowpal_wabbit containing the current source code.
Configure
Load Boost module:
[juser@proteusa01 vowpal_wabbit]$ module load boost/openmpi/gcc/64/1.57.0
Configure, specifying Boost location -- this overwrites the Makefile that is distributed with the source (and which does not work as is on Proteus):
[juser@proteusa01 vowpal_wabbit]$ ./configure --prefix=/mnt/HA/groups/myrsrchGrp --with-boost=$BOOST_ROOT | tee Configure.out
Compile
[juser@proteusa01 vowpal_wabbit]$ make -j 12 | tee Make.out
Test
Requires Perl >= 5.14.0:
[juser@proteusa01 vowpal_wabbit]$ module load perl/5.20.0
[juser@proteusa01 vowpal_wabbit]$ make test | tee Make.test.out