Optimización de mathcluster
Rocks El sistema operativo de mathcluster es Rocks, una distribución de Linux intentado para clusters de alto rendimiento.
Los Nodos de mathcluster ~]$ rocks list host HOST MEMBERSHIP CPUS RACK RANK RUNACTION INSTALLACTION Mathcluster: Frontend os install compute-0-0: Compute os install compute-0-1: Compute os install compute-0-2: Compute os install compute-0-7: Compute os install compute-0-4: Compute os install compute-0-5: Compute os install compute-0-6: Compute os install ~]$
hostfiles Un hostfile se puede usar para indicar a mpirun los nodos y los “CPU cores” del cluster que participarán en un trabajo MPI Para ejecutar un programa MPI con la configuración indicada por el hostfile: $mpirun - -hostfile arch –np p./prog Donde arch is el archivo que contiene el hostfile
Un posible hostfile para mathcluster mathcluster slots=1 compute-0-0 slots=1 compute-0-1 slots=1 compute-0-2 slots=1 compute-0-4 slots=1 compute-0-5 slots=1 compute-0-6 slots=1 compute-0-7 slots=1
Ejemplo Si lo anterior está contenido en el archivo hostnodes, entonces se puede ejecutar floyd mediante mpirun - -hostfile hostnodes –np p./floyd arch