diff --git a/easybuild/easyconfigs/g/gmpy2/gmpy2-2.1.2-intel-compilers-2021.4.0.eb b/easybuild/easyconfigs/g/gmpy2/gmpy2-2.1.2-intel-compilers-2021.4.0.eb new file mode 100644 index 00000000000..f194fb5a771 --- /dev/null +++ b/easybuild/easyconfigs/g/gmpy2/gmpy2-2.1.2-intel-compilers-2021.4.0.eb @@ -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' diff --git a/easybuild/easyconfigs/s/sympy/sympy-1.9-intel-2021b.eb b/easybuild/easyconfigs/s/sympy/sympy-1.9-intel-2021b.eb new file mode 100644 index 00000000000..de484f459e8 --- /dev/null +++ b/easybuild/easyconfigs/s/sympy/sympy-1.9-intel-2021b.eb @@ -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'