def find_all_supported_platforms(): ############################################################################### """ Returns a set of all ACME supported platforms as defined in the XML configuration file config_machines.xml in the ACME source tree. A platform is defined by a triple (machine name, compiler, mpi library). """ machines = CIME.utils.get_machines() machobj = Machines(machine=machine) platform_set = set() for machine in machines: machobj.set_machine(machine) compilers, mpilibs = machobj.get_value("COMPILERS"), machobj.get_value("MPILIBS") for compiler in compilers: for mpilib in mpilibs: platform_set.add((machine, compiler, mpilib)) return list(platform_set)