On 07/12/2020 15:30, Björn Claremar wrote:
Fantastic!
Thank you for that quick answer!
It seems to work fine!
Excellent!
Can "--include-easyblocks-from-pr 2228 " also help if other dependencies -
those depending on Python3.6.6 - get stuck?
The fixed Python easyblock from that PR is only relevant for installing
Python itself, and for Tkinter because that also leverages that same
easyblock underneath the covers (the custom easyblock for Tkinter, which
is a part of a normal Python installation, derives from the Python
easyblock).
You won't see hanging installations of other stuff that depends on
Python, it's very specific to Python itself and Tkinter.
Keep in mind that this fix will be included in (the upcoming) EasyBuild
v4.3.2, so when you start using that you shouldn't use the
--include-easyblocks-from-pr option anymore...
regards,
Kenneth
Best regards
Björn
-----Ursprungligt meddelande-----
Från: Kenneth Hoste <[email protected]>
Skickat: den 7 december 2020 15:07
Till: Björn Claremar <[email protected]>
Kopia: [email protected]
Ämne: Re: [easybuild] Building of Tkinter stalls
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
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