1########################################################################## 2# Copyright (c) 2007, 2008, 2009, ETH Zurich. 3# All rights reserved. 4# 5# This file is distributed under the terms in the attached LICENSE file. 6# If you do not find this file, copies can be found by writing to: 7# ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 8########################################################################## 9 10all: cg-gomp ft-gomp is-gomp 11 12 13clean: 14 rm -f cg-gomp cg-bomp ft-gomp ft-bomp is-gomp is-bomp 15 16 17cg-gomp: 18 gcc -o cg-gomp cg.c c_print_results.c c_randdp.c c_timers.c wtime.c -DPOSIX -lm -fopenmp -O2 19 20ep-gomp: 21 gcc -o ep-gomp ep.c c_print_results.c c_randdp.c c_timers.c wtime.c -DPOSIX -lm -fopenmp -O2 22 23ft-gomp: 24 gcc -o ft-gomp ft.c c_print_results.c c_randdp.c c_timers.c wtime.c -DPOSIX -lm -fopenmp -O2 25 26is-gomp: 27 gcc -o is-gomp is.c c_print_results.c c_timers.c wtime.c -DPOSIX -lm -fopenmp -O2 28 29cg-bomp: 30 gcc -o wtime.o -c wtime.c -DPOSIX -g -O2 31 gcc -o cg-bomp cg.c c_print_results.c c_randdp.c c_timers.c wtime.o -DBOMP -lm -fopenmp libbomp.a -lpthread -lnuma -g -O2 32 33ep-bomp: 34 gcc -o wtime.o -c wtime.c -DPOSIX -g -O2 35 gcc -o ep-bomp ep.c c_print_results.c c_randdp.c c_timers.c wtime.o -DBOMP -lm -fopenmp libbomp.a -lpthread -lnuma -g -O2 36 37ft-bomp: 38 gcc -o wtime.o -c wtime.c -DPOSIX -g -O2 39 gcc -o ft-bomp ft.c c_print_results.c c_randdp.c c_timers.c wtime.o -DBOMP -lm -fopenmp libbomp.a -lpthread -lnuma -g -O2 40 41is-bomp: 42 gcc -o wtime.o -c wtime.c -DPOSIX -g -O2 43 gcc -o is-bomp is.c c_print_results.c c_timers.c wtime.o -DBOMP -lm -fopenmp libbomp.a -lpthread -lnuma -g -O2 44 45scalability-gomp: clean 46 gcc -o scalability-gomp scalability.c -DPOSIX -lm -fopenmp -O2 47 48scalability-bomp: clean 49 gcc -o scalability-bomp scalability.c -DPOSIX -fopenmp libbomp.a -lpthread -lnuma -g -O2 50