ALCF Workshop Helps Researchers Prepare Codes for Polaris Supercomputer

August 31, 2023

Aug. 31, 2023 — Each new generation of supercomputer at the U.S. Department of Energy’s (DOE) Argonne National Laboratory brings new technologies and capabilities designed to advance science. Taking advantage of these new architectures and features also comes with a learning curve.

ALCF’s Christine Simpson (right) works with Temidayo Adeluwa (left) of the University of Chicago at the 2023 ALCF GPU Hackathon.

Launched in August 2022, Polaris is the Argonne Leadership Computing Facility’s (ALCF) most powerful supercomputer to date. The machine, developed in collaboration with Hewlett Packard Enterprise, is a hybrid system equipped with NVIDIA GPUs (graphics processing units) and AMD CPUs (central processing units). The ALCF is a DOE Office of Science user facility at Argonne.

To help researchers jumpstart their science projects on Polaris, the ALCF recently hosted its third annual GPU Hackathon in partnership with NVIDIA and OpenACC. This year, the hackathon was focused on helping teams elevate their code performance to prepare for the 2024 call for proposals for DOE’s Innovative and Novel Computational Impact on Theory and Experiment (INCITE) program.

“Our goal is to help teams port their codes to GPU-accelerated architectures and help teams to scale up to using large numbers of GPUs in their work,” says ALCF computational scientist Chris Knight, who served as a mentor at the hackathon. “ALCF training events like this become the start of a long relationship between ALCF staff and teams working together to enable new impactful science on large-scale supercomputers.”

Argonne’s Patrick Fasano (left) attended the hackathon to optimize his team’s physics code on the ALCF’s Polaris supercomputer.

One of the hackathon teams with members from Argonne and Washington University in St. Louis signed up for the hackathon to transition their computationally intensive physics problem to Polaris. They plan to use the system to gain a better understanding of how the interactions of protons and neutrons affect the properties of nuclei. Thanks to the event, the team was able to double the speed of their code.

“We took this sort of ‘lawn mower approach’ to improving our code, if you will,” says Patrick Fasano, a postdoctoral appointee in Argonne’s Physics division, “which is where you go and find the tallest thing, the thing that takes the most time and try to port it to the GPU. Then you whack it and whack it down again. You then find the next most time-consuming part and repeat again, and I think this is how we got a surprisingly large speedup.”

“The hackathon was really valuable to us,” adds Fasano, “You can’t discount the importance of having a structure and an impetus for your work, and the value of getting your research running on GPUs. In the hackathon setting, our team worked hard to have something valuable to report to our mentors and peers.”

The 12 participating teams were paired with experts to port, accelerate and optimize HPC and artificial intelligence (AI) applications on Polaris using diverse programming models, libraries and tools. The teams’ applications spanned a wide range of research areas including weather research and forecasting models, colon cancer research and methods to reconstruct large biomolecular structures.

“Rather than developers searching around the internet for code examples and studies that might be related to their project, these hackathons create an opportunity for teams to discuss their specific code questions and issues with HPC experts,” Knight says. “An important aspect of this event is prioritizing one-on-one interactions with teams to understand their science application, the challenges they’re facing, what they would like to achieve, and collaborating on a strategy to use the large-scale resources at ALCF.”

ALCF’s Sam Foreman (center) works with researchers from the University of Chicago at the hackathon.

During the course of the hackathon, Fasano and his collaborators spent most of their time using profiling tools to assess and improve their code’s performance.

“We were really trying to determine where the performance bottlenecks were in the code, which ended up being very interesting,” says Fasano, “We decided to do a little bit of profiling, just to make sure that we truly understood what we have, and after we did an initial profile, it was not at all what we expected.”

Using profiling tools, the team found that the issue was a single OpenMP loop that was about 10 lines of code. Working closely with mentors from the ALCF and NVIDIA, the team was able to achieve a 20x speedup in one kernel, which led to the 2x speedup overall.

“This experience was super helpful,” says Fasano, “it was vital having someone who knew all weird edge cases related to the codes you are working on.”

The Argonne-Washington University team wasn’t the only team that had success in improving code performance. All 12 teams were able to make strides toward demonstrating computational readiness on Polaris – a requirement for INCITE proposals.

A team of researchers from the University of Illinois Chicago, for example, was able to achieve a 10x speedup of their code used to study 3D-chromatin structures. Mentored by Argonne computational scientist Wei Jiang, the team’s goal was to convert their entire source code from CPU to GPU. Through collaborative efforts with ALCF staff and by changing an important loop in their code, they were able to achieve significant performance improvements when they shifted to GPU.

“This hackathon was the one of the most productive events I’ve participated in,” says Jiang. “All the mentors involved in the event were very knowledgeable, yet able to provide low-level and detailed technical assistance, which was valuable to everyone.”

The facility’s next hands-on training event, the ALCF Hands-on HPC Workshop, will be held October 10-12, 2023. To register, visit this website.

About Argonne Lab

The Argonne Leadership Computing Facility provides supercomputing capabilities to the scientific and engineering community to advance fundamental discovery and understanding in a broad range of disciplines. Supported by the U.S. Department of Energy’s (DOE’s) Office of Science, Advanced Scientific Computing Research (ASCR) program, the ALCF is one of two DOE Leadership Computing Facilities in the nation dedicated to open science.

Argonne National Laboratory seeks solutions to pressing national problems in science and technology. The nation’s first national laboratory, Argonne conducts leading-edge basic and applied scientific research in virtually every scientific discipline. Argonne researchers work closely with researchers from hundreds of companies, universities, and federal, state and municipal agencies to help them solve their specific problems, advance America’s scientific leadership and prepare the nation for a better future. With employees from more than 60 nations, Argonne is managed by UChicago Argonne, LLC for the U.S. Department of Energy’s Office of Science.

The U.S. Department of Energy’s Office of Science is the single largest supporter of basic research in the physical sciences in the United States and is working to address some of the most pressing challenges of our time.


Source: Logan Ludwig, Argonne

Subscribe to HPCwire's Weekly Update!

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

HPC User Forum: Sustainability at TACC Points to Software

October 3, 2023

Recently, Dan Stanzione, Executive Director, TACC and Associate Vice President for Research, UT-Austin, gave a presentation on HPC sustainability at the Fall 2023 HPC Users Forum. The complete set of slides is available Read more…

Google’s Controversial AI Chip Paper Under Scrutiny Again 

October 3, 2023

A controversial research paper by Google that claimed the superiority of AI techniques in creating chips is under the microscope for the authenticity of its claims. Science publication Nature is investigating Google's c Read more…

Rust Busting: IBM and Boeing Battle Corrosion with Simulations on Quantum Computer

October 3, 2023

The steady research into developing real-world applications for quantum computing is piling up interesting use cases. Today, IBM reported on work with Boeing to simulate corrosion processes to improve composites used in Read more…

Nvidia Delivering New Options for MLPerf and HPC Performance

September 28, 2023

As HPCwire reported recently, the latest MLperf benchmarks are out. Not unsurprisingly, Nvidia was the leader across many categories. The HGX H100 GPU systems, which contain eight H100 GPUs, delivered the highest throughput on every MLPerf inference test in this round. Read more…

Hakeem Oluseyi Explores His Unlikely Journey from the Street to the Stars in SC23 Keynote

September 28, 2023

Defying the odds In the heart of one of the toughest neighborhoods in the country, young Hakeem Oluseyi’s world was a confined space, but his imagination soared to the stars. While other kids roamed the streets, he Read more…

AWS Solution Channel

Shutterstock 2338659951

VorTech Derisks Innovative Technology to Aid Global Water Sustainability Challenges Using Cloud-Native Simulations on AWS

Overview

No more than 1 percent of the world’s water is readily available fresh water, according to the US Geological Survey. Read more…

QCT Solution Channel

QCT and Intel Codeveloped QCT DevCloud Program to Jumpstart HPC and AI Development

Organizations and developers face a variety of issues in developing and testing HPC and AI applications. Challenges they face can range from simply having access to a wide variety of hardware, frameworks, and toolkits to time spent on installation, development, testing, and troubleshooting which can lead to increases in cost. Read more…

Nvidia Takes Another Shot at Trying to Get AI to Mobile Devices

September 28, 2023

Nvidia takes another shot at trying to get to mobile devices Long before the current situation of Nvidia's GPUs holding AI hostage, the company tried to put its chips in mobile devices but failed. The Tegra mobile chi Read more…

Shutterstock 1927423355

Google’s Controversial AI Chip Paper Under Scrutiny Again 

October 3, 2023

A controversial research paper by Google that claimed the superiority of AI techniques in creating chips is under the microscope for the authenticity of its cla Read more…

Rust Busting: IBM and Boeing Battle Corrosion with Simulations on Quantum Computer

October 3, 2023

The steady research into developing real-world applications for quantum computing is piling up interesting use cases. Today, IBM reported on work with Boeing to Read more…

Nvidia Delivering New Options for MLPerf and HPC Performance

September 28, 2023

As HPCwire reported recently, the latest MLperf benchmarks are out. Not unsurprisingly, Nvidia was the leader across many categories. The HGX H100 GPU systems, which contain eight H100 GPUs, delivered the highest throughput on every MLPerf inference test in this round. Read more…

IonQ Announces 2 New Quantum Systems; Suggests Quantum Advantage is Nearing

September 27, 2023

It’s been a busy week for IonQ, the quantum computing start-up focused on developing trapped-ion-based systems. At the Quantum World Congress today, the compa Read more…

Rethinking ‘Open’ for AI

September 27, 2023

What does “open” mean in the context of AI? Must we accept hidden layers? Do copyrights and patents still hold sway? And do consumers have the right to opt Read more…

Aurora Image

Leveraging Machine Learning in Dark Matter Research for the Aurora Exascale System 

September 25, 2023

Scientists have unlocked many secrets about particle interactions at atomic and subatomic levels. However, one mystery that has eluded researchers is dark matte Read more…

Watsonx Brings AI Visibility to Banking Systems

September 21, 2023

A new set of AI-based code conversion tools is available with IBM watsonx. Before introducing the new "watsonx," let's talk about the previous generation Watson Read more…

Intel’s Gelsinger Lays Out Vision and Map at Innovation 2023 Conference

September 20, 2023

Intel’s sprawling, optimistic vision for the future was on full display yesterday in CEO Pat Gelsinger’s opening keynote at the Intel Innovation 2023 confer 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…

ISC 2023 Booth Videos

Cornelis Networks @ ISC23
Dell Technologies @ ISC23
Intel @ ISC23
Lenovo @ ISC23
Microsoft @ ISC23
ISC23 Playlist
  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire