!--------------------------------------------------------------------------------------------------!
! Copyright (C) by the DBCSR developers group - All rights reserved                                !
! This file is part of the DBCSR library.                                                          !
!                                                                                                  !
! For information on the license, see the LICENSE file.                                            !
! For further information please visit https://dbcsr.cp2k.org                                      !
! SPDX-License-Identifier: GPL-2.0+                                                                !
!--------------------------------------------------------------------------------------------------!

DBCSR Testing and Performance

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

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

  > cd $LIBDBCSR_HOME
  > make -j dbcsr_performance_driver

* Running, examples:

  Modify the input.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:

  > mpirun -np [n] ./bin/dbcsr_performance_driver.x tests/input.perf 2>&1 | tee perf.log

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

  > export OMP_NUM_THREADS=[t]; mpirun -np [n] ./bin/dbcsr_performance_driver.x tests/input.perf 2>&1 | tee perf.log

