-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add WIP eaysconfig for sympy with intel/2021b + intel/2022a (#79), te…
…sts fail with weird MKL error
- Loading branch information
Showing
4 changed files
with
130 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,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' |
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,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': '2022.1.0'} | ||
|
||
sources = [SOURCE_TAR_GZ] | ||
checksums = ['da75140bca128ece795895477e53b43773e3748aa90ba6170eae7ca2c74b82d1'] | ||
|
||
dependencies = [ | ||
('Python', '3.10.4'), | ||
('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' |
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,37 @@ | ||
easyblock = 'PythonPackage' | ||
|
||
name = 'sympy' | ||
version = '1.11.1' | ||
|
||
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': '2022a'} | ||
|
||
sources = [SOURCE_TAR_GZ] | ||
checksums = ['e32380dce63cb7c0108ed525570092fd45168bdae2faa17e528221ef72e88658'] | ||
|
||
dependencies = [ | ||
('Python', '3.10.4'), | ||
('SciPy-bundle', '2022.05'), | ||
('gmpy2', '2.1.2'), | ||
] | ||
|
||
download_dep_fail = True | ||
use_pip = True | ||
|
||
runtest = 'python setup.py test' | ||
|
||
sanity_pip_check = True | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/isympy'], | ||
'dirs': ['lib/python%(pyshortver)s/site-packages/sympy'], | ||
} | ||
|
||
sanity_check_commands = ["isympy --help"] | ||
|
||
moduleclass = 'math' |
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,43 @@ | ||
easyblock = 'PythonPackage' | ||
|
||
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'), | ||
] | ||
|
||
download_dep_fail = True | ||
use_pip = True | ||
|
||
# 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 && """ | ||
#runtest = 'python setup.py test' | ||
|
||
sanity_pip_check = True | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/isympy'], | ||
'dirs': ['lib/python%(pyshortver)s/site-packages/sympy'], | ||
} | ||
|
||
sanity_check_commands = [ | ||
"isympy --help", | ||
"python -c 'import sympy; sympy.test()'", | ||
] | ||
|
||
moduleclass = 'math' |