P609 Computational Physics

Department of Physics, Indiana University

Spring, 2017

go to lecture notes go to homework assignments

Meets: Tuesday and Thursday, 1:00 p.m. to 2:15 p.m. in

**Note that this is a cluster of
Apple computers in the physics building near the Physics Forum
commonly known as the Astronomy/Physics
cluster. Please check to see whether you can log in before coming to class.
**

For help with the issues specific to the Astronomy/Physics Cluster in which we meet, send email to it4phys@indiana.edu. This would include issues like you cannot log in, or other problems that only a system administrator can solve.

For help with general computer issues, the Indiana University Knowedge Base is very useful.

These courses (P410/P609) in computer applications may be taken by undergraduates or graduate students. Click to examine the syllabus for the course.

The textbook *An Introduction to Computer Simulation Methods---
Applications to Physical Systems*

Notes for Lecture 1 - Introduction (January 10).

Notes for Lecture 3 - Remote access, aliases, AWK, axis, Introduction to Euler Method (January 19).

Supplementary Notes for Lecture 3 - On-line Help and Unix Tutorials Including vi and emacs Tutorials.

Here are some on-line tutorials for AWK:

An AWK Primer

Awk - A Tutorial and Introduction - by Bruce Barnett

Here is the official manual for the GNU version of AWK:

GAWK: Effective AWK Programm: A User's Guide for GNU Awk by Arnold D. Robbins

Some information on choosing a shell:

UNIX shell differences and how to change your shell

Top Ten
Reasons not to use the C shell

Axis Documentation (PDF).

go to top of page go to homework assignments

Notes from Fall 2016 Lectures

Notes for Lecture 1 - Introduction (January 12).

Here are some on-line tutorials for AWK:

An AWK Primer

Awk - A Tutorial and Introduction - by Bruce Barnett

Here is the official manual for the GNU version of AWK:

GAWK: Effective AWK Programm: A User's Guide for GNU Awk by Arnold D. Robbins

Some information on choosing a shell:

UNIX shell differences and how to change your shell

Top Ten
Reasons not to use the C shell

Notes for Lecture 3 - Remote access, aliases, AWK, axis, Introduction to Euler Method (January 19).

Notes on Remote Access to Cluster and Files.Axis Documentation (PDF).

Notes for Lecture 4 - Error Analysis for the Euler Method, Shell Scripts (January 21).

A pdf file with discussion of the error analysis of Euler method (PDF).Notes for Lecture 11 - Introduction to Mathematica (February 16).

Hands-on Start to Mathematica

How-to Mathematica tutorials

Join /the Mathematica Community

Notes for Lecture 12 - Biased Estimators, Bias Reduction and the Jackknife Method (February 18).

Notes for Lecture 15 - AHO, Finding Superstable Trajectories, GSL (March 1).

Notes for Lecture 18 - Higher Dimensional Integrals, Testing Hit or Miss Method, Aver (March 10).

Notes for Lecture 21- Previous Homework Assignment, Metropolis Method (March 29).

Notes for Lecture 23- Pseudorandom Numbers Generators, Serial Correlation Tests (April 5).

Notes for Lecture 24 - Feedback Shift Register Random Number Generator, SPRNG (April 7).

Bazavov NotesMonte Carlo simulations: Hidden errors from "good" random number generators

Notes for Lecture 25 - Fitting Data, Chi-square Distribution (April 12).

Notes for Lecture 27 - Polyfit (repeated), Verification of Error Estimates (April 19).

Notes for Lecture 28 - Non-linear Data Fitting, Introduction to Parallel Computing (April 21).

Notes for Lectures 29-30 - Introduction to Parallel Computing and CUDA (April 26-28).

The History of SupercomputersIntroduction to GPU Programming

go to top of page go to homework assignments

Homework Assignments Will Appear Below

The first homework is due on Thursday, January 28. It involves awk and axis, if you wish to produce your graph using axis. You are welcome to use a different program as long as you can make the plots as requested.

Homework Assignment 1 (Due Thursday, January 28)

Homework Assignment 2 (Due Thursday, February 11, 2016) .

Homework Assignment 3 (Due Thursday, February 25, 2016) .

Homework Assignment 4 (Due Thursday, March 10, 2016) .

Homework Assignment 5 (Due Tuesday, April 12, 2016) .

go to top of page go to lecture notes

Homework Assignments From Fall 2014

The first homework is due on Thursday, September 11. It involves awk and axis, if you wish to produce your graph using axis. You are welcome to use a different program as long as you can make the plots as requested.

Homework Assignment 2 (Due Tuesday, September 23, 2014) .

Homework Assignment 3 (Due Thursday, October 9, 2014) .

Homework Assignment 4 (Due Thursday, October 30, 2014) .

Homework Assignment 5 (Due Thursday, November 20, 2014) .

go to top of page go to lecture notes

Homework Assignments From Fall 2013

The first homework is due on Thursday, September 12. It involves awk and axis, if you wish to produce your graph using axis. You are welcome to use a different program as long as you can make the plots as requested.

Homework Assignment 2 (Due Tuesday, October 1, 2013) .

Homework Assignment 3 (Due Tuesday, October 15, 2013) .

Homework Assignment 4 (Due Tuesday, October 29, 2013) .