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édentesRévision précédente
Prochaine révision
Révision précédente
documentation:tools:software:matlab [2018/04/25 14:16] – [Matlab] ltaulelldocumentation:tools:software:matlab [2025/03/12 15:04] (Version actuelle) – supprimée ltaulell
Ligne 1: Ligne 1:
-====== Matlab ====== 
  
-^  Version  ^  Compilateur  ^  Interconnexion  ^  chemin d'accès  ^  OS  ^  modèle de configuration  ^ 
-|  R2017b (9.3.0.713579)  |  N/A  |  N/A  |  /applis/PSMN/generic/Matlab/R2017b/bin  |  N/A  |  N/A  | 
-| | **modulefile** : Matlab/R2017b  ||||| 
-|  R2015b (8.6.0.267246)  |  N/A  |  N/A  |  /applis/PSMN/generic/Matlab/R2015b/bin  |  N/A  |  N/A  | 
-| | **modulefile** : Matlab/R2015b  ||||| 
- 
- 
-Pour utiliser les modules, consulter [[documentation:tools:modules|Environment Modules]] 
- 
- 
- {{INLINETOC}} 
- 
- 
-L'usage de matlab au PSMN est fortement déconseillé (problème de jetons de licences et jobs parallèles). Merci de préférer Octave, [[documentation:tools:software:scilab|Scilab]], [[documentation:tools:software:sagemath|SageMath]], [[documentation:tools:software:r|R]], [[documentation:tools:langages:python:accueil|python]] ou tout autre équivalent libre.  
- 
- 
-===== Exemples de scripts de soumission ===== 
- 
-<note warning> 
-Ces scripts sont donnés à titre d'exemple, merci de les modifier selon vos besoins. \\ 
-</note> 
- 
-  * exemple 1 
- 
-<code bash batchrun.csh> 
-#!/bin/tcsh 
-###### Select resources ##### 
-#$ -N nom_job 
-#$ -cwd 
-#$ -V 
-#$ -j y 
-#$ -q matlab 
-# 
- 
-##### Change to current working directory ##### 
-cd ${SGE_O_WORKDIR} 
- 
-##### Set environment ##### 
-source /usr/share/lmod/lmod/init/tcsh 
-module load Matlab/R2015b 
- 
-##### Execute Program ##### 
- 
-matlab -nodisplay -nodesktop -nojvm -nosplash < program_matlab.m 
- 
-# 
-</code> 
- 
-Pour soumettre il faut lancer : 
-<code bash> 
-  qsub batchrun.csh 
-</code>   
-(qui doit être exécutable, p.ex. avec la commande ''chmod u+x batchrun.csh'' 
- 
-  * exemple 2 
- 
-<code bash script.matlab > 
-#!/bin/tcsh 
-###### Select resources ##### 
-#$ -N nom_job 
-#$ -cwd 
-#$ -V 
-#$ -j y 
-#$ -q matlab 
-##### For larger memory ##### 
-##$ -q matlabbig 
- 
-# config env 
-source /usr/share/lmod/lmod/init/tcsh 
-module load Matlab/R2015b 
- 
-##### Change to current working directory ##### 
-set WORKDIR=${SGE_O_WORKDIR} 
- 
-cd ${WORKDIR} 
- 
-##### Execute Program #### 
-matlab -nodisplay -nodesktop -nojvm -nosplash < program_matlab.m 
- 
-# 
-</code> 
- 
-Pour soumettre il faut lancer : 
-<code bash> 
-  qsub script.matlab  
-</code>  
documentation/tools/software/matlab.1524665765.txt.gz · Dernière modification : 2020/08/25 15:58 (modification externe)