Skip to content

Commit fc6e46c

Browse files
authored
Merge pull request easybuilders#25220 from Crivella/feature-AITW
{chem}[foss/2023a] AITW-microstructures v1.0.0, AITW-stiffness v1.0.0, AITW-viscosity v1.0.0
2 parents c367abb + 66b9409 commit fc6e46c

File tree

4 files changed

+147
-2
lines changed

4 files changed

+147
-2
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
easyblock = 'PythonBundle'
2+
3+
name = 'AITW-microstructures'
4+
version = '1.0.0'
5+
6+
homepage = 'https://www.ai-transpwood-project.eu/'
7+
description = """AI-TranspWood - Generate realistic microstructure models of wood (birch, spruce, etc.) from a set of
8+
given parameters. This is a port of the original MATLAB code to Python.
9+
"""
10+
11+
toolchain = {'name': 'foss', 'version': '2023a'}
12+
13+
builddependencies = [
14+
('poetry', '1.7.1'), # Needed to install textual
15+
]
16+
17+
dependencies = [
18+
('Python', '3.11.3'),
19+
('Python-bundle-PyPI', '2023.06'),
20+
('SciPy-bundle', '2023.07'),
21+
('Pillow', '10.0.0'),
22+
('PyTorch', '2.1.2')
23+
]
24+
25+
exts_list = [
26+
('nptyping', '2.5.0', {
27+
'checksums': ['e3d35b53af967e6fb407c3016ff9abae954d3a0568f7cc13a461084224e8e20a'],
28+
}),
29+
('pynrrd', '1.0.0', {
30+
'modulename': 'nrrd',
31+
'checksums': ['4eb4caba03fbca1b832114515e748336cb67bce70c7f3ae36bfa2e135fc990d2'],
32+
}),
33+
('textual', '0.61.0', {
34+
'checksums': ['91c83a659da40b227eced4fa749026a236b493cc5911a9bedd990ad5f0786be2'],
35+
}),
36+
('trogon', '0.6.0', {
37+
'checksums': ['fd1abfeb7b15d79d6e6cfc9e724aad2a2728812e4713a744d975f133e7ec73a4'],
38+
}),
39+
(name, version, {
40+
'modulename': 'wood_microstructure',
41+
'source_urls': ['https://github.com/AI-TranspWood/AITW_microstructures/archive/refs/tags'],
42+
'sources': [{
43+
'filename': SOURCE_TAR_GZ,
44+
'download_filename': 'v%(version)s.tar.gz'
45+
}],
46+
'checksums': ['5e7bd9a4333617f7e3783e307d088e13d643d3ae5514f4035ec5e766db8df534'],
47+
'click_autocomplete_bins': ['wood_ms'],
48+
}),
49+
]
50+
51+
sanity_check_commands = [
52+
'wood_ms --help',
53+
]
54+
55+
moduleclass = 'chem'
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
easyblock = 'PythonBundle'
2+
3+
name = 'AITW-stiffness'
4+
version = '1.0.0'
5+
6+
homepage = 'https://www.ai-transpwood-project.eu/'
7+
description = """AI-TranspWood - Neural network surrogate model for computing macroscopic stiffness parameters of
8+
wood fibers from given microscopic parameters.
9+
"""
10+
11+
toolchain = {'name': 'foss', 'version': '2023a'}
12+
13+
dependencies = [
14+
('Python', '3.11.3'),
15+
('Python-bundle-PyPI', '2023.06'),
16+
('SciPy-bundle', '2023.07'),
17+
('h5py', '3.9.0'),
18+
('TensorFlow', '2.13.0'),
19+
('tensorflow-probability', '0.20.0'),
20+
]
21+
22+
exts_list = [
23+
(name, version, {
24+
'modulename': 'aitw_stiffness_surrogate',
25+
'source_urls': ['https://github.com/AI-TranspWood/biocomposite-surrogate/archive/refs/tags'],
26+
'sources': [{
27+
'filename': SOURCE_TAR_GZ,
28+
'download_filename': 'v%(version)s.tar.gz'
29+
}],
30+
'checksums': ['5f708e9bdef6679d8db096068b1a62558b74d40caf6f686e942aeba7bfc3a413'],
31+
'click_autocomplete_bins': ['aitw-stiffness'],
32+
}),
33+
]
34+
35+
sanity_check_commands = [
36+
'aitw-stiffness --help',
37+
]
38+
39+
moduleclass = 'chem'
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
easyblock = 'PythonBundle'
2+
3+
name = 'AITW-viscosity'
4+
version = '1.0.0'
5+
6+
homepage = 'https://www.ai-transpwood-project.eu/'
7+
description = """AI-TranspWood - AiiDA workchain to compute the shear viscosity of molecular liquids,
8+
starting from a SMILES string of a molecule and using GROMACS to perform the molecular dynamics simulations.
9+
"""
10+
11+
toolchain = {'name': 'foss', 'version': '2023a'}
12+
13+
builddependencies = [
14+
('poetry', '1.7.1'), # Needed to install textual
15+
]
16+
17+
dependencies = [
18+
('Python', '3.11.3'),
19+
('Python-bundle-PyPI', '2023.06'),
20+
('SciPy-bundle', '2023.07'),
21+
('aiida-core', '2.7.2'),
22+
('aiida-shell', '0.8.2'),
23+
('RDKit', '2024.03.3'),
24+
('matplotlib', '3.7.2'),
25+
('PyQt5', '5.15.10'),
26+
]
27+
28+
exts_list = [
29+
('textual', '0.61.0', {
30+
'checksums': ['91c83a659da40b227eced4fa749026a236b493cc5911a9bedd990ad5f0786be2'],
31+
}),
32+
('trogon', '0.6.0', {
33+
'checksums': ['fd1abfeb7b15d79d6e6cfc9e724aad2a2728812e4713a744d975f133e7ec73a4'],
34+
}),
35+
(name, version, {
36+
'modulename': 'aitw_aiida_viscosity',
37+
'source_urls': ['https://github.com/AI-TranspWood/Molecular-liquid-shear-viscosity/archive/refs/tags'],
38+
'sources': [{
39+
'filename': SOURCE_TAR_GZ,
40+
'download_filename': 'v%(version)s.tar.gz'
41+
}],
42+
'checksums': ['fc0201716c4afe9f96c9583b705373395a943bb2796e2705e8eee07ef4a8dc2a'],
43+
'click_autocomplete_bins': ['aitw-viscosity'],
44+
}),
45+
]
46+
47+
sanity_check_commands = [
48+
'aitw-viscosity --help',
49+
]
50+
51+
moduleclass = 'chem'

test/easyconfigs/easyconfigs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def check_dep_vars(self, gen, dep, dep_vars):
554554
# some software packages require a specific (older/newer) version of a particular dependency
555555
alt_dep_versions = {
556556
# scanpy-1.10.4 and scvi-tools-1.4.1 requires anndata >= 0.11
557-
'aiida-core': [(r'2\.7\.2', [r'aiida-shell-'])],
557+
'aiida-core': [(r'2\.7\.2', [r'aiida-shell-', r'AITW-viscosity-'])],
558558
'anndata': [(r'0\.11\.4', [r'scvi-tools-1.4.1-', r'scanpy-1.10.4-'])],
559559
# arrow-R 6.0.0.2 is used for two R/R-bundle-Bioconductor sets (4.1.2/3.14 and 4.2.0/3.15)
560560
'arrow-R': [('6.0.0.2', [r'R-bundle-Bioconductor-'])],
@@ -618,7 +618,7 @@ def check_dep_vars(self, gen, dep, dep_vars):
618618
# OpenFOAM 5.0 requires older ParaView, CFDEMcoupling depends on OpenFOAM 5.0
619619
(r'5\.4\.1', [r'CFDEMcoupling-3\.8\.0', r'OpenFOAM-5\.0-20180606']),
620620
],
621-
'plumpy': [(r'0\.25\.0', [r'aiida-core-', r'aiida-shell-'])],
621+
'plumpy': [(r'0\.25\.0', [r'aiida-core-', r'aiida-shell-', r'AITW-viscosity-'])],
622622
'PMIx': [
623623
# PRRTE 4.0+ requires PMIx 6.0+ and vice-versa
624624
(r'6\.0\.0', [r'PRRTE-4\.0\.0']),

0 commit comments

Comments
 (0)