.. title: PAR Class 4, Thurs 2019-01-24
.. slug: class04
.. date: 2019-01-24
.. tags: class
.. category: 
.. link: 
.. description: 
.. type: text

.. raw:: html

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

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

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


Student talks
-------------

#. in the order that I listed the topics:

   a. Describe the fastest 2 computers on the top500 list.  https://www.top500.org/lists/2018/11/

   #. Describe computers 3 and 4 on top500.

   #. Describe computers 5 and 6 on top500.

   #. Describe RPI's Blue Gene.

   #. Summarize python's parallel capabilities.

   #. Summarize Matlab's parallel capabilities.
      
   #. Summarize Mathematica's parallel capabilities.
      
   #. Summarize MPI.

   #. Describe an application where physics needs/uses parallel computing.
      
   #. Describe an application where astronomy needs/uses parallel computing.
      
   #. Describe an application where biology needs/uses parallel computing.
      
   #. Describe an application where astronomy needs/uses parallel computing.
      
   #. Give an application where machine learning needs/uses parallel computing.
      
   #. Give an application where computational fluid dynamics needs/uses parallel computing.
      
   #. Summarize OpenACC.

   #. Summarize pthreads.

#. If you picked 2 topics, ok to give only one talk.



      
ssh, afs, zfs
-------------

#. I recommend that you create key pairs to connect to parallel w/o typing your password each time.

#. To avoid retyping your ssh private key passphrase in the same
   shell, do this

   ssh-add

#. One advantage of ssh is that you can mount your parallel
   directory on your local machine.  On my laptop, I run
   *nemo*, then do *File - Connect to server*, choose type
   *ssh*, server *parallel.ecse.rpi.edu*, use my RCSID as the
   user name, leave the password blank, and give my private key
   passphrase if asked.  Any other program to mount network shares
   would work as well.

   Where the share is actually mounted varies.  On my laptop, it's
   here:
   */var/run/user/1000/gvfs/sftp:host=parallel.ecse.rpi.edu,user=wrf*

   As with any network mount, fancy filesystem things like
   attributes, simultaneous reading and writing from different
   machines, etc., probably won't work.

#. With ssh, you can also copy files back and forth w/o mounting
   or typing passwords:

   i. scp localfile parallel.ecse.rpi.edu:
   #. scp -r localdir parallel.ecse.rpi.edu:
   #. scp parallel.ecse.rpi.edu:remotefile .

   It even does filename completion on remote files.

#. You can also run single commands:

   ssh parallel.ecse.rpi.edu hostname

#. Parallel sometimes implements AFS, so your RCS files are accessible (read
   and write) at 

   */afs/rpi/edu/home/??/RCSUID*.  

   Search for your home dir thus:

   *ls -ld /afs/rpi.edu/home/*/RCSID*.

   Authenticate yourself with *klog*.

.. comment
   #. On parallel, your files are transparently compressed, so there's
   no need to explicitly use *gzip* etc.


    
