5903 Intro Scientific Prog:
Summer 2010 Assignments
Rules:
- All programs must be submitted electronically as gzipped
archives that unpack into a directory named "Name_HWn" where Name is
your name and n is the number of the assignment.
- The directory must be complete and self contained.
- The program must compile with the gcc compiler using a simple make command. The executable must be named "Name_Hwn".
- The executable must operate according to the program specifications.
- The directory must contain one (or more) "ReadMe" files
explaining usage, any known problems, and how the program was
tested/validated.
- We will discuss submitted programming assignments after the deadline in class. For this reason deadlines will be enforced.
- Each assignment will be 10pts. A non-compiling program or
one that does not run correctly on the test problem is a zero. A
compiling program that runs correctly on test problems is at least
7/10. Of the remaining three points: one is for complying with the
naming and documentation requirements; the remaining two points
are for programming readability and style.
Style:
- Your code NEEDS to behave as it is supposed to.
- No "magic" Numbers.
- Meaningful/reasonable variable names.
- Adequate documentation/comments.
- Thorough testing and validation.
- Reasonable code reuse and compartmentalization.
- This means a clean simple primary file with a clean simple main
- Procedures isolated in meaningful ways in seperate files
- Only header information in header files with thought given to the include tree.
- Header information consists of preprocessor directives, function prototypes and appropriate definitions.
- Assignments: (Due Dates and additional
assignments will appear as we go through the term. Assignments will be
discussed in class)
- Hello World
- Libraries and Makefiles
- Multiple Input Files
- Parsing Input Arguments
- Reading Code
- Function Prototypes and Pointers
- Timing Matrix Access
- Timing Matrix Ops
- Timing IO
- Timing and Parsing FFTs
- Function Pointer Planning
- Matrix matrix Multiply loop reordering
- Implement some portion of your #11 using a fn pointer!