DBCSR Testing and Performance

(C) 2011-2014 Valery Weber, Urban Borstnik, Andreas Gloess and CP2K developers group.
(C) 2010-2011 Valery Weber, Urban Borstnik, and CP2K developers group.
Licensed under the GNU Public Licence v2 and v3.

Performance:
============

* Building: compile libdbcsr as usual but use the 'dbcsr_performance_driver' target, i.e.:

  user@host:/dir> cd $LIBDBCSR_HOME
  user@host:/dir> make -j ARCH=Linux-x86-64-gfortran VERSION=psmp dbcsr_performance_driver

* Running, examples:

  Modify the perf/test.perf input file and pass it as standard input
  to the executable generated above, e.g.:

  a) To test pure MPI performance test using [n] nodes:

  user@host:/dir> mpiexec -np [n] ../../exe/Linux-x86-64-gfortran/dbcsr_performance_driver.popt < perf/test.perf 2>&1 | tee perf.log

  b) To test hybrid MPI/OpenMP performance test using [n] nodes, each spanning [t] threads:

  user@host:/dir> export OMP_NUM_THREADS=[t]; mpiexec -np [n] ../../exe/Linux-x86-64-gfortran/dbcsr_performance_driver.psmp < perf/test.perf 2>&1 | tee perf.log

