Difference between revisions of "UTK multicores + GPU"

From HCL
Jump to: navigation, search
Line 20: Line 20:
  
 
* Building performance model:
 
* Building performance model:
** rankfile is for processing binding, appfile tell mpi what programs to launch
+
** rankfile is for processing binding, and appfile tells mpi what programs to launch
 
   $ mpirun -rf rankfile -app appfile_fpm
 
   $ mpirun -rf rankfile -app appfile_fpm
 +
 +
  example of a rankfile:
 +
  rank 0=ig.icl.utk.edu slot=0:0
 +
  rank 1=ig.icl.utk.edu slot=0:1
 +
  .
 +
  .
 +
  .

Revision as of 10:45, 12 July 2012

List of machines

http://icl.cs.utk.edu/iclhelp/custom/index.html?lid=97&slid=180

Display a list of available GPUs

$ nvidia-smi -L

Using Fupermod on hybrid multicore/GPUs node

  • Compiling : Create two separate directories for configuration with selected CPU cblas (e.g. gsl, acml, mkl)and GPU cblas (e.g. cublas).
    • For example: Using acml blas for CPU and cublas for GPU computing
cd fupermod/
mkdir acml_config 
cd acml_config
./configure --with-cblas=acml
mkdir cuda_config 
cd cuda_config
./configure --with-cblas=cuda
  • Building performance model:
    • rankfile is for processing binding, and appfile tells mpi what programs to launch
 $ mpirun -rf rankfile -app appfile_fpm
 example of a rankfile:
 rank 0=ig.icl.utk.edu slot=0:0
 rank 1=ig.icl.utk.edu slot=0:1
  .
  .
  .