Dear Björn,
On 07/12/2020 14:20, Björn Claremar wrote:
Hello!
I’m an application expert (to the role least) and I want to build
Tkinter-3.6.6-intel-2018b-Python-3.6.6.eb on a cluster (not locally) to
be used within another EB (wrf-python). I’ve tried both with the
wrf-python installation and Tkinter alone.
However, it stalls with hundreds of *.dyn files in the build directory
and does not continue, but the installation does not stop with any error
messages. I think it is related to this old discussion:
https://github.com/easybuilders/easybuild-easyconfigs/issues/6113
<https://github.com/easybuilders/easybuild-easyconfigs/issues/6113> ,
but I cannot follow their very long reasoning completely. I think it is
related to a clash with another Python version active, but even with ml
purge or also manually loading Python/3.6.6-intel-2018b and adding
“--allow-loaded-modules” the problem remains.
The problem you're describing matches what others have reported too,
although often for Python itself (not Tkinter which is built on top, but
using the same installation procedure as for Python).
It's likely caused by configuring the build with --enable-optimizations
(which effectively enables so-called profile-guided optimization, PGO).
It turns out this can be problematic for older Python versions, or when
building with Intel compilers, resulting in a hanging build...
In the upcoming EasyBuild version (v4.3.2, which will be released soon,
hopefully this week), we therefore only use --enable-optimizations when
building Python (or Tkinter) with a recent version GCC.
The corresponding change was made in
https://github.com/easybuilders/easybuild-easyblocks/pull/2228.
If you want to try this with your current EasyBuild installation, please
try using this:
eb --include-easyblocks-from-pr 2228
Tkinter-3.6.6-intel-2018b-Python-3.6.6.eb --robot
and let us know if this resolves the issue for you.
regards,
Kenneth
Thanks in advance!
Björn Claremar, PhD
Application expert
SNIC-UPPMAX, Uppsala University
Email: [email protected] <mailto:[email protected]>
Page Title
När du har kontakt med oss på Uppsala universitet med e-post så innebär
det att vi behandlar dina personuppgifter. För att läsa mer om hur vi
gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/
E-mailing Uppsala University means that we will process your personal
data. For more information on how this is performed, please read here:
http://www.uu.se/en/about-uu/data-protection-policy