Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{math}[intel/2021b] sympy v1.9, gmpy2 v2.1.2 w/ Python 3.9.6 #17467

Merged
merged 3 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
easyblock = 'PythonPackage'

name = 'gmpy2'
version = '2.1.2'

homepage = 'https://github.com/aleaxit/gmpy'
description = "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x"

toolchain = {'name': 'intel-compilers', 'version': '2021.4.0'}

sources = [SOURCE_TAR_GZ]
checksums = ['da75140bca128ece795895477e53b43773e3748aa90ba6170eae7ca2c74b82d1']

dependencies = [
('Python', '3.9.6'),
('GMP', '6.2.1'),
('MPFR', '4.1.0'),
('MPC', '1.2.1'),
]

use_pip = True
download_dep_fail = True
sanity_pip_check = True

moduleclass = 'math'
25 changes: 25 additions & 0 deletions easybuild/easyconfigs/s/sympy/sympy-1.9-intel-2021b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name = 'sympy'
version = '1.9'

homepage = 'https://sympy.org/'
description = """SymPy is a Python library for symbolic mathematics. It aims to
become a full-featured computer algebra system (CAS) while keeping the code as
simple as possible in order to be comprehensible and easily extensible. SymPy
is written entirely in Python and does not require any external libraries."""

toolchain = {'name': 'intel', 'version': '2021b'}

sources = [SOURCE_TAR_GZ]
checksums = ['c7a880e229df96759f955d4f3970d4cabce79f60f5b18830c08b90ce77cd5fdc']

dependencies = [
('Python', '3.9.6'),
('SciPy-bundle', '2021.10'),
('gmpy2', '2.1.2'),
]

# fix broken test, sympy doesn't actually use gmpy2's Decimal anywhere;
# see https://github.com/sympy/sympy/issues/23061#issuecomment-1052424896
pretestopts = """sed -i "s@Decimal('0.6')@'0.6'@g" sympy/external/tests/test_pythonmpq.py && """

moduleclass = 'math'