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 [2015/02/25 08:45] – modification externe 127.0.0.1matlab_parallel [2019/06/07 14:21] (Version actuelle) – admin
Ligne 48: 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 236: Ligne 236:
  
 <code bash> <code bash>
-$ module load matlab/r2011b+$ module load matlab
 $ mcc -m myParforTest.m $ mcc -m myParforTest.m
 </code> </code>
Ligne 275: 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 285: Ligne 286:
  
 ## then we run the program ## then we run the program
 +
 ./run_myGPUTest.sh $MATLAB_HOME ./run_myGPUTest.sh $MATLAB_HOME
  
  • matlab_parallel.1424853941.txt.gz
  • Dernière modification : 2015/06/05 08:24
  • (modification externe)