Hello, I am trying to build a the software stack for our new cluster using easybuild. The cluster has older AMD Opterons and new Intel Broadwell based machines. We have been building applications on the AMD machines and recently realized that they would not run on Intel machines.
I read the easybuild docs and tried to use the --optarch=GENERIC option to build the entire application stack including the toolchains. I am having issues with getting GCCcore to work on both platforms. If we build GCCcore on AMD it does not work on Intel platforms and vice versa. It seems that the problem lies in the stage2 part of the build. In stage1, the build system type is identified as x86_64-unknown-linux-gnu and for stage2 it is identified as broadwell-pc-linux-gnu. Am I missing some configuration options or is there a trick to building GCC for multiple platforms? Thanks, Raj

