Trying to run KohGPI but needed to find SPRANNLIB

Trying to run KohGPI but needed to find SPRANNLIB which is not available for what I can see – but found GNU-i-fied version in clibs directory of

This implementation also depends on the GNU Scientific Library (GSL) which you’ll need to build and install beforehand.

Then to build SPRANNLIB  download and untar the rlab archive. Go to ‘clibs/sprannlib/src’ and type make. If things are in order it will make a library in ../lib called libsprann.a spr_$ARCH.a where $ARCH is your architecture (x86_64, etc).

The .a files can be deployed in your normal place for manual (non-RPM/DEB) installations (/usr/local/pkg/sprannlib for me with symlinks to the libraries in /usr/local/lib). Then go back and build kohgpi but you may need to update the Makefile so that the library paths point to your sprannlib installation location.

9 thoughts on “Trying to run KohGPI but needed to find SPRANNLIB

    • I haven’t compared them yet, not – Tom did this for the Coccidioides project and they don’t overlap that much.
      As it turns out this whole post is a little unnecessary as the compiled version that comes with the download for KohGPI works on most linux installs anyways, but it was good to at least figure out how to go from scratch if need be.

      • Yes, I did. But R Lab Plus doesn’t include SprannLib anymore. Nonetheless, after a second look, I found out that a compiled version of kohgpi is included in the source tarball. And fortunately, it is compiled for the same architecture that I am using. Thanks, for your up.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s