parallelize figure generation

This commit is contained in:
Carl Pearson
2017-05-16 11:47:15 -07:00
parent 43630acf70
commit f0ac93a60a
10 changed files with 157 additions and 117 deletions

View File

@@ -10,7 +10,11 @@ all: pdf
# $(TEX) -shell-escape $<
# $(BIBTEX) $(PROJ)
# $(TEX) -shell-escape $<
pdf: $(TEXFILE)
figures/%.pdf: figures/%.py
$(PYTHON) $<
pdf: $(TEXFILE) figures/kernels.pdf figures/mlfmm.pdf figures/cpu_matvec.pdf
$(PYTHON) figures/plots.py
$(TEX) -shell-escape $<
$(TEX) -shell-escape $<
@@ -29,6 +33,12 @@ clean:
$(TEXFILE:.tex=.aux) \
$(TEXFILE:.tex=.log) \
$(TEXFILE:.tex=.toc) \
figures/kernels.pdf \
figures/kernels.png \
figures/mlfmm.pdf \
figures/mlfmm.png \
figures/cpu_matvec.pdf \
figures/cpu_matvec.png \
texput.log \
main.pyg
rm -rf \