-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17820 from SimonPinches/20230427152605_new_pr_pyg…
…mo2195 {lib}[foss/2022b] pygmo v2.19.5, pagmo v2.19.0, tbb v2021.9.0 w/ Python 3.10.8
- Loading branch information
Showing
3 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
easyblock = 'CMakeMake' | ||
|
||
name = 'pagmo' | ||
version = '2.19.0' | ||
|
||
homepage = 'https://esa.github.io/pagmo2' | ||
description = "pagmo is a C++ scientific library for massively parallel optimization." | ||
|
||
toolchain = {'name': 'gfbf', 'version': '2022b'} | ||
|
||
source_urls = ['https://github.com/esa/pagmo2/archive/'] | ||
sources = ['v%(version)s.tar.gz'] | ||
checksums = ['701ada528de7d454201e92a5d88903dd1c22ea64f43861d9694195ddfef82a70'] | ||
|
||
builddependencies = [ | ||
('CMake', '3.24.3'), | ||
] | ||
|
||
dependencies = [ | ||
('Boost', '1.81.0'), | ||
('tbb', '2021.9.0'), | ||
('Eigen', '3.4.0'), | ||
('NLopt', '2.7.1'), | ||
] | ||
|
||
configopts = "-DPAGMO_WITH_EIGEN3=ON -DPAGMO_WITH_NLOPT=ON -DPAGMO_BUILD_TESTS=ON" | ||
|
||
runtest = 'test' | ||
|
||
sanity_check_paths = { | ||
'files': ['lib/libpagmo.%s' % SHLIB_EXT], | ||
'dirs': ['include/pagmo', 'lib/cmake/pagmo'], | ||
} | ||
|
||
moduleclass = 'lib' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
easyblock = 'CMakePythonPackage' | ||
|
||
name = 'pygmo' | ||
version = '2.19.5' | ||
|
||
homepage = 'https://esa.github.io/pygmo2' | ||
description = "pygmo is a scientific Python library for massively parallel optimization." | ||
|
||
toolchain = {'name': 'gfbf', 'version': '2022b'} | ||
|
||
source_urls = ['https://github.com/esa/pygmo2/archive/refs/tags/'] | ||
sources = ['v%(version)s.tar.gz'] | ||
checksums = ['742ff0c3d535cb2af94d5095968d8f29c23ed7bdbd4ddd8259ca787eef881aa2'] | ||
|
||
builddependencies = [ | ||
('CMake', '3.24.3'), | ||
('pybind11', '2.10.3'), | ||
] | ||
|
||
dependencies = [ | ||
('Python', '3.10.8'), | ||
('SciPy-bundle', '2023.02'), | ||
('Boost', '1.81.0'), | ||
('pagmo', '2.19.0'), | ||
('matplotlib', '3.7.0'), | ||
('networkx', '3.0'), | ||
] | ||
|
||
# make sure that all files are installed in the correct location (-DCMAKE_INSTALL_PREFIX is not enough)... | ||
configopts = "-DPYGMO_INSTALL_PATH=%(installdir)s/lib/python%(pyshortver)s/site-packages" | ||
|
||
runtest = False | ||
|
||
exts_defaultclass = 'PythonPackage' | ||
|
||
exts_default_options = { | ||
'source_urls': [PYPI_SOURCE], | ||
'download_dep_fail': True, | ||
'use_pip': True, | ||
} | ||
|
||
exts_list = [ | ||
('cloudpickle', '2.2.1', { | ||
'checksums': ['d89684b8de9e34a2a43b3460fbca07d09d6e25ce858df4d5a44240403b6178f5'], | ||
}), | ||
('dill', '0.3.6', { | ||
'checksums': ['e5db55f3687856d8fbdab002ed78544e1c4559a130302693d839dfe8f93f2373'], | ||
}), | ||
] | ||
|
||
sanity_check_paths = { | ||
'files': [], | ||
'dirs': ['lib/python%(pyshortver)s/site-packages/pygmo'], | ||
} | ||
|
||
sanity_pip_check = True | ||
|
||
moduleclass = 'lib' |
31 changes: 31 additions & 0 deletions
31
easybuild/easyconfigs/t/tbb/tbb-2021.9.0-GCCcore-12.2.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
easyblock = 'CMakeMake' | ||
|
||
name = 'tbb' | ||
version = '2021.9.0' | ||
|
||
homepage = 'https://github.com/oneapi-src/oneTBB' | ||
description = """Intel(R) Threading Building Blocks (Intel(R) TBB) lets you easily write parallel C++ programs that | ||
take full advantage of multicore performance, that are portable, composable and have future-proof scalability.""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '12.2.0'} | ||
|
||
source_urls = ['https://github.com/oneapi-src/oneTBB/archive/refs/tags/'] | ||
sources = ['v%(version)s.tar.gz'] | ||
checksums = ['1ce48f34dada7837f510735ff1172f6e2c261b09460e3bf773b49791d247d24e'] | ||
|
||
builddependencies = [ | ||
('binutils', '2.39'), | ||
('CMake', '3.24.3'), | ||
] | ||
|
||
dependencies = [('hwloc', '2.8.0')] | ||
|
||
# use -Wno-error as workaround for compiler error when building the tests | ||
preconfigopts = 'export CXXFLAGS="$CXXFLAGS -Wno-stringop-overflow" && ' | ||
|
||
sanity_check_paths = { | ||
'files': ['lib/libtbb.%s' % SHLIB_EXT, 'lib/libtbbmalloc.%s' % SHLIB_EXT], | ||
'dirs': ['lib', 'include', 'share'], | ||
} | ||
|
||
moduleclass = 'lib' |