User Tools

Site Tools


guide:compiling_octave

This is an old revision of the document!


Compiling Octave from Source

This guide is written as to try and help CHPC users who are struggling to compile the Octave version required for their codes. This guide is written for the Sun Tsessbe Cluster.

Before you begin, make sure your bash environmental variable are set correctly, for example . Also it recommended that you make you use of temporary or scratch directory to do all the compilation in (i.e. ~/scratch or /tmp/$USER), as to save disk space in your home directory.

Also note that for this guide, all binary and libraries are installed home directory, i.e prefix=$HOME. My setup

$ export PATH=/opt/gridware/gcc-4.3/bin:$PATH
$ export LD_LIBRARY_PATH=/opt/gridware/gcc-4.3/lib/:$LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH=/opt/gridware/gcc-4.3/lib64/:$LD_LIBRARY_PATH
$ gcc --version
  gcc (GCC) 4.3.4
/app/dokuwiki/data/attic/guide/compiling_octave.1323080580.txt.gz · Last modified: 2021/12/09 16:42 (external edit)