Examples of Profiling using Diffusion Code

Examples of Profiling using Diffusion Code - Basis for Report2 Due 30Oct02
14 October 02

*(UPD2)*
Wednesday (9Oct02) Lecture presented the background to characterize the computer solution of the Diffusion Model
Sample codes are available now
  1. mkdir diffusion
  2. cd diffusion
  3. cp ~stewart/cs575/fall02/diffusion/* . (do not forget the final "dot".)

    Email sent 28oct02 to class:
    Fortran Programmers:
    
    f90 -o fdiff f_diffusion.f -xlic_lib=sunperf    
    
    f90 -o fdiff-sunperf f_diffusion.f sgeco.f sgesl.f blas.f
    
    and you can explore the effect on timing by looking at different 
    optimization levels using the 
    -O
    option on the compile line.
    ---------------------------------------
    C Programmers:
    
    f90 -c sgeco.f sgesl.f blas.f
    cc -o cdiff c_diffusion.c sgeco.o sgesl.o blas.o -lm -lF77
    
    cc -o cdiff c_diffusion.c -xlic_lib=sunperf
    
    and you can explore the effect on timing by looking at different
    optimization levels using the 
    -O
    option on each of the compile lines
    ----------------------------------------
    
Second Report (due Oct. 30), what to discover from your code.
Recall, your code needs to produce data to support conclusions in your report.
You may wish to review the lab discussion on Problem Solving Skills