Closed skylord-a52 closed 4 months ago
Are you sure you have all the EasyBuild requirements installed on the platform? See https://docs.easybuild.io/installation/#requirements (in particular you need to have g++
available to build GCC).
If so, then the likely issue is that you are trying to build an old compiler on a newer system and the binutils
required by the toolchain is too old. Your system compiler is GCC 11, which may indeed have issues trying to build GCC 9. One thing you can try is to filter out binutils
as a dependency: Add the build option --filter-deps=binutils
to your command.
EasyBuild controls the entire stack to (try to) ensure reproducible builds. In this case that means going back and building the compiler needed for the version of Gkeyll that EasyBuild knows about (https://github.com/easybuilders/easybuild-easyconfigs/blob/develop/easybuild/easyconfigs/g/GKeyll/GKeyll-20220803-foss-2020a-Python-3.8.2.eb)
It looks like my install of GCC was corrupted/incomplete in some way, as reinstalling it fixed my original issue with the manual installation of GKeyll.
Although this means that I no longer need EasyBuild, I checked if it works now for the sake of anyone having this issue in the future. ...It didn't. So if you need this, you're out of luck! Sorry.
Hi,
I'm attempting to use EasyBuild to install Gkeyll, as compilation always fails for some reason when I try to install it myself.
I'm running the following command:
eb --software-name=GKeyll --toolchain-name=foss --robot
However, while attempting to install GCCcore, the build fails. Here are the last few lines of the log:
System information:
OS: Windows 11 running Ubuntu 22.04.4 LTS via WSL 2 gcc: 11.4.0 lmod: 6.6 eb: 4.9.0
I'm not sure why it's installing gcc in the first place anyway -- I've already got that installed globally. Unless it needs a specific version, or GCCcore is different?