-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
106 lines (90 loc) · 3 KB
/
Cargo.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[package]
name = "subsweep"
version = "0.2.0"
edition = "2021"
resolver="2"
authors = [
"Toni Peter <[email protected]>",
]
build = "build.rs"
[features]
default = ["3d"]
mpi_test = []
2d = []
3d = []
vis = []
parallel-hdf5 = ["hdf5/mpio"]
[dependencies]
array-init = "2.1.0"
# Custom bevy version without change detection to save memory
bevy_app = { git = "https://github.com/tehforsch/bevy", branch="no_change_detect", default-features = false, features = [] }
bevy_core = { git = "https://github.com/tehforsch/bevy", branch="no_change_detect", default-features = false, features = [] }
bevy_ecs = { git = "https://github.com/tehforsch/bevy", branch="no_change_detect", default-features = false, features = []}
bevy_utils = { git = "https://github.com/tehforsch/bevy", branch="no_change_detect", default-features = false, features = [] }
bimap = "0.6.3"
chrono = { version = "0.4.31", default-features = false, features = ["clock"] }
clap = {version = "3.2.25", features = ["derive"]}
derive_more = "0.99.17"
diman = { git = "https://github.com/tehforsch/diman", default-features = false, branch = "fixed-hdf5-version-parallel", features = ["mpi", "hdf5", "serde", "glam", "f64", "glam-dvec3", "glam-dvec2"] }
generational-arena = "0.2.9"
glam = "0.24.1"
# Hdf5 dependency is complicated:
# 1. 14.x versions of hdf5 are only supported on master (and not on 0.8.1).
# 2. I have my own custom fork in order to fix panics with H5Pset_evict_on_close
# in parallel builds of hdf5. See https://github.com/aldanor/hdf5-rust/issues/259
hdf5 = { branch = "master", git = "https://github.com/tehforsch/hdf5-rust" }
kiddo = "2.1.1"
lazy_static = "1.4.0"
linked-hash-map = { version = "0.5.6", features = ["serde", "serde_impl"] }
log = "0.4.20"
mpi = { version = "0.7", default-features = false, features = ["derive"] }
ndarray = "0.15.6"
num = "0.4.1"
once_cell = "1.18.0"
ordered-float = "3.9.1"
rand = "0.8.5"
serde = {version = "1.0.188", features = ["derive"] }
serde_yaml = "0.9.25"
simplelog = "0.12.1"
time = { version = "0.3.29", default-features = false }
derive_custom = { path = "crates/derive_custom" }
derive_traits = { path = "crates/derive_traits" }
[build-dependencies]
vergen = { version = "8.0.0", features = ["build", "cargo", "git", "gitcl"] }
[dev-dependencies]
criterion = { version = "0.4.0", features = ["html_reports"] }
macro_utils = { path = "crates/macro_utils" }
generic-tests = "0.1.2"
# Optimize dependencies even in a debug build
[profile.dev.package."*"]
opt-level = 3
[profile.release-lto]
inherits = "release"
lto = true
[profile.release]
debug = true
[[example]]
name = "mpi_test"
required-features = ["mpi_test", "3d"]
[[example]]
name = "voronoi"
required-features = ["3d"]
[[example]]
name = "sweep_1d"
required-features = ["3d"]
[[example]]
name = "mpi_performance"
[[example]]
name = "domain_decomp"
[[bench]]
name = "voronoi2d"
harness = false
required-features = ["2d"]
[[bench]]
name = "voronoi3d"
harness = false
required-features = ["3d"]
[[bench]]
name = "sweep"
harness = false
required-features = ["3d"]