run.sh 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #!/bin/bash
  2. # StarPU --- Runtime system for heterogeneous multicore architectures.
  3. #
  4. # Copyright (C) 2012,2016,2017 CNRS
  5. # Copyright (C) 2012 Inria
  6. # Copyright (C) 2014,2019 Université de Bordeaux
  7. #
  8. # StarPU is free software; you can redistribute it and/or modify
  9. # it under the terms of the GNU Lesser General Public License as published by
  10. # the Free Software Foundation; either version 2.1 of the License, or (at
  11. # your option) any later version.
  12. #
  13. # StarPU is distributed in the hope that it will be useful, but
  14. # WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  16. #
  17. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  18. #
  19. # Testing another specific scheduler, no need to run this
  20. [ -z "$STARPU_SCHED" -a "$STARPU_SCHED" != pheft ] || exit 77
  21. #export STARPU_GENERATE_TRACE=1
  22. #export GOMP_CPU_AFFINITY="0 6 1 7 2 8 3 9 4 10 5 11"
  23. #export OMP_WAIT_POLICY=PASSIVE
  24. export STARPU_SCHED=pheft
  25. export STARPU_NCPUS=12
  26. export STARPU_SINGLE_COMBINED_WORKER=1
  27. export STARPU_MIN_WORKERSIZE=12
  28. export STARPU_MAX_WORKERSIZE=12
  29. export STARPU_NCUDA=0
  30. export STARPU_NOPENCL=0
  31. export STARPU_WORKER_STATS=1
  32. export STARPU_CALIBRATE=1
  33. ./bfs data/graph65536.txt