Difference between revisions of "UTK multicores + GPU"

From HCL
Jump to: navigation, search
Line 8: Line 8:
 
*Compiling : Create two separate directories for configuration with selected CPU cblas (e.g. gsl, acml, mkl)and GPU cblas (e.g. cublas).  
 
*Compiling : Create two separate directories for configuration with selected CPU cblas (e.g. gsl, acml, mkl)and GPU cblas (e.g. cublas).  
  
For example:
+
  For example:
  
cd fupermod/
+
  cd fupermod/
  
/* Using acml for CPU compuing*/
+
  /* Using acml for CPU compuing*/
mkdir acml_config  
+
  mkdir acml_config  
cd acml_config
+
  cd acml_config
./configure --with-cblas=acml
+
  ./configure --with-cblas=acml
  
/* Using cublas for GPU computing */   
+
  /* Using cublas for GPU computing */   
mkdir cuda_config  
+
  mkdir cuda_config  
cd cuda_config
+
  cd cuda_config
./configure --with-cblas=cuda
+
  ./configure --with-cblas=cuda

Revision as of 11:37, 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:
 cd fupermod/
 /* Using acml for CPU compuing*/
 mkdir acml_config 
 cd acml_config
 ./configure --with-cblas=acml
 /* Using cublas for GPU computing */  
 mkdir cuda_config 
 cd cuda_config
 ./configure --with-cblas=cuda