octave

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
octave [2014/01/04 09:31] gerardoctave [2017/08/25 09:56] (Version actuelle) – modification externe 127.0.0.1
Ligne 2: Ligne 2:
 [[http://enacit1.epfl.ch/cours_matlab/|Introduction à MATLAB et GNU Octave]] [[http://enacit1.epfl.ch/cours_matlab/|Introduction à MATLAB et GNU Octave]]
  
 +====== Utilisation ======
 +^ serveur ^ version ^ commande ^ état ^
 +| octopus | 3.0.5 | octave | |
 +| holopherne | 3.8.2 | octave --force-gui | |
 +| judith | 4.1.0+ | module purge octave;module load octave;octave | |
 ====== Installations ====== ====== Installations ======
 +===== judith =====
 +  * doc [[http://wiki.octave.org/Octave_for_RedHat_Systems]]
 +  * voir /local/apps/src/octave/dev
 +<Code>
 +[devel1@judith build]$ ../src/octave/configure --prefix=/local/apps/octave-dev
 +...
 +configure: WARNING:
  
 +I didn't find rsvg-convert, but it's only a problem if you need to
 +reconstruct octave-logo-*.png, which is the case if you're building
 +from VCS sources.
 +
 +configure: WARNING: OSMesa library not found.  Offscreen rendering with OpenGL will be disabled.
 +configure: WARNING: JAVA_HOME environment variable not initialized.  Auto-detection will proceed but is unreliable.
 +configure:
 +configure: NOTE: Libraries or auxiliary programs may be skipped if they are
 +configure: NOTE: not found OR if they are missing required features on your
 +configure: NOTE: system.
 +</Code>
 +ajout de paquets:
 +<Code>
 +yum install librsvg2-tools
 +yum install groff
 +yum install texlive-metapost
 +</Code>
 +
 +===== postes de travail =====
 +<Code>
 +apt-add-repository ppa:octave/stable
 +apt-get update
 +apt-get install octave
 +</Code>
 +voir aussi [[http://enacit1.epfl.ch/cours_matlab/octave.shtml]]
 ===== octopus ===== ===== octopus =====
   * par défaut, version 3.0.5, fourni par le dépôt EPEL pour Centos 5.x   * par défaut, version 3.0.5, fourni par le dépôt EPEL pour Centos 5.x
Ligne 152: Ligne 189:
 </code> </code>
  
 +===== version 4.0.0 =====
 +  * sur judith
 +  * pour les dépendances: 
 +<Code>
 +[root@judith ~]# yum-builddep octave
 +</Code>
 +
 +<Code>
 +./configure --prefix=/local/apps/octave-4.0.0
 +
 +Octave is now configured for x86_64-unknown-linux-gnu
 +
 +  Source directory:            .
 +  Installation prefix:         /local/apps/octave-4.0.0
 +  C compiler:                  gcc  -pthread -fopenmp  -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
 +  C++ compiler:                g++  -pthread -fopenmp  -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
 +  Fortran compiler:            gfortran -O
 +  Fortran libraries:            -L/usr/lib/gcc/x86_64-redhat-linux/4.8.3 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../.. -lgfortran -lm -lquadmath
 +  Lex libraries:
 +  LIBS:                        -lutil -lm
 +
 +  AMD CPPFLAGS:
 +  AMD LDFLAGS:
 +  AMD libraries:               -lamd
 +  ARPACK CPPFLAGS:
 +  ARPACK LDFLAGS:
 +  ARPACK libraries:            -larpack
 +  BLAS libraries:              -lblas
 +  CAMD CPPFLAGS:
 +  CAMD LDFLAGS:
 +  CAMD libraries:              -lcamd
 +  CARBON libraries:
 +  CCOLAMD CPPFLAGS:
 +  CCOLAMD LDFLAGS:
 +  CCOLAMD libraries:           -lccolamd
 +  CHOLMOD CPPFLAGS:
 +  CHOLMOD LDFLAGS:
 +  CHOLMOD libraries:           -lcholmod
 +  COLAMD CPPFLAGS:
 +  COLAMD LDFLAGS:
 +  COLAMD libraries:            -lcolamd
 +  CURL CPPFLAGS:
 +  CURL LDFLAGS:
 +  CURL libraries:              -lcurl
 +  CXSPARSE CPPFLAGS:
 +  CXSPARSE LDFLAGS:
 +  CXSPARSE libraries:          -lcxsparse
 +  DL libraries:                -ldl
 +  FFTW3 CPPFLAGS:
 +  FFTW3 LDFLAGS:
 +  FFTW3 libraries:             -lfftw3_threads -lfftw3
 +  FFTW3F CPPFLAGS:
 +  FFTW3F LDFLAGS:
 +  FFTW3F libraries:            -lfftw3f_threads -lfftw3f
 +  FLTK CPPFLAGS:               -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
 +  FLTK LDFLAGS:                -Wl,-z,relro -lfltk_gl -lfltk
 +  FLTK libraries:
 +  fontconfig CPPFLAGS:         -I/usr/include/freetype2
 +  fontconfig libraries:        -lfontconfig -lfreetype
 +  FreeType2 CPPFLAGS:          -I/usr/include/freetype2
 +  FreeType2 libraries:         -lfreetype
 +  GLPK CPPFLAGS:
 +  GLPK LDFLAGS:
 +  GLPK libraries:              -lglpk
 +  HDF5 CPPFLAGS:
 +  HDF5 LDFLAGS:
 +  HDF5 libraries:              -lhdf5
 +  Java home:                   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85-2.6.1.2.el7_1.x86_64
 +  Java JVM path:               /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85-2.6.1.2.el7_1.x86_64/jre/lib/amd64/server
 +  Java CPPFLAGS:               -I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85-2.6.1.2.el7_1.x86_64/include -I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85-2.6.1.2.el7_1.x86_64/include/linux
 +  Java libraries:
 +  LAPACK libraries:            -llapack
 +  LLVM CPPFLAGS:
 +  LLVM LDFLAGS:
 +  LLVM libraries:
 +  Magick++ CPPFLAGS:           -I/usr/include/GraphicsMagick
 +  Magick++ LDFLAGS:
 +  Magick++ libraries:          -lGraphicsMagick++ -lGraphicsMagick
 +  OPENGL libraries:            -lfontconfig -lfreetype   -lGL -lGLU
 +  OSMesa CPPFLAGS:
 +  OSMesa LDFLAGS:
 +  OSMesa libraries:
 +  PCRE CPPFLAGS:
 +  PCRE libraries:              -lpcre
 +  PortAudio CPPFLAGS:
 +  PortAudio LDFLAGS:
 +  PortAudio libraries:
 +  PTHREAD flags:               -pthread
 +  PTHREAD libraries:
 +  QHULL CPPFLAGS:
 +  QHULL LDFLAGS:
 +  QHULL libraries:             -lqhull
 +  QRUPDATE CPPFLAGS:
 +  QRUPDATE LDFLAGS:
 +  QRUPDATE libraries:          -lqrupdate
 +  Qt CPPFLAGS:                 -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtNetwork -I/usr/include/QtOpenGL
 +  Qt LDFLAGS:
 +  Qt libraries:                -lQtNetwork -lQtOpenGL -lQtGui -lQtCore   -lqscintilla2
 +  READLINE libraries:          -lreadline
 +  Sndfile CPPFLAGS:
 +  Sndfile LDFLAGS:
 +  Sndfile libraries:
 +  TERM libraries:              -lncurses
 +  UMFPACK CPPFLAGS:
 +  UMFPACK LDFLAGS:
 +  UMFPACK libraries:           -lumfpack
 +  X11 include flags:
 +  X11 libraries:               -lX11
 +  Z CPPFLAGS:
 +  Z LDFLAGS:
 +  Z libraries:                 -lz
 +
 +  Default pager:               less
 +  gnuplot:                     gnuplot
 +
 +  Build Octave GUI:                   yes
 +  JIT compiler for loops:             no
 +  Build Java interface:               yes
 +  Do internal array bounds checking:  no
 +  Build static libraries:             no
 +  Build shared libraries:             yes
 +  Dynamic Linking:                    yes (dlopen)
 +  Include support for GNU readline:   yes
 +  64-bit array dims and indexing:     no
 +  OpenMP SMP multithreading:          yes
 +  Build cross tools:                  no
 +
 +configure: WARNING:
 +
 +I didn't find rsvg-convert, but it's only a problem if you need to
 +reconstruct octave-logo-*.png, which is the case if you're building
 +from VCS sources.
 +
 +configure: WARNING: OSMesa library not found.  Offscreen rendering with OpenGL will be disabled.
 +configure: WARNING: JAVA_HOME environment variable not initialized.  Auto-detection will proceed but is unreliable.
 +configure:
 +configure: NOTE: Libraries or auxiliary programs may be skipped if they are
 +configure: NOTE: not found OR if they are missing required features on your
 +configure: NOTE: system.
 +</Code>
 +si on passe les tests:
 +<Code>
 +Summary:
 +
 +  PASS     12878
 +  FAIL         0
 +  XFAIL       14
 +  SKIPPED     64
 +
 +See the file /local/apps/src/octave-4.0.0/test/fntests.log for additional details.
 +
 +Expected failures (listed as XFAIL above) are known bugs.
 +Please help improve Octave by contributing fixes for them.
 +
 +Tests are most often skipped because the features they require
 +have been disabled.  Features are most often disabled because
 +they require dependencies that were not present when Octave
 +was built.  The configure script should have printed a summary
 +at the end of its run indicating which dependencies were not found.
 +
 +207 (of 874) .m files have no tests.
 +
 +Please help improve Octave by contributing tests for these files
 +(see the list in the file /local/apps/src/octave-4.0.0/test/fntests.log).
 +
 +make[1]: Leaving directory `/local/apps/src/octave-4.0.0/test'
 +</Code>
  
 +quand on fait tourner un script matlab dans octave, si on a des warning:
 +<Code>
 +warning: Matlab-style short-circuit operation performed for operator &
 +warning: Matlab-style short-circuit operation performed for operator &
 +</Code>
 +il suffit de faire:
 +<Code>
 +>> warning('off', 'Octave:possible-matlab-short-circuit-operator');</Code>
  • octave.1388824266.txt.gz
  • Dernière modification : 2017/08/25 09:55
  • (modification externe)