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
matlab_parallel [2012/10/24 20:11] – [Using Matlab PCT on the mesoseq cluster] adminmatlab_parallel [2019/06/07 14:21] (Version actuelle) – admin
Ligne 1: Ligne 1:
 +~~ODT~~
 ====== Matlab Parallel Computing Toolbox:  PCT ====== ====== Matlab Parallel Computing Toolbox:  PCT ======
  
Ligne 47: Ligne 48:
 <note tip>The program above will use 4 cores in the same host to run the code between ''matlabpool open 4'' and ''matlabpool close'' in parallel.  <note tip>The program above will use 4 cores in the same host to run the code between ''matlabpool open 4'' and ''matlabpool close'' in parallel. 
  
-Note that ''matlabpool open 4'' is used to open and create 4 workers. The maximum workers can be created is 8 cores. matlabpool close shutdown them.</note>+Note that ''matlabpool open 4'' is used to open and create 4 workers. The maximum workers can be created is 12 cores (8 on older versions). matlabpool close shutdown them.</note>
  
  
Ligne 225: Ligne 226:
  
  
-====== Using Matlab PCT on the mesoseq cluster ======+====== Using Matlab PCT on the Lumière cluster ======
    
 <note important>Since we have only one licence for Matlab PTC we recommend the use of Matlab Compiler ([[matlab_compiler|documentation]]) to avoid the use of Matlab licences during execution.</note>   <note important>Since we have only one licence for Matlab PTC we recommend the use of Matlab Compiler ([[matlab_compiler|documentation]]) to avoid the use of Matlab licences during execution.</note>  
Ligne 235: Ligne 236:
  
 <code bash> <code bash>
-$ module load matlab/r2011b+$ module load matlab
 $ mcc -m myParforTest.m $ mcc -m myParforTest.m
 </code> </code>
Ligne 274: Ligne 275:
 #$ -cwd #$ -cwd
 #$ -o $JOB_NAME.$JOB_ID.out #$ -o $JOB_NAME.$JOB_ID.out
-#$ -q tesla  ## request tesla+#$ -q tesla.q  ## request tesla 
 +#$ -l h_vmem=10G
  
-module load cuda     +module load gpu/cuda/8.0     
-module load matlab/r2011b +module load matlab/r2015a 
  
 ## first we compile the program ## first we compile the program
Ligne 284: Ligne 286:
  
 ## then we run the program ## then we run the program
 +
 ./run_myGPUTest.sh $MATLAB_HOME ./run_myGPUTest.sh $MATLAB_HOME
  
  • matlab_parallel.1351109485.txt.gz
  • Dernière modification : 2015/02/25 08:45
  • (modification externe)