Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
25
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
ebrains-spack-builds
Merge requests
!633
update spack version to v0.23.0
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
update spack version to v0.23.0
spack_v0.23.0
into
master
Overview
1
Commits
57
Pipelines
59
Changes
189
Closed
Eleni Mathioulaki
requested to merge
spack_v0.23.0
into
master
1 month ago
Overview
1
Commits
57
Pipelines
59
Changes
189
Expand
0
0
Merge request reports
Compare
master
version 44
8ca3c990
2 weeks ago
version 43
a7f5aaf7
2 weeks ago
version 42
5401c483
2 weeks ago
version 41
0797addf
2 weeks ago
version 40
b45fcadc
2 weeks ago
version 39
7ce583ea
2 weeks ago
version 38
bfb20da0
2 weeks ago
version 37
9a93d6f5
2 weeks ago
version 36
6217a39e
2 weeks ago
version 35
6217a39e
3 weeks ago
version 34
e1ea5dd9
3 weeks ago
version 33
69e98c68
3 weeks ago
version 32
7e9d5a0f
3 weeks ago
version 31
7fdeb52b
3 weeks ago
version 30
905e1fb5
3 weeks ago
version 29
bf60da19
3 weeks ago
version 28
3474b5d6
3 weeks ago
version 27
08d7d32b
3 weeks ago
version 26
0512fb6d
3 weeks ago
version 25
65fa09e4
3 weeks ago
version 24
3f89dca0
4 weeks ago
version 23
a2c6e582
4 weeks ago
version 22
ea3efcaa
4 weeks ago
version 21
ea3efcaa
4 weeks ago
version 20
a0b962bc
4 weeks ago
version 19
e5b5d49c
4 weeks ago
version 18
e5b5d49c
4 weeks ago
version 17
e5b5d49c
4 weeks ago
version 16
11ae4531
4 weeks ago
version 15
5de21dc6
4 weeks ago
version 14
bc599e63
4 weeks ago
version 13
7490791e
4 weeks ago
version 12
d6fdae72
4 weeks ago
version 11
a9eab784
1 month ago
version 10
1c9ddc58
1 month ago
version 9
8decc2cb
1 month ago
version 8
9623b235
1 month ago
version 7
692cabf4
1 month ago
version 6
7556ea68
1 month ago
version 5
7556ea68
1 month ago
version 4
bb8c9481
1 month ago
version 3
06888ad4
1 month ago
version 2
58c9ea58
1 month ago
version 1
58c9ea58
1 month ago
master (base)
and
latest version
latest version
957a2808
57 commits,
2 weeks ago
version 44
8ca3c990
56 commits,
2 weeks ago
version 43
a7f5aaf7
57 commits,
2 weeks ago
version 42
5401c483
55 commits,
2 weeks ago
version 41
0797addf
50 commits,
2 weeks ago
version 40
b45fcadc
50 commits,
2 weeks ago
version 39
7ce583ea
49 commits,
2 weeks ago
version 38
bfb20da0
42 commits,
2 weeks ago
version 37
9a93d6f5
29 commits,
2 weeks ago
version 36
6217a39e
28 commits,
2 weeks ago
version 35
6217a39e
28 commits,
3 weeks ago
version 34
e1ea5dd9
28 commits,
3 weeks ago
version 33
69e98c68
28 commits,
3 weeks ago
version 32
7e9d5a0f
27 commits,
3 weeks ago
version 31
7fdeb52b
25 commits,
3 weeks ago
version 30
905e1fb5
24 commits,
3 weeks ago
version 29
bf60da19
22 commits,
3 weeks ago
version 28
3474b5d6
19 commits,
3 weeks ago
version 27
08d7d32b
23 commits,
3 weeks ago
version 26
0512fb6d
22 commits,
3 weeks ago
version 25
65fa09e4
20 commits,
3 weeks ago
version 24
3f89dca0
20 commits,
4 weeks ago
version 23
a2c6e582
19 commits,
4 weeks ago
version 22
ea3efcaa
23 commits,
4 weeks ago
version 21
ea3efcaa
20 commits,
4 weeks ago
version 20
a0b962bc
19 commits,
4 weeks ago
version 19
e5b5d49c
19 commits,
4 weeks ago
version 18
e5b5d49c
19 commits,
4 weeks ago
version 17
e5b5d49c
19 commits,
4 weeks ago
version 16
11ae4531
19 commits,
4 weeks ago
version 15
5de21dc6
19 commits,
4 weeks ago
version 14
bc599e63
18 commits,
4 weeks ago
version 13
7490791e
14 commits,
4 weeks ago
version 12
d6fdae72
13 commits,
4 weeks ago
version 11
a9eab784
12 commits,
1 month ago
version 10
1c9ddc58
12 commits,
1 month ago
version 9
8decc2cb
12 commits,
1 month ago
version 8
9623b235
10 commits,
1 month ago
version 7
692cabf4
10 commits,
1 month ago
version 6
7556ea68
13 commits,
1 month ago
version 5
7556ea68
14 commits,
1 month ago
version 4
bb8c9481
13 commits,
1 month ago
version 3
06888ad4
12 commits,
1 month ago
version 2
58c9ea58
13 commits,
1 month ago
version 1
58c9ea58
12 commits,
1 month ago
189 files
+
3530
−
5973
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
189
Search (e.g. *.vue) (Ctrl+P)
packages/ambertools/package.py deleted
100644 → 0
+
0
−
78
Options
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from
spack
import
*
class
Ambertools
(
CMakePackage
):
"""
AmberTools is a free, useful standalone package and a prerequisite for installing Amber itself.
The AmberTools suite is free of charge, and its components are mostly released under the GNU General Public License (GPL).
A few components are included that are in the public domain or which have other, open-source, licenses.
The libsander and libpbsa libraries use the LGPL license.
"""
# Set the homepage and download url
homepage
=
"
http://ambermd.org/AmberTools.php
"
url
=
"
http://ambermd.org/downloads/AmberTools22jlmrcc.tar.bz2
"
# Set the gitlab accounts of this package maintainers
maintainers
=
[
'
dbeltran
'
,
'
elmath
'
]
version
(
'
22jlmrcc
'
,
sha256
=
'
1571d4e0f7d45b2a71dce5999fa875aea8c90ee219eb218d7916bf30ea229121
'
)
# Dependencies
depends_on
(
"
flex
"
,
type
=
"
build
"
)
# This is necessary for sure (experimentally tested)
depends_on
(
"
bison
"
,
type
=
"
build
"
)
# This is necessary for sure (experimentally tested)
depends_on
(
"
tcsh
"
,
type
=
"
build
"
)
depends_on
(
"
zlib
"
,
type
=
(
"
build
"
,
"
link
"
,
"
run
"
))
depends_on
(
"
bzip2
"
,
type
=
(
"
build
"
,
"
run
"
))
depends_on
(
"
blas
"
,
type
=
(
"
build
"
,
"
run
"
))
depends_on
(
"
lapack
"
,
type
=
(
"
build
"
,
"
run
"
))
depends_on
(
"
arpack-ng
"
,
type
=
(
"
build
"
,
"
run
"
))
depends_on
(
"
netcdf-c
"
,
type
=
(
"
build
"
,
"
run
"
))
depends_on
(
"
netcdf-fortran
"
,
type
=
(
"
build
"
,
"
run
"
))
depends_on
(
"
fftw
"
,
type
=
(
"
build
"
,
"
run
"
))
depends_on
(
"
readline
"
,
type
=
(
"
build
"
,
"
run
"
))
depends_on
(
"
netlib-xblas~plain_blas
"
,
type
=
(
"
build
"
,
"
run
"
))
# specific variants needed for boost - from the build log "Could NOT find Boost (missing: thread system program_options iostreams regex timer chrono filesystem graph)"
depends_on
(
"
boost+thread+system+program_options+iostreams+regex+timer+chrono+filesystem+graph
"
,
type
=
(
"
build
"
,
"
run
"
))
# Python dependencies
# WARNING: If a python 3.8 version is already installed in spack then the '+tkinter' variant makes spack ignore the version
# WARNING: Spack may try to install the preferred python version (i.e. python 3.10.8)
# WARNING: The soultion is uninstall python and reinstall with this variant
depends_on
(
'
python@3.8: +tkinter
'
,
type
=
(
'
build
'
,
'
run
'
))
depends_on
(
"
py-numpy
"
,
type
=
(
"
build
"
,
"
run
"
))
depends_on
(
"
py-matplotlib
"
,
type
=
(
"
build
"
,
"
run
"
))
depends_on
(
"
py-scipy
"
,
type
=
(
"
build
"
,
"
run
"
))
def
cmake_args
(
self
):
# Translated from ambertools build/run_cmake script
# We also add the TRUST_SYSTEM_LIBS argument that is mentioned in the ambertools CMake guide
# https://ambermd.org/pmwiki/pmwiki.php/Main/CMake-Guide-to-Options
args
=
[
self
.
define
(
"
COMPILER
"
,
"
GNU
"
),
self
.
define
(
"
MPI
"
,
False
),
self
.
define
(
"
CUDA
"
,
False
),
self
.
define
(
"
INSTALL_TESTS
"
,
True
),
self
.
define
(
"
DOWNLOAD_MINICONDA
"
,
False
),
self
.
define
(
"
TRUST_SYSTEM_LIBS
"
,
True
),
# This is to avoid the x11 (X11_Xext_LIB) error
# It is equivalent to the '-noX11' flag accoridng to the docs:
# https://ambermd.org/pmwiki/pmwiki.php/Main/CMake-Common-Options
self
.
define
(
"
BUILD_GUI
"
,
False
)
]
return
args
def
setup_run_environment
(
self
,
env
):
env
.
set
(
"
AMBER_PREFIX
"
,
self
.
prefix
)
env
.
set
(
"
AMBERHOME
"
,
self
.
prefix
)
def
setup_build_environment
(
self
,
env
):
env
.
set
(
"
AMBER_PREFIX
"
,
self
.
prefix
)
env
.
set
(
"
AMBERHOME
"
,
self
.
prefix
)
@run_after
(
'
install
'
)
@on_package_attributes
(
run_tests
=
True
)
def
check_install
(
self
):
make
(
"
test.serial
"
)