view main/sparsersb/doc/README @ 12629:fe288ae1e8d9 octave-forge

a note in the README about necessity of -fPIC.
author michelemartone
date Tue, 09 Jun 2015 16:25:46 +0000
parents b8f0148a86f1
children
line wrap: on
line source


================================================================================
This is a plugin to interface the "librsb" sparse matrix library to Octave.
Author: Michele Martone
================================================================================

Build instructions:

sh autogen.sh
./configure
make
make check

If you desire, you can pass some options to configure; e.g.: 
./configure CXXFLAGS="-O3  "
./configure CXXFLAGS="-O3  " LIBRSB_CONFIG=/opt/librsb-optimized/bin/librsb-config 
./configure SPARSERSB_LIBS="-lmpi++"
./configure 

On many systems, you will have to build librsb with the PIC (-fPIC on GCC) option or you will get link time problems.

More options:
./configure --help

Usage instructions:
# go in the directory where sparsersb.oct is located and run octave.
octave
# you can use the sparsersb function, starting with 
 > help sparsersb.

================================================================================