Spring 2016
ACMS 40212/60212: Advanced Scientific Computing
Class time: MWF 9:25am - 10:15am.Classroom: 200 Riley Hall
Office hours: M 12:00 pm - 1:30pm, 242HH
This short introduction will get you started on the vi editor.
For those who wish additional information, here
is a link.
cd to the "root" directory of the code. Run Ctags recursively over the entire code directories to generate the tags file.
On Linux, use the following command: To search for a specific tag and open Vim to its definition, run the following command in the shell: Or, open any source file in Vim under the directory where the tagfile is located, and use the following basic commands: Keyboard command Action Ctrl-] Jump to the tag underneath the cursor Ctrl-t Jump back up in the tag stack :ts <tag> <RET> Search for a particular tag :tn Go to the next definition for the last tag :tp Go to the previous definition for the last tag :ts List all of the definitions of the last tag
Unix command
Ctags is a tool that makes easy to navigate large source code.
Ctags also supports many languages besides C and C++.
Ctags with Vim
ctags -R *
vim -t <tag>
Copying files
You may need to move files between machines .
MPI
The Message Passing Interface (MPI) is a standard specifying message passing.
It is a library called by C or Fortran for implementing portable, scalable, high performance parallel programs.
Useful resources
MPI Forum
MPI Home
MPI Standard 2.0
MPI Tutorials
MPI manual pages for commands and function calls MPICH MPI Implementation
OpenMP
Textbook
01/25 | Project 1 description (due on 02/12): Use the sample code provided in ~zxu2/Public/Proj1/proj1_file_io.c to implement a code which converts mesh data generated by easymesh to vtk format and display in paraview. Sample vtk mesh files are: red blood cell ; 2D unstructured mesh | |
---|---|---|
TBA | Project 2 description (due date: 03/04) | |
TBA | Project 3 description (due date: 04/04) | |
TBA | Project 4 description (due date: 05/02) | Homework |
TBA | TBA |
Presentation of Final Projects: 05/04/2016, 8:00am, 200 Riley Hall |
---|
All-pairs Shortest Path Problem (Undergraduate students only) |
Document Classification (Undergraduate students only) |
Monte Carlo Simulation of Buffon's needle problem using GPU (Undergraduate students only) Matlab code of the Monte Carlo Simulation |
Bacterial branching growth using diffusive Fisher equations with a cutoff |
Kinetic Monte Carlo simulation using OpenMP |
Implementing red-black Gauss Seidel to solve 2D Laplace equation on GPUs |
Implementing 2D (explicit) high-order accurate finite difference/volume/element method for time dependent PDEs on GPU or using MPI (Choose a PDE you are familiar with) |
Accelerating numerical solution of Stochastic Differential Equations with CUDA |
Cellular Automata for reaction-diffusion |