AWS Debuts Palace – Finite Element Analysis Suite Fine-Tuned for the Cloud

By John Russell

February 21, 2023

In an interesting twist on quantum-inspired work making its way into traditional HPC – and in this case a step further into cloud-based HPC – AWS today introduced Palace, short for PArallel, Large-scale Computational Electromagnetics, a parallel finite element code for full-wave electromagnetics simulations. Palace was first developed at the AWS Center for Quantum Computing to perform large-scale 3D simulations of complex electromagnetics models in the design of quantum computing hardware. While Palace can be used in quantum hardware design, AWS expects it to be used in a wide range of simulations.

Announced in a blog today, AWS researchers[i] wrote, “We are making Palace[ii] freely available on GitHub as an open-source project for electromagnetic modeling workloads, not limited to those in quantum computing, which users can run on systems ranging from their own laptops to supercomputers in the cloud. It was developed with support for the scalability and elasticity of the cloud in mind and to leverage the suite of cloud-based high-performance computing (HPC) products and services available on AWS.”

“[We] built Palace because while there exist many highly performant, open-source tools for a wide range of applications in computational physics, there are few open-source solutions for massively parallel, finite element-based computational electromagnetics. Palace supports a wide range of simulation types: eigenmode analysis, driven simulations in the frequency and time domains, and electrostatic and magnetostatic simulations for lumped parameter extraction. As an open-source project, it is also fully extensible by developers looking to add new features for problems of industrial relevance. Much of Palace is made possible by the MFEM finite element discretization library, which enables high-performance, scalable finite element research and application development,” according to the blog.

AWS says that Palace adds to the ecosystem of open-source software supporting cloud-based numerical simulation and HPC. Palace, which is still an active project, took about two years to develop, according to Sebastian Grimberg, an AWS senior research scientist and one of the blog authors who briefed HPCwire. It’s not uncommon for classical and quantum computing to pass algorithm learnings back and forth for solving specific applications – think optimization, for example. This was not that. This was more a byproduct of quantum researchers thinking about the tools needed for their research.

Sebastian Grimberg, AWS

“We developed this because we saw a need for it that was specific to our work, where we want to design quantum hardware. But we realized there’s a lot of people doing simulation, who are considering very similar physics for different design applications that are outside of quantum computing. We recognized very early on that this (Palace) is very relevant to the community of people running large-scale simulations, large-scale physics-based simulations on HPC systems, whether they’re on premises or in the cloud,” Grimberg said.

Palace’s key features include[iii]:

  • Eigenmode calculations with optional material or radiative loss including lumped impedance boundaries. Automatic postprocessing of energy-participation ratios (EPRs) for circuit quantization and interface or bulk participation ratios for predicting dielectric loss.
  • Frequency domain driven simulations with surface current excitation and lumped or numeric wave port boundaries. Wideband frequency response calculation using uniform frequency space sampling or an adaptive fast frequency sweep algorithm.
  • Explicit or fully-implicit time domain solver for transient electromagnetic analysis.
  • Lumped capacitance and inductance matrix extraction via electrostatic and magnetostatic problem formulations.
  • Support for a wide range of mesh file formats for structured and unstructured meshes, with built-in uniform or region-based parallel mesh refinement.
  • Arbitrary high-order finite element spaces and curvilinear mesh support thanks to the MFEM library.
  • Scalable algorithms for the solution of linear systems of equations, including geometric multigrid (GMG), parallel sparse direct solvers, and algebraic multigrid (AMG) preconditioners, for fast performance on platforms ranging from laptops to HPC systems.

Palace can run on a wide range of devices and on other clouds, such as Google and Azure, confirmed Grimberg. “I do a lot of prototyping on my laptop. We actually have some internal customers who have never run it on the cloud; they run it on their laptops because it’s easier to install that way and they can do things fast when dealing with small models. But we also have people using it who like me also need the scale of 1000s of cores. In that case, they’re running on AWS’s various EC2 instance types,” he said.

The blog notes that computational modeling typically requires scientists and engineers to make compromises between model fidelity, wall-clock time, and computing resources. Lately, of course, advances in cloud-based HPC resources have become nearly ubiquitous in the cloud community, which offers a wide range of commercial and internally-developed accelerators, CPUs, and high-speed interconnect.

“Palace leverages scalable algorithms and implementations from the scientific computing community, and aims to utilize the most recent advancements in computational infrastructure to deliver state-of-the-art performance. On AWS, this includes the Elastic Fabric Adapter (EFA) for fast networking and HPC-optimized Amazon Elastic Compute Cloud (EC2) instances using customized Intel processors or AWS Graviton processors for superior price-performance. Open-source software like Palace also allows users to exploit elastic cloud-based HPC to perform arbitrary numbers of simulations in parallel when exploring large parametric design spaces, unconstrained by proprietary software licensing models,” wrote Grimberg and his colleagues in the blog.

The AWS blog cited two project examples from work at its quantum center.

  • The first example considers a common problem encountered in the design of superconducting quantum devices: the simulation of a single transmon qubit coupled to a readout resonator, with a terminated coplanar waveguide (CPW) transmission line for input/output. The superconducting metal layer is modeled as an infinitely thin, perfectly conducting surface on top of a c-plane sapphire substrate.
  • The second example second example to demonstrate the capabilities and performance of Palace involves the simulation of a superconducting metamaterial waveguide based on a chain of lumped-element microwave resonators. This model is constructed in order to predict the transmission properties of the device presented in Zhang, et al., Science 379 (2023) [published] [pre-print].
Figure 1: 3D simulation model for the transmon qubit and readout resonator geometry (left). On the right, a view of the surface mesh used for discretization. Source: AWS
Figure 2: Visualization, using ParaView, of the magnetic field energy density, scaled by the maximum over the entire computational domain, computed from the simulated linearized transmon eigenmode (left) and readout resonator eigenmode (right). Source: AWS

“For all of the presented applications, we configured our cloud-based HPC cluster to compile and run Palace using GCC v11.3.0, OpenMPI v4.1.4, and EFA v1.21.0 on Amazon Linux 2 OS. We used COMSOL Multiphysics for the geometry preparation and mesh generation preprocessing in each case, but Palace is equipped to support a wide range of mesh file formats in order to accommodate a range of workflows including those utilizing entirely open-source software,” according to the blog.

It’s best to dig into the blog directly for more detail. That said, AWS issued performance metrics for each example, showcasing solid and the ability to scale project size and to conserve web-costs by choosing the granularity of the simulation needed.

In the first example, an eigenmode analysis is used to compute the linearized transmon and readout resonator mode frequencies, decay rates, and corresponding electric and magnetic field modes. Two finite element models are considered: a fine model with 246.2 million degrees of freedom, and a coarse model with 15.5 million degrees of freedom that differs by 1% in the computed frequencies as compared to the fine model.

“For each of the two models, we scale the number of cores used for the simulation in order to investigate the scalability of Palace on AWS when using a variety of EC2 instance types. Figure 3 plots the simulation wall-clock times and computed speedup factors for the coarse model, while Figure 4 plots them for the higher-fidelity fine model. We observe simulation wall-clock times under 1.5 minutes for the coarse model and close to 12 minutes for the fine model achieved with the scalability of EC2, even when solving a large-scale eigenvalue problem which is often relatively challenging to scale. Also of note is the improved performance of c7g.16xlarge instance type, featuring the latest generation AWS Graviton3 processor, over the previous generation c6gn.16xlarge, often matching the performance of the latest Intel-based instance types,” reported AWS.

Figure 3: Simulation wall-clock times and speedup factors for the coarse transmon qubit example model with 15.5 million degrees of freedom. Source: AWS
Figure 4: Simulation wall-clock times and speedup factors for the fine transmon qubit example model with 246.2 million degrees of freedom. Source: AWS

Looking ahead, Grimberg – a numerical simulation specialist – thinks HPC-tools are likely to emerge from quantum researchers tinkering to tackle tough tasks. He recalled Palace’s modest beginning, “We needed to be faster and thought, hey, we’re at AWS, we have a huge amount of compute available to us. How can we leverage that to go faster? We didn’t have a lot of people at the time, but had lots of compute and thought how can we build workflows to accelerate all of the work we do in this early phase?”

Wonder what other tools might be taking shape back in the lab.

[i] Sebastian Grimberg, Senior Research Scientist, AWS Center for Quantum Computing, Hugh Carson, Applied Scientist, AWS Center for Quantum Computing, Andrew Keller, Research Science Manager, AWS Center for Quantum Computing

[ii] Palace is licensed under the Apache 2.0 license and is free to use by anyone from the broader numerical simulation and HPC community. Additional information can be found in the Palace GitHub repository, where you can file issues, learn about contributing to the project, or read the project documentation. The documentation includes a full suite of tutorial problems which guide you through the process of setting up and running simulations with Palace.

[iii] https://awslabs.github.io/palace/dev/

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industy updates delivered to you every week!

SCA23: Pawsey’s Mark Stickells on Sustainable Australian Supercomputing

March 17, 2023

“While the need for supercomputing is great, we have, in my view, reached a tipping point,” said Mark Stickells, executive director of Australia’s Pawsey Supercomputing Centre, as he opened his keynote (“Energy E Read more…

Optical I/O Technology Needed for Zettascale, Say Top Chipmakers

March 16, 2023

Optical I/O is being singled out by top companies to push computing beyond exascale and into zettascale. The technology was singled out in a recent speech by AMD CEO Lisa Su as a critical technology to reach zettascale c Read more…

Tasty CHIPS – New MEC Program to Expand US Prototyping Capabilities Gains Steam

March 16, 2023

Sometime later this year, perhaps around July, the Department of Defense is expected to announce the sites and focus of up to nine hubs associated with the Microelectronics Commons (MEC) program. Funded and broadly descr Read more…

2023 Winter Classic: Mentor Interview, HPE

March 14, 2023

In our most recent update, “Triumph and Tragedy with HPL/HPCG”, we detailed how our dozen 2023 Winter Classic Invitational cluster competition teams dealt with their Linpack/HPCG module, mentored by HPE. In this episode of our incredibly popular 2023 Winter Classic Studio Update Show, we... Read more…

Leibniz QIC’s Mission to Coax Qubits and Bits to Work Together

March 14, 2023

Four years after passing the U.S. National Quantum Initiative Act and decades after early quantum development and commercialization efforts started – think D-Wave Systems and IBM, for example – the U.S. quantum lands Read more…

AWS Solution Channel

Shutterstock 1679096101

Building a 4x faster and more scalable algorithm using AWS Batch for Amazon Logistics

Amazon Logistics’ science team created an algorithm to improve the efficiency of their supply-chain by improving planning decisions. Initially the algorithm was implemented in a sequential way using a monolithic architecture executed on a single high performance computational node on AWS Cloud. Read more…

 

Get the latest on AI innovation at NVIDIA GTC

Join Microsoft at NVIDIA GTC, a free online global technology conference, March 20 – 23 to learn how organizations of any size can power AI innovation with purpose-built cloud infrastructure from Microsoft. Read more…

Pawsey Supercomputing Targets Detailed Regional Climate Projections

March 13, 2023

The Pawsey Supercomputing Centre in Australia is putting its shiny new Setonix supercomputer (ranked fourth on the most recent Top500 list) to work on an important climate change research project. The project, led by Jat Read more…

SCA23: Pawsey’s Mark Stickells on Sustainable Australian Supercomputing

March 17, 2023

“While the need for supercomputing is great, we have, in my view, reached a tipping point,” said Mark Stickells, executive director of Australia’s Pawsey Read more…

Optical I/O Technology Needed for Zettascale, Say Top Chipmakers

March 16, 2023

Optical I/O is being singled out by top companies to push computing beyond exascale and into zettascale. The technology was singled out in a recent speech by AM Read more…

Tasty CHIPS – New MEC Program to Expand US Prototyping Capabilities Gains Steam

March 16, 2023

Sometime later this year, perhaps around July, the Department of Defense is expected to announce the sites and focus of up to nine hubs associated with the Micr Read more…

Leibniz QIC’s Mission to Coax Qubits and Bits to Work Together

March 14, 2023

Four years after passing the U.S. National Quantum Initiative Act and decades after early quantum development and commercialization efforts started – think D- Read more…

Intel Hopes to Stop Server Beating from AMD Next Year

March 13, 2023

After getting bruised in servers by AMD, Intel hopes to stop the bleeding in the server market with next year's chip offerings. The difference-making products will be Sierra Forest and Granite Rapids, which are due out in 2024, said Dave Zinsner, chief financial officer at Intel, last week at the Morgan Stanley Technology, Media and Telecom conference. Read more…

White House Budget Request Includes Funding for Leadership-Class Computing Facility

March 10, 2023

The U.S. government is dedicating a record amount of $25 billion as part of the 2024 budget to emerging technologies as the country looks to counter the technology threat from China. The budget includes billions of dollars earmarked to boost the supercomputing infrastructure, semiconductors, and cutting-edge technologies such as artificial intelligence and quantum computing. The technology... Read more…

Inside NCSA’s Nightingale Cluster, Designed for Sensitive Data

March 10, 2023

The emergence of Covid in 2020 saw an explosion in HPC-powered health research. As the pandemic raged on, though, one limiting factor became increasingly clear: Read more…

Top HPC Players: It’s Time to Get Serious About Security

March 9, 2023

Time’s up: nearly everyone agrees it’s about time to become serious about bringing security safeguards to high-performance computing systems, which has been Read more…

CORNELL I-WAY DEMONSTRATION PITS PARASITE AGAINST VICTIM

October 6, 1995

Ithaca, NY --Visitors to this year's Supercomputing '95 (SC'95) conference will witness a life-and-death struggle between parasite and victim, using virtual Read more…

SGI POWERS VIRTUAL OPERATING ROOM USED IN SURGEON TRAINING

October 6, 1995

Surgery simulations to date have largely been created through the development of dedicated applications requiring considerable programming and computer graphi Read more…

U.S. Will Relax Export Restrictions on Supercomputers

October 6, 1995

New York, NY -- U.S. President Bill Clinton has announced that he will definitely relax restrictions on exports of high-performance computers, giving a boost Read more…

Dutch HPC Center Will Have 20 GFlop, 76-Node SP2 Online by 1996

October 6, 1995

Amsterdam, the Netherlands -- SARA, (Stichting Academisch Rekencentrum Amsterdam), Academic Computing Services of Amsterdam recently announced that it has pur Read more…

Cray Delivers J916 Compact Supercomputer to Solvay Chemical

October 6, 1995

Eagan, Minn. -- Cray Research Inc. has delivered a Cray J916 low-cost compact supercomputer and Cray's UniChem client/server computational chemistry software Read more…

NEC Laboratory Reviews First Year of Cooperative Projects

October 6, 1995

Sankt Augustin, Germany -- NEC C&C (Computers and Communication) Research Laboratory at the GMD Technopark has wrapped up its first year of operation. Read more…

Sun and Sybase Say SQL Server 11 Benchmarks at 4544.60 tpmC

October 6, 1995

Mountain View, Calif. -- Sun Microsystems, Inc. and Sybase, Inc. recently announced the first benchmark results for SQL Server 11. The result represents a n Read more…

New Study Says Parallel Processing Market Will Reach $14B in 1999

October 6, 1995

Mountain View, Calif. -- A study by the Palo Alto Management Group (PAMG) indicates the market for parallel processing systems will increase at more than 4 Read more…

Leading Solution Providers

Contributors

CORNELL I-WAY DEMONSTRATION PITS PARASITE AGAINST VICTIM

October 6, 1995

Ithaca, NY --Visitors to this year's Supercomputing '95 (SC'95) conference will witness a life-and-death struggle between parasite and victim, using virtual Read more…

SGI POWERS VIRTUAL OPERATING ROOM USED IN SURGEON TRAINING

October 6, 1995

Surgery simulations to date have largely been created through the development of dedicated applications requiring considerable programming and computer graphi Read more…

U.S. Will Relax Export Restrictions on Supercomputers

October 6, 1995

New York, NY -- U.S. President Bill Clinton has announced that he will definitely relax restrictions on exports of high-performance computers, giving a boost Read more…

Dutch HPC Center Will Have 20 GFlop, 76-Node SP2 Online by 1996

October 6, 1995

Amsterdam, the Netherlands -- SARA, (Stichting Academisch Rekencentrum Amsterdam), Academic Computing Services of Amsterdam recently announced that it has pur Read more…

Cray Delivers J916 Compact Supercomputer to Solvay Chemical

October 6, 1995

Eagan, Minn. -- Cray Research Inc. has delivered a Cray J916 low-cost compact supercomputer and Cray's UniChem client/server computational chemistry software Read more…

NEC Laboratory Reviews First Year of Cooperative Projects

October 6, 1995

Sankt Augustin, Germany -- NEC C&C (Computers and Communication) Research Laboratory at the GMD Technopark has wrapped up its first year of operation. Read more…

Sun and Sybase Say SQL Server 11 Benchmarks at 4544.60 tpmC

October 6, 1995

Mountain View, Calif. -- Sun Microsystems, Inc. and Sybase, Inc. recently announced the first benchmark results for SQL Server 11. The result represents a n Read more…

New Study Says Parallel Processing Market Will Reach $14B in 1999

October 6, 1995

Mountain View, Calif. -- A study by the Palo Alto Management Group (PAMG) indicates the market for parallel processing systems will increase at more than 4 Read more…

SC22 Booth Videos

AMD @ SC22
Altair @ SC22
AWS @ SC22
Ayar Labs @ SC22
CoolIT @ SC22
Cornelis Networks @ SC22
DDN @ SC22
Dell Technologies @ SC22
HPE @ SC22
Intel @ SC22
Intelligent Light @ SC22
Lancium @ SC22
Lenovo @ SC22
Microsoft and NVIDIA @ SC22
One Stop Systems @ SC22
Penguin Solutions @ SC22
QCT @ SC22
Supermicro @ SC22
Tuxera @ SC22
Tyan Computer @ SC22
  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire