.. title: PAR Class 7, Thu 2022-02-03
.. slug: class07
.. date: 2022-02-03
.. tags: class
.. category: 
.. link: 
.. description: 
.. type: text
.. has_math: true

.. raw:: html

   <style> .red {color:red} </style>
   <style> .blue {color:blue} </style>

.. role:: red
.. role:: blue

.. sectnum::
.. contents:: Table of contents
..




OpenACC concluded
-----------------

I recommend OpenACC for Programmers: Concepts and Strategies By Sunita Chandrasekaran, Guido Juckeland.  `Informit <https://www.informit.com/store/openacc-for-programmers-concepts-and-strategies-9780134694283>`_, `Amazon <https://www.amazon.com/OpenACC-Programmers-Strategies-Sunita-Chandrasekaran/dp/0134694287>`_.  `Github <https://github.com/OpenACCUserGroup/openacc_concept_strategies_book>`_.

Chapter 4 is online for free as `PDF <https://www.informit.com/content/images/9780134694283/samplepages/9780134694283_sample.pdf>`_ and `html <https://www.informit.com/articles/article.aspx?p=2832414>`_.


Nvidia GPU and accelerated computing
------------------------------------

This is from https://developer.nvidia.com/teaching-kits-downloads

My local copy of what I'm using is in /parclass/2022/files/nvidia/GPU-Teaching-Kit-Accelerated-Computing.zip

We'll spend several classes on this topic, speed reading through the slides.



Archivemount
------------

This is today's programmer productivity tip, unrelated to parallel computing but generally useful.

Rather than explicitly extracting large zip archives or tarballs in order to read files in them, I use archivemount to create a virtual file system.  This saves disk space.  It doesn't stress git as much (fewer files).  When reading, the I/O time is insignificantly increased.  For some formats, you can even write.  You can have more confidence that the zip file wasn't changed, than in a directory with perhaps hundreds of files.

