pour faire court, liste des versions installées et disponibles:
module avail matlab
et pour chaque version, pour voir la date:
module help matlab/7.1.0
jetons | MATLAB Version | Toolboxes | Commandes pour choisir | Serveurs concernés |
---|---|---|---|---|
10 (pas de maintenance) 170472 | 7.1.0.183 (R14) Service Pack 3 | Compiler, Partial Differential Equation, Signal, Compiler | module unload matlab;module load matlab/7.1.0 | charybde, scylla, octopus |
1 (pas de maintenance) | 7.9.0.529 (R2009b) | Statistics | module unload matlab;module load matlab/7.9.0 | octopus uniquement |
2 (payé par AN, maintenance 2012) 686749 | 7.10.0.499 (R2010a) | Global Optimization, Optimization, Statistics, Compiler | module unload matlab;module load matlab/7.10.0 | charybde, scylla, octopus, pour les clients, voir |
id. | 8.1 (R2013a) | module purge matlab;module load matlab/8.1 | judith, holopherne, signal | |
2 (payé par optimisme, maintenance 2015) 1105012 | r2016b | Optimization_Toolbox, Distrib_Computing_Toolbox, Signal_Toolbox | module purge matlab module unload matlab module load matlab/r2016b | signal |
les fichiers d'installation, accessibles sur le réseau du laboratoire:
/net/fury/donnees/provisoire/logiciels/matlab/R2010a
/net/fury/donnees/provisoire/logiciels/matlab/R2011b
/net/fury/donnees/provisoire/logiciels/matlab/{download,download.1,download.2}
image ISO des 3 CDsLancer matlab sur charybde, (octopus n'est pas disponible en permanence, se renseigner avant de l'utiliser!)
[henry@charybde ~]$ module avail matlab -------------------- /local/apps/Modules/3.2.6/modulefiles --------------------- matlab/7.1.0 matlab/7.10.0 matlab/7.9.0
Cette commande montre les différentes versions disponibles
Attention, vérifier avec la commande lmstat (“lmstat -a”) qu'il reste un jeton de disponible
en batch:
matlab -nojvm -nodisplay < toto.m > sortie &
sur la version 2012 de matlab (7.14), ajouter:
matlab -nojvm -nodisplay -nodesktop < toto.m > sortie &
mkdir sge-test-matlab cd sge-test-matlab
touch sge-test-matlab.sh test-matlab.m chmod u+x sge-test-matlab.sh
#!/bin/bash # #$ -cwd #$ -S /bin/bash ##$ -o output ##$ -e output #$ -M gerard.henry@univ-amu.fr #$ -m be # . /etc/profile.d/modules.sh module purge matlab module load matlab/7.13 cd sge-test-matlab matlab -nodesktop -nodisplay -nojvm < test-matlab.m
disp 'matlab test ...' a=2 b=a+a disp ' ... all done.'
./sge-test-matlab.sh
qsub -q small ./sge-test-matlab.sh
module unload matlab ; module load matlab/7.14
mcc -m -R -nojvm -R -nodisplay HLFVlinear.m
scp run_HLFVlinear.sh HLFVlinear holopherne:<dest/>
./run_HLFVlinear.sh /opt/MATLAB/MATLAB_Compiler_Runtime/v717
version | commandes | résultat | serveur de licence |
---|---|---|---|
7.1.0 | module unload matlab; module load matlab/7.1.0; lmstat -a | indique au plus 10 jetons | reglisse |
7.9.0 | module unload matlab; module load matlab/7.9.0 | pas de lmstat, mais 1 seul jeton | N/A |
7.10.0 | module unload matlab; module load matlab/7.10.0; lmstat -a | indique au 2 plus jetons | nemo |
Version | Toolbox | Jetons | Aide |
---|---|---|---|
7.1.0 | Compiler | 1 | What should I do before trying to compile? |
PDE_Toolbox | 6 | ||
Signal_Toolbox | 4 | ||
7.9.0 | n.d. | n.d. | |
7.10.0 | Compiler | 5 | http://www.mathworks.fr/help/releases/R2010a/toolbox/compiler/ |
Installé dans la version 6 de matlab (celle par défaut):
slatp:~# cd /usr/local/matlab6/ slatp:/usr/local/matlab6# mkdir /usr/local/matlab6/local slatp:/usr/local/matlab6# mv /tmp/stixbox/stixbox* /usr/local/matlab6/local/ slatp:/usr/local/matlab6# mv /tmp/stixbox/install/startup.m toolbox/local/
on ajoute dans le fichier
slatp:/usr/local/matlab6# vi toolbox/local/pathdef.m ... matlabroot,'/local/stixbox:',... ...
Lancement
slatp:~> matlab -nodisplay < M A T L A B > Copyright 1984-2002 The MathWorks, Inc. Version 6.5.0.180913a Release 13 Jun 18 2002 Using Toolbox Path Cache. Type "help toolbox_path_cache" for more info. To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. Environment var $STIX_PATH not set up StixBox to be found in:/usr/local/matlab6p5/local/stixbox >>
il s'agit de matlab 7.1
mombasa-henry% matlab -nojvm -nodisplay Warning: MATLAB is starting without a display, using internal event queue. You will not be able to display graphics on the screen. < M A T L A B > Copyright 1984-2005 The MathWorks, Inc. Version 7.1.0.183 (R14) Service Pack 3 August 02, 2005 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. Environment var $STIX_PATH not set up StixBox to be found in:/usr/local/matlab7.1/local/stixbox >> help stixbox A rudimentary statistics toolbox. Version 1.10, 9-Sep-98
elle est installée dans le répertoire /usr/local/stixbox. Pour l'utiliser, il faut taper la commande suivante:
>> addpath ('/usr/local/stixbox')
Il doit etre possible de sauvegarder cette modification dans un fichier utilise par matlab (voir support matlab)
Sur un poste client du laboratoire, plusieurs méthodes sont possibles pour installer matlab, suivant la version disponible.
Pour la licence, un fichier est disponible auprès de l'ASR du laboratoire. Il suffit qu'il contienne une information aussi succincte que:
SERVER nom_serveur ANY 27002 USE_SERVER
Le nom « nom_serveur »
dépend de l'installation. Renseignez vous à support@cmi.univ-mrs.fr