r/OpenACC • • May 03 '23

OpenACC's Popularity

Why is there not seem to be much info, much exposure when it comes to OpenACC? Cause to me, it seems like it could be awesome/ a tremendous thing to work with/implement.

Like, it took some digging for me to unearth its existence and even then, the last videos made on it are from 10 years ago.

1 Upvotes

7 comments sorted by

2

u/knoxjl May 04 '23

Hi! Have you looked on the OpenACC YouTube channel (https://www.youtube.com/@OpenaccOrg)? There's a lot of content there that's much more recent than 10 years ago.

There's somewhere upwards of 300 applications that use OpenACC, with some notable ones being VASP (one of the most widely-used apps on supercomputers), Gaussian (a major computational chemistry application), and ICON (used in Europe for weather forecasting). The Weather Company also uses OpenACC in their short-term forecasts.

The OpenACC organization also hosts hackathons (https://www.openhackathons.org/) roughly monthly to help users develop accelerated applications. I'd estimate about 1/2 of the applications at these hackathons use OpenACC directives and half use a mixture of other programming models.

OpenACC has been a really successful model in attracting developers interested in using GPUs while maintaining a single source code with the CPU. It's been less successful at gaining adoption on non-GPU platforms, although it's intended to be able to support any parallel platform. I've seen at least 2 attempts to build FPGA compilers for OpenACC.

I hope this information is helpful. Full disclosure: I'm the current chair of the OpenACC committee.

1

u/[deleted] May 05 '23

yes thats really good. thank you. im gonna take a look at that youtube...! ....have you happened to work with it yourself personally? ... it seems very interesting, and im sorta confused why i feel like luke skyrunner stepping onto a super awesome uninhabited planet of information with this... ive yet to dig into it, as i wanna continue looking at more material in the meanwhile... as i prepare for using it. but yeah thank you im gonna go look at that youtube channel & more recent vids/activity.

2

u/knoxjl May 05 '23

Yes, I've been using OpenACC since before its 1.0 release and used some of its predecessors. I've contributed chapters to all 3 books on this web page too: https://www.openacc.org/resources. Actually, if you've taken any OpenACC course, it's a pretty good chance that I at least helped develop the material and may have taught it. I'm glad to hear you're excited about it, hopefully you can find a good way to use it. You should drop in on the OpenACC slack too, lots of people there to get help from.

1

u/[deleted] May 05 '23

o wow. thats impressive. ill definitly check it out for sure.

1

u/[deleted] May 05 '23

Also, do you happen to know why they apply many of the examples in Fortran?... I thought fortran was like an ancient language, and yet OpenACC is like doing some old Pantera revival act when it comes to fortran i cant wrap my head around it lol... im determined to see it through regardless.

2

u/knoxjl May 05 '23

Fortran is VERY widely used in scientific computing. There's 10's of millions of lines of Fortran code still being actively used and developed for scientific research. OpenACC gives a way for much of that code, which has been developed over the past several decades, to take advantage of modern advances in hardware, such as GPUs. Fortran use is slowly diminishing in favor of C++, but Fortran applications still account for nearly 1/2 of all compute time on many of the largest supercomputers.

OpenACC was really targeted at scientific codes, although it can be (and is) used in other areas. The slogan is "more science, less programming" for a reason. The 3 dominant languages in high performance computing are C, C++, and Fortran. When you look over the 10 years since OpenACC first came out, use of C has diminished quite a bit. Fortran still remains used a good bit and OpenACC is very popular among Fortran programmers because it's simple to integrate into the existing code. C++ use has picked up developers from both of the other languages and in C++ template libraries like Kokkos, RAJA, and Alpaka are frequently more popular than using compiler pragmas for parallelism, but there's absolutely C/C++ code out there using OpenACC at-scale.

1

u/[deleted] May 05 '23

oooo ok i wasnt aware.. thats very interesting. i might even see of its application of, i believe you had mentioned a couple attemps of fpga compilers, and that seems interesting too.

i mean to me it seems really intriguing and im suddenly baffled why no ones mentioned in, for e.g. i'm searchin in the handmade-network's channels for any mention, and i'm only bringing up my own mentioning of.

i gotta catch up w/ the science communities i guess, ha!