Tag: OpenACC

  • Understanding Fortran Array Indexing in OpenACC

    What You’ll Learn Today Fortran counts differently than some other programming languages, and this matters A LOT when working with OpenACC! It’s like the difference between floor numbers in American buildings (1st floor, 2nd floor) versus British buildings (ground floor, 1st floor). The Big Difference: Starting from 1 Fortran Way (starts from 1): C/Python Way…

  • Your First OpenACC Fortran Program – Parallel Loop on GPU

    What You’ll Learn Today Today you’ll write your very first OpenACC program that actually runs on the GPU! Think of it like learning to ride a bicycle – once you understand the basic structure, everything else becomes easier. The Magic of Parallel Loops Imagine you’re a teacher with 100 math problems to grade. You could:…

  • Introduction to OpenACC with Fortran

    What You’ll Learn Today Imagine you have a huge pile of homework to do. You could do it all by yourself, or you could ask your friends to help. That’s exactly what OpenACC does for your computer programs – it gets help from the GPU (Graphics Processing Unit) to make calculations super fast! What is…

  • Profiling OpenACC Code using NVPROF

    Profiling your OpenACC code on a remote system can be tricky sometimes. Many times we try to profile the code in cluster environment where we need to use a job scheduler to submit our jobs. In such scenarios, command line based profiling comes handy. This tutorials provides some usage examples for NVIDIA’s command line profiler…