This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
guide:compiling_octave_3_2_4 [2011/12/07 11:48] hamish |
guide:compiling_octave_3_2_4 [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Compiling Octave 3.2.4 from Source | + | ====== Compiling Octave 3.2.4 from Source ====== |
| - | This guide is written as to aid CHPC users struggling to compile the Octave version 3.2.4 from source on the Sun Tsessbe Cluster. Its recommended that you make you use of temporary or scratch directory to do all the compilation in (i.e. ~/scratch or / | + | This guide is written as to aid CHPC users in compiling |
| Also note that for this guide, all binary and libraries are installed home directory, i.e prefix=$HOME. Add the following lines to the end of your .bashrc file | Also note that for this guide, all binary and libraries are installed home directory, i.e prefix=$HOME. Add the following lines to the end of your .bashrc file | ||
| Line 58: | Line 58: | ||
| $ export LDFLAGS=" | $ export LDFLAGS=" | ||
| $ export CXXFLAGS=" | $ export CXXFLAGS=" | ||
| - | $ ../ | + | $ ../ |
| + | | ||
| After configuration is complete, alot of warning about missing libraries are given | After configuration is complete, alot of warning about missing libraries are given | ||
| | | ||
| Line 83: | Line 83: | ||
| $ make install | $ make install | ||
| | | ||
| - | Restore | + | Clean up your installation files. |
| + | export LD_LIBRARY_PATH=$HOME/ | ||
| + | export LD_LIBRARY_PATH=$HOME/ | ||
| + | export PATH=$HOME/ | ||
| + | |||
| + | for running octave on the worker nodes, you may need to make a copy of the libblas libraries placed in a folder on the ld_library_path ... | ||
| + | $ cd $HOME/lib | ||
| + | $ cp / | ||