On 14/03/2023 11:04, Ole Holm Nielsen wrote:
On 2/15/23 15:30, Jure Pečar wrote:
On Wed, 15 Feb 2023 15:26:26 +0100
Ole Holm Nielsen <[email protected]> wrote:
Is "foss" also the preferred toolchain on AMD Rome and Genoa?
For now, yes.
There's some work going on to create a toolchain around amd compilers but
it's questionable how much you gain as all features these compilers and
libs bring eventually end up in upstream llvm and gcc.
So for Genoa look for upcoming foss toolchain built around gcc 13. For
Rome and Milan existing ones with gcc 11 and 12 are already working fine.
Sorry for my late reply. The latest GCC in EasyBuild is 12.2.0. Is
there any way to build GCC 13 with EasyBuild so that we can test AMD Genoa?
There is no official release yet of GCC 13.x, but you could take the
easyconfig file for the latest GCC(core), and use a release candidate
for GCC 13.x if you want to start experimenting with it.
Usually when there's a new GCC release, we have an easyconfig PR for
that version available soon after.
Obviously, a lot of other modules are needed as well, so when can a foss
toolchain with GCC 13 be hoped for?
We're always a bit reluctant to pick up the first dot release of a new
major compiler version (like 13.1) since we've learned the hard way that
quite a bit get fixed in the first bugfix release (13.2 for example).
So for foss/2023a, we'll likely go with GCC 12.3 rather than 13.1,
unless there are good (technical) reasons not to.
CUDA compatibility is a minor factor as well: initially foss/2023a could
be CPU-only, until a CUDA release that is compatible with whatever GCC
version is used in that foss version is available.
This is part of the reason for moving away from fosscuda towards
foss+CUDA in recent foss versions.
regards,
Kenneth
Thanks,
Ole