From Documentation
Jump to: navigation, search
Note: This page hasn't been updated for a long time, and is most likely outdated.
If you need it to be updated, please submit a ticket to with the link to the page.
Note: Some of the information on this page is for our legacy systems only. The page is scheduled for an update to make it applicable to Graham.

Update November 2014: These instructions are from 2010 and were created for the SHARCNET environment at that time. It should be possible to install this software on the newer operating systems by loading the intel module and ensuring that the corresponding paths are updated.

How to Install LinBox

  • log into hound
  • choose an install location (eg. /work/$USER/linbox) and set your compilers with:
export LINBOXDIR=/work/$USER/linbox
export CC=icc
export CXX=icpc
  • change directories to your /work, then copy and unpack givaro and linbox source tarballs:
cd /work/$USER
tar -xvzf /home/razoumov/work/9977/givaro-3.3.1.tar.gz
tar -xvzf /home/razoumov/work/9977/linbox-1.1.7rc0.tar.gz
  • compile and install givaro
cd givaro-3.3.1
./configure --prefix=$LINBOXDIR
make install
  • compile and install linbox
cd ../linbox-1.1.7rc0
./configure --prefix=$LINBOXDIR --with-givaro=$LINBOXDIR --with-blas="-L/opt/sharcnet/intel/11.0.083/mkl/lib/em64t/ -lmkl -lguide -lpthread"
make install

This will compile LinBox with Intel/MKL (BLAS is part of MKL), so you need to link to both liblinbox.a and MKL libraries when you compile your own code with the Intel compilers. The linbox libraries are in: