Diferencia entre las páginas «Https://wiki.nlhpc.cl/Hardware Disponible» y «MATLAB»

De NLHPC
(Diferencia entre las páginas)
Sin resumen de edición
 
 
Línea 1: Línea 1:
El NLHPC cuenta actualmente con los siguientes recursos computacionales, distribuidos en varias particiones [https://wiki.nlhpc.cl/SISTEMA_GESTOR_DE_RECURSOS SLURM]:
== ¿Qué es? ==


MATLAB (abreviatura de MATrix LABoratory, "laboratorio de matrices") es una herramienta de software matemático que ofrece un entorno de desarrollo integrado (IDE) con un lenguaje de programación propio (lenguaje M).


<th width="60 px" style="background:Lavender; color:Black">Nodo
== Modulos ==
</th>
Se encuentra disponible con el nombre '''Matlab/2017''' y el runtime esta agregado como '''MCR/R2017a''' en todas las particiones de leftraru.
<th width="80 px" style="background:Lavender; color:Black">Modelo
 
</th>
== Ejemplo SBATCH para [https://wiki.nlhpc.cl/SISTEMA_GESTOR_DE_RECURSOS#SLURM_Workload_Manager SLURM] ==
<th width="80 px" style="background:Lavender; color:Black">Cantidad
<pre>
</th>
#!/bin/bash
<th width="100 px" style="background:Lavender; color:Black">Procesador
#SBATCH --job-name=ejemplo
</th>
#SBATCH --mail-user=usuario@correo.cl
<th width="120 px" style="background:Lavender; color:Black">RAM
#SBATCH --mail-type=ALL
</th>
#SBATCH --output=%j_%x.out
<th width="140 px" style="background:Lavender; color:Black">Infiniband
#SBATCH --error=%j_%x.err
</th></tr>
#SBATCH --partition=slims
<tr>
#SBATCH -n 1
<td>sn[001-048]</td>
#SBATCH --ntasks-per-node=1
<td>Dell PowerEdge C6420</td>
#SBATCH --mem-per-cpu=2300
<td>48</td>
#SBATCH --license=matlab #agregar si se va a ocupar MATLAB
<td>2 x Intel Xeon Gold 6152 CPU @ 2.10GHz, 22 cores C./U.</td>
 
<td>187 GB</td>
ml Matlab/2017
<td>Infiniband FDR
 
</td></tr>
matlab -nodisplay -nosplash -nodesktop < ejemplo.m
</tbody></table>
</pre>
<p><br>
(Sin paralelización)
</p>
 
<table border="0" style="background:#ffffff" align="top" class="sortable wikitable">
== Licencias ==
<caption align="center" style="background:DarkSlateBlue; color:white"><big><b>Partición largemem</b></big>
Existen 50 licencias disponibles para el uso de MATLAB proporcionadas por el [http://www.cmm.uchile.cl/ CMM], pero es posible evitar esta restricción de licencias creando una [https://wiki.nlhpc.cl/MATLAB_Compilaci%C3%B3n compilación standalone] con el Toolbox Compiler. El gestor de recursos cancelara las tareas que no indiquen las licencias en el script SBATCH, todo esto para favorecer el uso entre los distintos usuarios.
</caption>
 
<tbody><tr>
== Toolbox ==
<th width="60 px" style="background:Lavender; color:Black">Nodo
Tenemos disponibles los siguientes toolbox con su respectiva cantidad de licencias.
</th>
 
<th width="80 px" style="background:Lavender; color:Black">Modelo
<p>&nbsp;</p>
</th>
 
<th width="80 px" style="background:Lavender; color:Black">Cantidad
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:500px">
</th>
<th width="100 px" style="background:Lavender; color:Black">Procesador
<tr>
</th>
<th scope="col">Nombre</th>
<th width="120 px" style="background:Lavender; color:Black">RAM
<th scope="col">Cantidad</th>
</th>
<th scope="col">Licencia Slurm</th>
<th width="140 px" style="background:Lavender; color:Black">Infiniband
</tr>
</th></tr>
<tr>
<td>fn[001-009]</td>
<tr>
<td>Dell PowerEdge R640</td>
<td>SIMULINK</td>
<td>9</td>
<td>2</td>
<td>2 x Intel Xeon Gold 6152 CPU @ 2.10GHz, 22 cores C./U.</td>
<td>matlab-simulink</td>
<td>765 GB</td>
</tr>
<td>Infiniband FDR
<tr>
</td></tr>
<td>Bioinformatics</td>
</tbody></table>
<td>1</td>
<p><br>
<td>matlab-bioinformatics</td>
</p>
</tr>
<table border="0" style="background:#ffffff" align="top" class="sortable wikitable">
<tr>
<caption align="center" style="background:DarkSlateBlue; color:white"><big><b>Partición gpus</b></big>
<td>Control</td>
</caption>
<td>20</td>
<tbody><tr>
<td>matlab-control</td>
<th width="60 px" style="background:Lavender; color:Black">Nodo
</tr>
</th>
<tr>
<th width="80 px" style="background:Lavender; color:Black">Modelo
<td>Curve_Fitting</td>
</th>
<td>2</td>
<th width="80 px" style="background:Lavender; color:Black">Cantidad
<td>matlab-curve_fitting</td>
</th>
</tr>
<th width="100 px" style="background:Lavender; color:Black">Procesador
<tr>
</th>
<td>Database</td>
<th width="160 px" style="background:Lavender; color:Black">GPU
<td>1</td>
</th>
<td>&nbsp;matlab-database</td>
<th width="120 px" style="background:Lavender; color:Black">RAM
</tr>
</th>
<tr>
<th width="140 px" style="background:Lavender; color:Black">Infiniband
<td>Econometrics</td>
</th></tr>
<td>2</td>
<tr>
<td>matlab-econometrics</td>
<td>gn[001-002]</td>
</tr>
<td>Dell PowerEdge R740</td>
<tr>
<td>2</td>
<td>Financial</td>
<td>2 x Intel Xeon Gold 6152 CPU @ 2.10GHz, 22 cores C./U.</td>
<td>2</td>
<td>2x NVIDIA Tesla V100 C/U.</td>
<td>matlab-financial</td>
<td>187 GB</td>
</tr>
<td>Infiniband FDR
<tr>
</td></tr>
<td>GADS</td>
</tbody></table>
<td>1</td>
<p><br>
<td>matlab-gads</td>
</p>
</tr>
<table border="0" style="background:#ffffff" align="top" class="sortable wikitable">
<tr>
<caption align="center" style="background:DarkSlateBlue; color:white"><big><b>Partición slims</b></big>
<td>Image</td>
</caption>
<td>2</td>
<tbody><tr>
<td>matlab-image</td>
<th width="60 px" style="background:Lavender; color:Black">Nodo
</tr>
</th>
<tr>
<th width="80 px" style="background:Lavender; color:Black">Modelo
<td>MATLAB_Coder</td>
</th>
<td>1</td>
<th width="80 px" style="background:Lavender; color:Black">Cantidad
<td>matlab-matlab_code</td>
</th>
</tr>
<th width="100 px" style="background:Lavender; color:Black">Procesador
<tr>
</th>
<td>Compiler</td>
<th width="120 px" style="background:Lavender; color:Black">RAM
<td>1</td>
</th>
<td>matlab-compiler</td>
<th width="140 px" style="background:Lavender; color:Black">Infiniband
</tr>
</th></tr>
<tr>
<tr>
<td>Optimization</td>
<td>cn[001-132]</td>
<td>5</td>
<td>HP ProLiant SL230s Gen8</td>
<td>matlab-optimization</td>
<td>128</td>
</tr>
<td>2 x Intel Xeon E5-2660v2 @ 2,20GHz, 10 cores C./U.</td>
<tr>
<td>46 GB</td>
<td>Distrib_Computing</td>
<td>Infiniband FDR
<td>2</td>
</td></tr>
<td>matlab-distrib_computing</td>
</tbody></table>
</tr>
<p><br>
<tr>
La partición debug es para uso exclusivo de pruebas que duren hasta 30 minutos. Cualquier trabajo que supere ese tiempo es cancelado automáticamente.
<td>PDE</td>
</p>
<td>20</td>
<table border="0" style="background:#ffffff" align="top" class="sortable wikitable">
<td>matlab-pde</td>
<caption align="center" style="background:DarkSlateBlue; color:white"><big><b>Partición debug</b></big>
</tr>
</caption>
<tr>
<tbody><tr>
<td>Signal</td>
<th width="60 px" style="background:Lavender; color:Black">Nodo
<td>2</td>
</th>
<td>matlab-signal</td>
<th width="80 px" style="background:Lavender; color:Black">Modelo
</tr>
</th>
<tr>
<th width="80 px" style="background:Lavender; color:Black">Cantidad
<td>SimBiology</td>
</th>
<td>2</td>
<th width="100 px" style="background:Lavender; color:Black">Procesador
<td>matlab-simbiology</td>
</th>
</tr>
<th width="120 px" style="background:Lavender; color:Black">RAM
<tr>
</th>
<td>Statistics</td>
<th width="140 px" style="background:Lavender; color:Black">Infiniband
<td>5</td>
</th></tr>
<td>matlab-statistics</td>
<tr>
</tr>
<td>leftraru[1-4]</td>
<tr>
<td>HP ProLiant DL360p Gen8</td>
<td>Identification</td>
<td>4</td>
<td>&nbsp;2 &nbsp;&nbsp;</td>
<td>2 x Intel Xeon E5-2660v2 @ 2,20GHz, 10 cores C./U.</td>
<td>&nbsp;matlab-identification</td>
<td>59 GB</td>
</tr>
<td>Infiniband FDR
<tr>
</td></tr>
<td>Wavelet</td>
</tbody></table>
<td>1</td>
<p><br>
<td>matlab-wavelet</td>
La capacidad total de Leftraru a día de hoy es de 5236 cores y 266 TFlops.
</tr>
</p><p>Para más información respecto a la utilización del sistema gestor de colas y uso de recursos vea el siguiente enlace: <a rel="nofollow" class="external text" href="https://wiki.nlhpc.cl/index.php?title=SISTEMA_GESTOR_DE_RECURSOS">SLURM</a>
</tbody>
</p>
</table>
 
<p><br />
<br />
&nbsp;</p>
 
<p>&nbsp;</p>
 
== Referencias ==
   
* [https://la.mathworks.com/help/matlab/language-fundamentals.html Language Fundamentals]
* [http://www.cas.mcmaster.ca/~cs4te3/tutorials/matlab_toolbox_quickref.pdf MATLAB Toolbox Quickref]
* [http://walkingrandomly.com/?p=5343 Checkpointing MATLAB Programs]

Revisión del 20:23 7 sep 2022

¿Qué es?

MATLAB (abreviatura de MATrix LABoratory, "laboratorio de matrices") es una herramienta de software matemático que ofrece un entorno de desarrollo integrado (IDE) con un lenguaje de programación propio (lenguaje M).

Modulos

Se encuentra disponible con el nombre Matlab/2017 y el runtime esta agregado como MCR/R2017a en todas las particiones de leftraru.

Ejemplo SBATCH para SLURM

#!/bin/bash
#SBATCH --job-name=ejemplo
#SBATCH --mail-user=usuario@correo.cl
#SBATCH --mail-type=ALL
#SBATCH --output=%j_%x.out
#SBATCH --error=%j_%x.err
#SBATCH --partition=slims
#SBATCH -n 1
#SBATCH --ntasks-per-node=1
#SBATCH --mem-per-cpu=2300
#SBATCH --license=matlab #agregar si se va a ocupar MATLAB

ml Matlab/2017

matlab -nodisplay -nosplash -nodesktop < ejemplo.m

(Sin paralelización)

Licencias

Existen 50 licencias disponibles para el uso de MATLAB proporcionadas por el CMM, pero es posible evitar esta restricción de licencias creando una compilación standalone con el Toolbox Compiler. El gestor de recursos cancelara las tareas que no indiquen las licencias en el script SBATCH, todo esto para favorecer el uso entre los distintos usuarios.

Toolbox

Tenemos disponibles los siguientes toolbox con su respectiva cantidad de licencias.

 

</tbody>
Nombre Cantidad Licencia Slurm
SIMULINK 2 matlab-simulink
Bioinformatics 1 matlab-bioinformatics
Control 20 matlab-control
Curve_Fitting 2 matlab-curve_fitting
Database 1  matlab-database
Econometrics 2 matlab-econometrics
Financial 2 matlab-financial
GADS 1 matlab-gads
Image 2 matlab-image
MATLAB_Coder 1 matlab-matlab_code
Compiler 1 matlab-compiler
Optimization 5 matlab-optimization
Distrib_Computing 2 matlab-distrib_computing
PDE 20 matlab-pde
Signal 2 matlab-signal
SimBiology 2 matlab-simbiology
Statistics 5 matlab-statistics
Identification  2     matlab-identification
Wavelet 1 matlab-wavelet



 

 

Referencias