#
# StarPU --- Runtime system for heterogeneous multicore architectures.
#
# Copyright (C) 2009-2011,2019                            Université de Bordeaux
# Copyright (C) 2010, 2011, 2013, 2019                    CNRS
#
# StarPU is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or (at
# your option) any later version.
#
# StarPU is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# See the GNU Lesser General Public License in COPYING.LGPL for more details.

Instructions on how to compile and run StarPU examples
------------------------------------------------------

% export STARPU_DIR=<directory where StarPU is installed>
% export PATH=$PATH:$STARPU_DIR/bin
% export PKG_CONFIG_PATH=$STARPU_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
% export LD_LIBRARY_PATH=$STARPU_DIR/lib:$LD_LIBRARY_PATH

% starpu_machine_display

% make hello_world
% ./hello_world

% make vector_scal
% ./vector_scal

% STARPU_NCPU=0 ./vector_scal
% STARPU_NCPU=0 STARPU_NCUDA=0 ./vector_scal
% STARPU_NCPU=0 STARPU_NOPENCL=0 ./vector_scal
% STARPU_NOPENCL=0 STARPU_NCUDA=0 ./vector_scal
