-
Notifications
You must be signed in to change notification settings - Fork 10
Homedir
Yann Pfau-Kempf edited this page Oct 11, 2021
·
8 revisions
The following step is only required once for each user and only if LD_LIBRARY_PATH does not already include $HOME/lib. Tell the dynamic loader to search for libraries also in your home directory:
echo "export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH" >> $HOME/.bashrc
source $HOME/.bashrc
Starting from the directory where the tarballs were uncompressed:
cd ~
Compile zoltan in a separate directory:
mkdir zoltan-build
cd zoltan-build
Prepare zoltan for compilation:
../Zoltan-v3.90/configure --prefix=$HOME --enable-mpi --with-mpi-compilers --with-gnumake --with-id-type=ullong
Compile:
make
Install:
make install
Clean up:
cd ..
rm -rf zoltan-build Zoltan_v3.83
cd boost_1_69_0
Build the configuration/installation program:
./bootstrap.sh
Include support for mpi:
echo "using mpi ;" >> ./tools/build/src/user-config.jam
Configure and build:
./b2
Install:
./b2 --prefix=$HOME install
Clean up:
cd ..
rm -rf boost_1_69_0