-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
67 lines (50 loc) · 1.15 KB
/
Makefile
File metadata and controls
67 lines (50 loc) · 1.15 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
nothing:
@echo
CONDA_BLANK=
.PHONY: check_no_conda
check_no_conda:
ifneq ($(CONDA_DEFAULT_ENV), $(CONDA_BLANK))
$(error CONDA needs to be deactivated)
endif
.PHONY: install_conda
install_conda: check_no_conda
@conda env create -f environment.yml
.PHONY: delete_conda
delete_conda: check_no_conda
@conda remove --name dhfr_analysis --all -y
.PHONY: reinstall_conda
reinstall_conda: delete_conda install_conda
.PHONY: ext
ext:
$(MAKE) -C scripts
.PHONY: clean_logs
clean_logs:
rm -f working/logs/chtc_run_*.txt
.PHONY: clean
clean:
rm -f docker_stderror
rm -f staging.tar.gz
.PHONY: deepclean
deepclean: clean clean_logs
rm -f output_*.tar.gz
.PHONY: verydeepclean
verydeepclean: deepclean
$(MAKE) -C scripts clean
.PHONY: staging
staging: staging.tar.gz
staging.tar.gz :
tar --exclude='.git' \
--exclude='.gitignore' \
--exclude='htc.sh' \
-czvf staging.tar.gz \
./scripts \
./DHFR \
./working/README.md \
Makefile \
*.sh
submit: staging
condor_submit DISABLE_GPU=1 DISABLE_FLOCKING=1 htc.sub
flocking: staging
condor_submit DISABLE_GPU=1 htc.sub
environment.explicit.txt:
conda list --explicit > environment.explicit.txt