Hi,
I'm trying to compile rosetta 2021.16.61629 at cineca but it seems that ppc64le is unsupported. Any help on what to do to fix this would be much appreciated. Please see below:
scons bin mode=release extras=mpi extras=hdf5
Traceback (most recent call last):
File "/m100_work/icei_Marfor2_0/UBQ/rosetta_bin_linux_2021.16.61629_bundle/main/source/SConstruct", line 183, in main
build = SConscript("tools/build/setup.py")
File "/m100_work/icei_Marfor2_0/UBQ/rosetta_bin_linux_2021.16.61629_bundle/main/source/scons/lib/python3.8/site-packages/SCons/Script/SConscript.py", line 660, in __call__
return method(*args, **kw)
File "/m100_work/icei_Marfor2_0/UBQ/rosetta_bin_linux_2021.16.61629_bundle/main/source/scons/lib/python3.8/site-packages/SCons/Script/SConscript.py", line 597, in SConscript
return _SConscript(self.fs, *files, **subst_kw)
File "/m100_work/icei_Marfor2_0/UBQ/rosetta_bin_linux_2021.16.61629_bundle/main/source/scons/lib/python3.8/site-packages/SCons/Script/SConscript.py", line 285, in _SConscript
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/m100_work/icei_Marfor2_0/UBQ/rosetta_bin_linux_2021.16.61629_bundle/main/source/tools/build/setup.py", line 451, in <module>
build = setup()
File "/m100_work/icei_Marfor2_0/UBQ/rosetta_bin_linux_2021.16.61629_bundle/main/source/tools/build/setup.py", line 441, in setup
build.options_requested, build.options = setup_build_options()
File "/m100_work/icei_Marfor2_0/UBQ/rosetta_bin_linux_2021.16.61629_bundle/main/source/tools/build/setup.py", line 139, in setup_build_options
actual.arch = setup_platforms.select_arch(
File "/m100_work/icei_Marfor2_0/UBQ/rosetta_bin_linux_2021.16.61629_bundle/main/source/tools/build/setup_platforms.py", line 189, in select_arch
raise KeyError("Processor '%s' with machine designation '%s' is unsupported." % (actual, machine))
KeyError: "Processor 'ppc64le' with machine designation 'ppc64le' is unsupported."
What is the computer processor architecture you're using? (What sort of computer?)
Most of the recent work with Rosetta has been done with "standard" Intel processors (the sort you typically find in laptops and desktops). There's been some work with the M1 processors now being used in Macs. There was some support previously for PowerPC archetectures, but not much has been done with that since Macs & BlueGene switched to Intel chips.
Under the assumption that the 'ppc64le' designation is some variant of PowerPC 64 bit, there are several things to try.
The first and easiest would be to see if adding arch=ppc64 on the scons command line helps. (There's a supported ppc64 option, but not a ppc64le one.
If that doesn't work, try editing the main/source/tools/build/setup_platforms.py file at around line 155 to add a "ppc64le" : "ppc64" line to the other lines listed there.
If neither of those work, we may have to try other things, but those would likely depend on what platform/architecture you're actually working with.