Difference: Octave (1 vs. 5)

Revision 52012-02-07 - GiuseppeLaRocca

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Line: 14 to 14
 
  • Compiler: GNU 4.4.0;
  • Arch: x86_64.
Deleted:
<
<

Source Pack

The following tar-zipped gtgz source packs are available for download.

Pack File
tar.bz2 octave-3.2.4.tar.bz2
tar.gz octave-3.2.4.tar.gz

System Requirements

 Before to install Octave, please install from repo the following list of packages:


Line: 51 to 42
 $ yum install -y mesa-libGLU-devel
Added:
>
>

Source Pack

The following tar-zipped gtgz source packs are available for download.

Pack File
tar.bz2 octave-3.2.4.tar.bz2
tar.gz octave-3.2.4.tar.gz
 

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.

Revision 42011-12-21 - GiuseppeLaRocca

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Line: 63 to 63
 

Building Octave-3.2.4


Changed:
<
<
$ ./configure --prefix=/opt/exp_soft/gridit/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
Changed:
<
<
--enable-docs=no --disable-readline >log 2>log &
>
>
--enable-docs=no >log 2>log &
 $ make $ make install
Line: 82 to 81
 
miscellaneous-1.0.11.tar.gz details download
optim-1.0.17.tar.gz details download
signal-1.1.1.tar.gz details download
Changed:
<
<
specfun-1.1.0.tar.gz details download
>
>
specfun-1.0.9.tar.gz details download
 
struct-1.0.9.tar.gz details download

Create a plugin directory for downloading the plugins:

Line: 95 to 94
 |-- miscellaneous-1.0.11.tar.gz |-- optim-1.0.17.tar.gz |-- signal-1.1.1.tar.gz
Changed:
<
<
|-- specfun-1.1.0.tar.gz
>
>
|-- specfun-1.0.9.tar.gz
 `-- struct-1.0.9.tar.gz 0 directories, 6 files
Line: 122 to 121
  For information about changes from previous versions, type `news'.
Changed:
<
<
octave:1> pkg install java-1.2.8.tar.gz optim-1.0.17.tar.gz specfun-1.1.0.tar.gz miscellaneous-1.0.11.tar.gz
>
>
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
Deleted:
<
<
struct-1.0.9.tar.gz
 
Line: 135 to 134
 Before to start, please add the Octave binary to the PATH and the libraries to the LD_LIBRARY_PATH variables.


Changed:
<
<
$ 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/
>
>
$ 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

Line: 164 to 163
 

References

Changed:
<
<
Octave
>
>
Octave Home page
  -- GiuseppeLaRocca - 2011-12-15 \ No newline at end of file

Revision 32011-12-19 - GiuseppeLaRocca

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Line: 26 to 26
 Before to install Octave, please install from repo the following list of packages:


Changed:
<
<
$ yum install -y gcc44 $ yum install -y gcc44-c++.x86_64 $ yum install -y gcc44-gfortran
>
>
$ yum install -y gcc44 gcc44-c++.x86_64 gcc44-gfortran
 $ yum install -y glibc-devel $ yum install -y libtermcap-devel $ yum install -y ImageMagick
Line: 42 to 40
 $ yum install -y hdf5 $ yum install -y libgfortran $ yum install -y libtermcap-devel
Changed:
<
<
$ yum install -y gnuplot.x86_64 $ yum install -y gnuplot42.x86_64 $ yum install -y pcre.x86_64 $ yum install -y pcre-devel.x86_64
>
>
$ yum install -y gnuplot.x86_64 gnuplot42.x86_64 $ yum install -y pcre.x86_64 pcre-devel.x86_64
 $ yum install -y blas.x86_64
Changed:
<
<
$ yum install -y apack.x86_64 $ yum install -y lapack-devel.x86_64
>
>
$ yum install -y apack.x86_64 lapack-devel.x86_64
 $ yum install -y curl-devel
Changed:
<
<
$ yum install -y fftw3 $ yum install -y fftw3-devel $ yum install -y fltk.x86_64 $ yum install -y fltk-devel.x86_64 $ yum install -y fltk-fluid.x86_64
>
>
$ yum install -y fftw3 fftw3-devel $ yum install -y fltk.x86_64 fltk-devel.x86_64 fltk-fluid.x86_64
 $ yum install -y libX11-devel $ yum install -y mesa-libGLU-devel

Revision 22011-12-15 - GiuseppeLaRocca

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Line: 19 to 19
 The following tar-zipped gtgz source packs are available for download.

Pack File
Changed:
<
<
tar.bz2 octave-3.4.2.tar.bz2
tar.gz octave-3.4.2.tar.gz
>
>
tar.bz2 octave-3.2.4.tar.bz2
tar.gz octave-3.2.4.tar.gz
 

System Requirements

Before to install Octave, please install from repo the following list of packages:


Changed:
<
<
$ yum install -y gcc-gfortran
>
>
$ yum install -y gcc44 $ yum install -y gcc44-c++.x86_64 $ yum install -y gcc44-gfortran $ yum install -y glibc-devel $ yum install -y libtermcap-devel
 $ yum install -y ImageMagick
Deleted:
<
<
$ yum install -y gcc44-gfortran-4.4.0-6.el5
 $ yum install -y flex $ yum install -y bison $ yum install -y gperf
Changed:
<
<
$ yum install -y compat-readline43-4.3-3 $ yum install -y readline-devel-5.1-3.el5 $ yum install -y texinfo-4.8-14.el5 $ yum install suitesparse $ yum install fftw3-3.1.2-5.el5.1 $ yum install hdf5-1.8.7-1.el5.rf $ yum install libgfortran44-4.4.0-6.el5
>
>
$ yum install -y compat-readline $ yum install -y readline-devel $ yum install -y texinfo $ yum install -y suitesparse $ yum install -y hdf5 $ yum install -y libgfortran $ yum install -y libtermcap-devel $ yum install -y gnuplot.x86_64 $ yum install -y gnuplot42.x86_64 $ yum install -y pcre.x86_64 $ yum install -y pcre-devel.x86_64 $ yum install -y blas.x86_64 $ yum install -y apack.x86_64 $ yum install -y lapack-devel.x86_64 $ yum install -y curl-devel $ yum install -y fftw3 $ yum install -y fftw3-devel $ yum install -y fltk.x86_64 $ yum install -y fltk-devel.x86_64 $ yum install -y fltk-fluid.x86_64 $ yum install -y libX11-devel $ yum install -y mesa-libGLU-devel
 

Unpacking the source and installation

Changed:
<
<
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.
>
>
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

Line: 64 to 81
 $ make install
Added:
>
>

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:

Packages details download
java-1.2.8.tar.gz details download
miscellaneous-1.0.11.tar.gz details download
optim-1.0.17.tar.gz details download
signal-1.1.1.tar.gz details download
specfun-1.1.0.tar.gz details download
struct-1.0.9.tar.gz details download

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.1.0.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 
                       optim-1.0.17.tar.gz 
                       specfun-1.1.0.tar.gz 
                       miscellaneous-1.0.11.tar.gz 
                       signal-1.1.1.tar.gz 
                       struct-1.0.9.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.

Revision 12011-12-15 - GiuseppeLaRocca

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

About this wiki

The following best practices document aims to provide some hints and examples on how to install and configure http://www.gnu.org/software/octave/ on a grid based infrastructure.

About Octave

GNU Octave is a high-level interpreted language, primarily intended for numerical computations. It provides capabilities for the numerical solution of linear and nonlinear problems, and for performing other numerical experiments. It also provides extensive graphics capabilities for data visualization and manipulation. Octave is normally used through its interactive command line interface, but it can also be used to write non-interactive programs. The Octave language is quite similar to Matlab so that most programs are easily portable.

System requirements

The instructions from this best practice have been tested on a:
  • OS: Scientific Linux SL release 5.4 (Boron)
  • Compiler: GNU 4.4.0;
  • Arch: x86_64.

Source Pack

The following tar-zipped gtgz source packs are available for download.

Pack File
tar.bz2 octave-3.4.2.tar.bz2
tar.gz octave-3.4.2.tar.gz

System Requirements

Before to install Octave, please install from repo the following list of packages:

$ yum install -y gcc-gfortran
$ yum install -y ImageMagick
$ yum install -y gcc44-gfortran-4.4.0-6.el5
$ yum install -y flex
$ yum install -y bison
$ yum install -y gperf
$ yum install -y compat-readline43-4.3-3
$ yum install -y readline-devel-5.1-3.el5
$ yum install -y texinfo-4.8-14.el5
$ yum install suitesparse
$ yum install fftw3-3.1.2-5.el5.1
$ yum install hdf5-1.8.7-1.el5.rf
$ yum install libgfortran44-4.4.0-6.el5

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 
                     --disable-readline >log 2>log &
$ make
$ make install

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

-- GiuseppeLaRocca - 2011-12-15

 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback