1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
##*************************************************************************##
## CUBE http://www.scalasca.org/ ##
##*************************************************************************##
## Copyright (c) 1998-2021 ##
## Forschungszentrum Juelich GmbH, Juelich Supercomputing Centre ##
## ##
## Copyright (c) 2009-2015 ##
## German Research School for Simulation Sciences GmbH, ##
## Laboratory for Parallel Programming ##
## ##
## This software may be modified and distributed under the terms of ##
## a BSD-style license. See the COPYING file in the package base ##
## directory for details. ##
##*************************************************************************##
#------------------------------------------------------------------------------
# General Settings
#------------------------------------------------------------------------------
CUBE_DIR = @prefix@
ISCUBEW="@WITH_C_WRITER@"
# Creates examples for backend and frontend
all: make-frontend make-backend
#Makefile.frontend is demonstrating usage of CUBE libraries at frontend of the machine
make-frontend:
make -f Makefile.frontend
@echo "=============================================================="
@echo "make run"
@echo "'make run-frontend' - to run frontend examples"
@echo "'make run-backend' - to run backend examples"
@echo "=============================================================="
#Makefile.backend is demonstrating usage of CUBE c-writer library on backend of the machine
make-backend:
cd backend; make -f Makefile.backend
run: run-frontend run-backend
run-frontend:
make -f Makefile.frontend run
run-backend:
cd backend; make -f Makefile.backend run
|