-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
44 lines (32 loc) · 1.11 KB
/
Makefile
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
JULIAEXEC=julia
NPROCS=1
BENCHMARKS= cutest powermodels exaopf argos cops
install:
for benchmark in $(BENCHMARKS) ; do \
echo Install $${benchmark} ; \
$(JULIAEXEC) --project=$${benchmark} -e "using Pkg; Pkg.instantiate()" ; \
done
update:
for benchmark in $(BENCHMARKS) ; do \
echo Update benchmark $${benchmark} ; \
$(JULIAEXEC) --project=$${benchmark} -e "using Pkg; Pkg.update()" ; \
done
test:
for benchmark in $(BENCHMARKS) ; do \
echo $${benchmark} ; \
$(JULIAEXEC) --project=$${benchmark} $${benchmark}/test.jl ; \
done
cutest:
$(JULIAEXEC) --project=cutest -p $(NPROCS) cutest/benchmark.jl --solver all
lbfgs:
$(JULIAEXEC) --project=cutest -p $(NPROCS) cutest/lbfgs/benchmark.jl --solver all
argos:
$(JULIAEXEC) --project=argos argos/full/benchmark.jl
$(JULIAEXEC) --project=argos argos/reduced/benchmark.jl
cops-cpu:
$(JULIAEXEC) --project=cops cops/benchmark.jl --instances default
cops-gpu:
$(JULIAEXEC) --project=cops cops/benchmark.jl --instances gpu
mittelmann:
$(JULIAEXEC) --project=cops cops/benchmark.jl --instances mittelmann
all: cutest lbfgs exaopf argos cops-cpu mittelmann