====== 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.
* Site web : https://www.gnu.org/software/octave/
* Version installée : 3.4.3 (version CentOS)
Octave peut fonctionner en mode parallèle (MPI) mais **le plugin associé n'est pas installé**
===== Utilisation en mode batch =====
Vous devez préparer un fichier de commande octave,
Exemple :
- Création d'un script Octave, fichier ''hello.m''
[status, host] = system('hostname');
printf('Hello world from %s\n', host);
A = [1 3 5; 2 5 1; 2 3 8]
inv(A)
det(A)
- Création d'un fichier batch ''hello.sbatch''
#!/bin/bash
#SBATCH --job-name=hello_octave
#SBATCH --partition=rapide
#SBATCH --qos=rapide
octave --silent --eval hello
- Soumission du travail
sbatch hello.sbatch