Unpacking the source and installation
In a grid-based infrastructure we would recommend to install the software in the experiment software directory for the VO using sgm privileges and share this software packages with other VO members. In this wiki we chosen to unpack this software under the $VO_GRIDIT_SW_DIR directory of the grid CE.
$ cd $VO_GRIDIT_SW_DIR
$ wget ftp://ftp.gnu.org/gnu/octave/octave-3.2.4.tar.gz
$ tar zxvf octave-3.2.4.tar.gz
$ rm -f octave.3.24.tar.gz
Building Octave-3.2.4
$ ./configure --prefix=/opt/exp_soft/gridit/Octave-3.2.4
--with-magick=ImageMagick
--without-qrupdate
--without-curl CC=gcc44 CXX=g++44 F77=gfortran44
--enable-docs=no >log 2>log &
$ make
$ make install
Installing add-ons
Extra packages for GNU Octave-3.2.4 can be freely downloaded from here
We suggest to dowload and install the following packages:
Create a plugin directory for downloading the plugins:
$ cd /opt/exp_soft/gridit/octave-3.2.4/plugins
$ tree plugins/
plugins/
|-- java-1.2.8.tar.gz
|-- miscellaneous-1.0.11.tar.gz
|-- optim-1.0.17.tar.gz
|-- signal-1.1.1.tar.gz
|-- specfun-1.0.9.tar.gz
`-- struct-1.0.9.tar.gz
0 directories, 6 files
Start Octave and go to the directory where you placed the downloaded package. Then type :
$ octave
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "x86_64-unknown-linux-gnu".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
octave:1> pkg install java-1.2.8.tar.gz \
miscellaneous-1.0.11.tar.gz \
struct-1.0.9.tar.gz \
optim-1.0.17.tar.gz \
specfun-1.0.9.tar.gz \
signal-1.1.1.tar.gz
Testing the installation
Before to start, please add the Octave binary to the PATH and the libraries to the LD_LIBRARY_PATH variables.
$ export PATH=$PATH:/opt/exp_soft/gridit/Octave-3.2.4/bin/
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/exp_soft/gridit/Octave-3.2.4/lib/octave-3.2.4/
Now, you can launch the octave CLI
$ octave
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "x86_64-unknown-linux-gnu".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
octave:1>
References
Octave Home page
-- GiuseppeLaRocca - 2011-12-15
\ No newline at end of file |