-
Notifications
You must be signed in to change notification settings - Fork 24
/
fpm.toml
86 lines (69 loc) · 1.79 KB
/
fpm.toml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name = "elphbolt"
license = "GPLv3+"
author = "Nakib Haider Protik"
maintainer = "nakib.haider.protik@gmail.com"
copyright = "2023 Contributors of the elphbolt project."
[fortran]
implicit-external = true #Needed for v>=0.7 fpm
[library]
source-dir="src"
[preprocess]
[preprocess.cpp]
[dependencies]
#Pull from github
#testify = { git = "git@github.com:nakib/testify.git" }
testify = {path = "thirdparty/testify"}
fhash = { git = "https://github.com/LKedward/fhash.git" }
#Use local copy from thirdparty directory
spglib = {path = "thirdparty/spglib"}
[build]
#[build]
#By default, I will use try to use the forlapack and forblas builds from ~/.local/lib/
#These will have been put there by the configuration step.
link = ["forlapack", "forblas"]
#
#Alternatively, you can use your preexisting blas and lapack, or openblas,
#or whatever other implementation by commenting out the above and uncommenting
#one of the following. Modify according to your system.
#link = ["blas", "lapack"]
#link = ["openblas"]
external-modules = ["openacc"]
auto-tests = false
[install]
library = true
[[executable]]
name="elphbolt"
source-dir="app"
main="elphbolt.f90"
[[executable]]
name="superconda"
source-dir="app"
main="superconda.f90"
[[executable]]
name = "screening_comparison"
source-dir="src"
main = "screening_comparison.f90"
[[test]]
name = "test_misc"
source-dir="test"
main = "test_misc.f90"
[[test]]
name = "test_autodiff"
source-dir="test"
main = "test_autodiff.f90"
[[test]]
name = "test_periodictable"
source-dir="test"
main = "test_periodictable.f90"
[[test]]
name = "test_vector"
source-dir="test"
main = "test_vector.f90"
[[test]]
name = "check_interactions_symmetries"
source-dir="test"
main = "check_interactions_symmetries.f90"
[[test]]
name = "bte_regression"
source-dir="test"
main = "bte_regression.f90"