OpenACC Broadens Appeal with GCC Compiler Support

By Nicole Hemsoth

November 14, 2013

As the non-profit standards group behind the push for wider adoption via easier use of accelerators, OpenACC has quite a big job ahead. Although analysts agree that accelerators sit along a comfortable adoption curve, usability, programmability and portability are key concerns, among others.

Over the last couple of years, OpenACC has worked with user groups across academia and industry to understand what is still needed for healthier adoption of accelerators via workshops and meetings, which has produced a number of the core improvements that are available within the 2.0 spec (procedure calls, nested parallelism, more dynamic data management support and more). On top of that, the ecosystem is also rounded out by CAPS, PGI and Cray, in particular, as well as being supported by x86 and ARM vendors (and of course the accelerators from all the major players).

Of course, one of the main questions was whether the OpenACC group would be able to offer a free implementation and whether they would open source OpenACC (not the same thing, as we know). Today the group spoke to those requests by announcing that one of its new members (in addition to Louisiana State University and NOAA as of this week), Mentor Graphics, has developed OpenACC extensions that will be supported in mainstream GCC compilers.

Mentor Graphics’ Nathan Sidwell told us that this came about following their acquisition of Code Sourcery, which has a long history of producing GCC-based toolchains for Linux and embedded systems. Mentor is working on implementing OpenACC 2.0 in the GCC toolchain, which will be rolled out over the next year, making an open source implementation of OpenACC available to all users who have Linux systems. Sidwell said that they are leveraging some of the existing infrastructure in GCC for accelerated computing, but how different implementations will converge is undecided at this point as it will be up to distributors of Linux systems how they configure GCC for their offerings.

As OpenACC President, Duncan Poole, said of this development, it breaks OpenACC out of a niche where users had to make a distinct decision to go their route.  “The addition of an open source platform is critical for the broader range of heterogeneous programming that will be necessary for the next stage of growth and innovation in HPC and as a foundation to drive software development for exascale systems.”

The non-profit wants to move accelerator use for clusters beyond computer science realms and open it to a wider set of users whose background might have little to do with programming for GPUs or other accelerators. To address those users, Poole says there needs to be support for legacy applications (those that are written in Fortran, for example, or by someone who is no longer with an organization or even those that were collaboratively developed). Users with these applications usually need a way of supporting new features but don’t require custom code paths for special features, says Poole, and this is where the benefit of OpenACC can be keenly felt.

OpenACC has been in 1.0 for a couple of years with the 2.0 spec released over the summer. Since then, as mentioned, there are three commercial implementations, all of which are starting to roll out their own 2.0 implementations (Cray with their 8.2 release recently, CAPS with their announcement of full OpenACC in December and PGI in the near term with their 2014 release in January). In addition to offering key features, the most important of which are procedure calls, Michael Wolfe of PGI (recently acquired by NVIDIA) and secretary of OpenACC says they’re using feedback to address a few other issues.

Screen shot 2013-11-14 at 9.48.51 AM

The main goal is to preserve the readability of these programs and ensure cross-platform compatibility. For OpenACC to provide this, the focus is on directives—a familiar programming model that can handle a number of elements that don’t require the end user to have a deep understanding of CUDA or OpenCL. They can then do things like allocate data on the accelerator, transfer data that’s been on the host to the booster, perform a series of operations on the accelerator and then return results back to program with far more transparency than was possible before.

“All the OpenACC vendors have experienced increasing experimentation and adoption of OpenACC on a variety of applications, including weather, computational chemistry, fluid flow simulation, combustion, and many more,” said Wolfe.  “We have been getting very useful feedback from the users to drive improvements to the specification and implementations that will deliver better performance as well as overall enhanced user experience.”

As Wolfe told us, “One of the most important features for C and C++ code would be arrays in C++ classes or C structs or Fortran derived types—these are structured data types that have array members, but right now the spec has no standard way to support that and the implementations are weak in that area—so we’re working hard to make that work, in particular for C++. We undertand that C++ is a large language and has some unique features so we’re working hard with feedback to make sure we support that in a natural and satisfying manner for those many users.”

Wolfe said that without a doubt, the top feedback from their workshops and analysis is not really a surprise—“for C++ you really have to support classes and templated classes and class members that are arrays because that’s how those programs are written. That also appears in Fortran, but not as pervasive as in C++.”

In agreement with these workshops findings is one of the core contributors to OpenACC efforts, Oak Ridge National Lab. With Titan in full production and a whole new set of users porting their codes, the lab has been keen to ensure that OpenACC is stable enough to support the next class of applications being onboarded—not to mention serving as a testbed for what might be viable for exascale-class systems.

As Dr. Oscar Hernandez, Research Staff Scientist at ORNL (and OpenACC Director of Developer Adoption) told us, OpenACC is very important because it allows ORNL to program heterogeneous systems with a single programming model that lets his teams address multiple architectures with different types of memory. “It’s important for us also because it’s a way to maintain portability in our codes and at the same time take advantage of leadership-class systems at ORNL that rely on accelerators. OpenACC offers a solution that works today and is friendly to the programmer–Open source efforts also help us drive and understand more the application needs and to do research and improve and understand what we need to do to build an ecosystem aroud OpenACC in addition we like the fact that it works now and can move fast and meet more app needs as of today.”

The group will have its first booth ever at SC13, which will be manned by various members of the organization. Some schedule highlights below for those interested in this track. We shall see you there…

OpenACCatSC

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!

Nvidia’s New Blackwell GPU Can Train AI Models with Trillions of Parameters

March 18, 2024

Nvidia's latest and fastest GPU, code-named Blackwell, is here and will underpin the company's AI plans this year. The chip offers performance improvements from its predecessors, including the red-hot H100 and A100 GPUs. Read more…

Nvidia Showcases Quantum Cloud, Expanding Quantum Portfolio at GTC24

March 18, 2024

Nvidia’s barrage of quantum news at GTC24 this week includes new products, signature collaborations, and a new Nvidia Quantum Cloud for quantum developers. While Nvidia may not spring to mind when thinking of the quant Read more…

2024 Winter Classic: Meet the HPE Mentors

March 18, 2024

The latest installment of the 2024 Winter Classic Studio Update Show features our interview with the HPE mentor team who introduced our student teams to the joys (and potential sorrows) of the HPL (LINPACK) and accompany Read more…

Houston We Have a Solution: Addressing the HPC and Tech Talent Gap

March 15, 2024

Generations of Houstonian teachers, counselors, and parents have either worked in the aerospace industry or know people who do - the prospect of entering the field was normalized for boys in 1969 when the Apollo 11 missi Read more…

Apple Buys DarwinAI Deepening its AI Push According to Report

March 14, 2024

Apple has purchased Canadian AI startup DarwinAI according to a Bloomberg report today. Apparently the deal was done early this year but still hasn’t been publicly announced according to the report. Apple is preparing Read more…

Survey of Rapid Training Methods for Neural Networks

March 14, 2024

Artificial neural networks are computing systems with interconnected layers that process and learn from data. During training, neural networks utilize optimization algorithms to iteratively refine their parameters until Read more…

Nvidia’s New Blackwell GPU Can Train AI Models with Trillions of Parameters

March 18, 2024

Nvidia's latest and fastest GPU, code-named Blackwell, is here and will underpin the company's AI plans this year. The chip offers performance improvements from Read more…

Nvidia Showcases Quantum Cloud, Expanding Quantum Portfolio at GTC24

March 18, 2024

Nvidia’s barrage of quantum news at GTC24 this week includes new products, signature collaborations, and a new Nvidia Quantum Cloud for quantum developers. Wh Read more…

Houston We Have a Solution: Addressing the HPC and Tech Talent Gap

March 15, 2024

Generations of Houstonian teachers, counselors, and parents have either worked in the aerospace industry or know people who do - the prospect of entering the fi Read more…

Survey of Rapid Training Methods for Neural Networks

March 14, 2024

Artificial neural networks are computing systems with interconnected layers that process and learn from data. During training, neural networks utilize optimizat Read more…

PASQAL Issues Roadmap to 10,000 Qubits in 2026 and Fault Tolerance in 2028

March 13, 2024

Paris-based PASQAL, a developer of neutral atom-based quantum computers, yesterday issued a roadmap for delivering systems with 10,000 physical qubits in 2026 a Read more…

India Is an AI Powerhouse Waiting to Happen, but Challenges Await

March 12, 2024

The Indian government is pushing full speed ahead to make the country an attractive technology base, especially in the hot fields of AI and semiconductors, but Read more…

Charles Tahan Exits National Quantum Coordination Office

March 12, 2024

(March 1, 2024) My first official day at the White House Office of Science and Technology Policy (OSTP) was June 15, 2020, during the depths of the COVID-19 loc Read more…

AI Bias In the Spotlight On International Women’s Day

March 11, 2024

What impact does AI bias have on women and girls? What can people do to increase female participation in the AI field? These are some of the questions the tech Read more…

Alibaba Shuts Down its Quantum Computing Effort

November 30, 2023

In case you missed it, China’s e-commerce giant Alibaba has shut down its quantum computing research effort. It’s not entirely clear what drove the change. Read more…

Nvidia H100: Are 550,000 GPUs Enough for This Year?

August 17, 2023

The GPU Squeeze continues to place a premium on Nvidia H100 GPUs. In a recent Financial Times article, Nvidia reports that it expects to ship 550,000 of its lat Read more…

Analyst Panel Says Take the Quantum Computing Plunge Now…

November 27, 2023

Should you start exploring quantum computing? Yes, said a panel of analysts convened at Tabor Communications HPC and AI on Wall Street conference earlier this y Read more…

DoD Takes a Long View of Quantum Computing

December 19, 2023

Given the large sums tied to expensive weapon systems – think $100-million-plus per F-35 fighter – it’s easy to forget the U.S. Department of Defense is a Read more…

Shutterstock 1285747942

AMD’s Horsepower-packed MI300X GPU Beats Nvidia’s Upcoming H200

December 7, 2023

AMD and Nvidia are locked in an AI performance battle – much like the gaming GPU performance clash the companies have waged for decades. AMD has claimed it Read more…

Synopsys Eats Ansys: Does HPC Get Indigestion?

February 8, 2024

Recently, it was announced that Synopsys is buying HPC tool developer Ansys. Started in Pittsburgh, Pa., in 1970 as Swanson Analysis Systems, Inc. (SASI) by John Swanson (and eventually renamed), Ansys serves the CAE (Computer Aided Engineering)/multiphysics engineering simulation market. Read more…

Intel’s Server and PC Chip Development Will Blur After 2025

January 15, 2024

Intel's dealing with much more than chip rivals breathing down its neck; it is simultaneously integrating a bevy of new technologies such as chiplets, artificia Read more…

Baidu Exits Quantum, Closely Following Alibaba’s Earlier Move

January 5, 2024

Reuters reported this week that Baidu, China’s giant e-commerce and services provider, is exiting the quantum computing development arena. Reuters reported � Read more…

Leading Solution Providers

Contributors

Choosing the Right GPU for LLM Inference and Training

December 11, 2023

Accelerating the training and inference processes of deep learning models is crucial for unleashing their true potential and NVIDIA GPUs have emerged as a game- Read more…

Training of 1-Trillion Parameter Scientific AI Begins

November 13, 2023

A US national lab has started training a massive AI brain that could ultimately become the must-have computing resource for scientific researchers. Argonne N Read more…

Shutterstock 1179408610

Google Addresses the Mysteries of Its Hypercomputer 

December 28, 2023

When Google launched its Hypercomputer earlier this month (December 2023), the first reaction was, "Say what?" It turns out that the Hypercomputer is Google's t Read more…

Comparing NVIDIA A100 and NVIDIA L40S: Which GPU is Ideal for AI and Graphics-Intensive Workloads?

October 30, 2023

With long lead times for the NVIDIA H100 and A100 GPUs, many organizations are looking at the new NVIDIA L40S GPU, which it’s a new GPU optimized for AI and g Read more…

AMD MI3000A

How AMD May Get Across the CUDA Moat

October 5, 2023

When discussing GenAI, the term "GPU" almost always enters the conversation and the topic often moves toward performance and access. Interestingly, the word "GPU" is assumed to mean "Nvidia" products. (As an aside, the popular Nvidia hardware used in GenAI are not technically... Read more…

Shutterstock 1606064203

Meta’s Zuckerberg Puts Its AI Future in the Hands of 600,000 GPUs

January 25, 2024

In under two minutes, Meta's CEO, Mark Zuckerberg, laid out the company's AI plans, which included a plan to build an artificial intelligence system with the eq Read more…

Google Introduces ‘Hypercomputer’ to Its AI Infrastructure

December 11, 2023

Google ran out of monikers to describe its new AI system released on December 7. Supercomputer perhaps wasn't an apt description, so it settled on Hypercomputer Read more…

China Is All In on a RISC-V Future

January 8, 2024

The state of RISC-V in China was discussed in a recent report released by the Jamestown Foundation, a Washington, D.C.-based think tank. The report, entitled "E Read more…

  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire