Skip to content

Instantly share code, notes, and snippets.

@klainfo
Last active August 29, 2015 14:26
Show Gist options
  • Save klainfo/95a23fb44c95ec553ab9 to your computer and use it in GitHub Desktop.
Save klainfo/95a23fb44c95ec553ab9 to your computer and use it in GitHub Desktop.
How to use wsrf with Boost Parallel Computing library
# Download Boost C++ library
wget http://sourceforge.net/projects/boost/files/boost/1.58.0/boost_1_58_0.tar.gz/download
# Extract
tar -zxvf download
# Install http://wiki.tiker.net/BoostInstallationHowto
cd boost_1_58_0
./bootstrap.sh --prefix=/home/hpc3151/pool --libdir=/home/hpc3151/pool/lib --with-libraries=signals,thread,python,mpi
./bjam -j4 variant=release link=shared install
./b2
./b2 install
install.packages("wsrf",
type="source", dependencies=TRUE, INSTALL_opts = c('--no-lock'),
configure.args="--with-boost-include=/home/hpc3151/pool/lib/boost_1_58_0
--with-boost-lib=/home/hpc3151/pool/lib/boost_1_58_0/stage/lib")
@klainfo
Copy link
Author

klainfo commented Jul 27, 2015

Run installBoost.sh first and followed with installWSRF.R

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment