Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 2.08 KB

README.md

File metadata and controls

46 lines (37 loc) · 2.08 KB

Simple OpenACC Fortran Examples

Author: Jeng Bai-Cheng([email protected])

An example code is worth a thousand words. This repository intends to host fundamental, but useful examples. Each example is just a few dozen lines of code. Most of them come from my past experience in HPC projects, but readers do not need to have the HPC background to understand the examples.

Eexamples

Basic

MPI

Profiling

  • auto_nvtx - use compiler to insert CPU profiling routines automatically
  • profiling_range - demonstration of focused profiling via profiling tool

Requirement

  • NVIDIA HPC SDK 21.3

To install HPC SDK via Docker, visit NVIDIA GPU Cloud: https://ngc.nvidia.com/catalog/containers/nvidia:nvhpc/tags

Or download HPC SDK from official website: https://developer.nvidia.com/hpc-sdk

Bulid

$ cd <folder>
$ make

Run

$ cd <folder>
$ ./<executable>