From masc0155@rohan.sdsu.edu Mon Nov 10 11:33:03 2003 -0800 Date: Mon, 10 Nov 2003 11:32:11 -0800 (PST) From: kris stewart To: cs575@rohan.sdsu.edu Subject: Group Report - Compiler Autoparallel Hello CS 575 Students I will be updating our "calendar" home page for today's lecture to reflect some very successful experiments I was able to run that demonstrate Ch. 11 Programming Shared-Memory Multiprocessors (Rohan) p. 223 using automatic parallelization by the Fortran f95 compiler. For more details on SPARC Optimization and Parallel Processing are from http://docs.sun.com/source/806-3566/plug_optimizing.html This will become the basis of your group program using the Stommel Model problem as the starting point. You have had the copy of the Stommel Model code since Lab 4 (October 2) and we have been discussing in class (and via the web page notes) some of the background information that this Stommel Model is based on - Jacobi Iteration to approximate the solution of the steady-state Stommel Equation. stc_00.c stf_00.f are the serial versions of this code in C and Fortran 90 and you have your choise of which language version to focus on depending on your own background. The Goals is to explore the optimization and parallelization possible using Rohan's Solaris compilers - without modification to the code. We examine the sample code from Ch 11 in our text (p. 223) that consisted of a simple code fragment with no loop dependencies. This is an ideal candidate for the compiler to be able to demonstrate its successful translation of the High Level Language into SPARC assembler that can use separate processors, specified by the user using setenv PARALLEL # where the example had # = 1, 2, 4 and compiling using f95 with the -xautopar option. I expect this same compiler option to work with cc Your group assignment is to examine the information online from SUN http://docs.sun.com/source/806-3566/plug_optimizing.html to be able to apply the more general information our textbook has provided as background for "Programming Shared-Memory Multiprocessors" to your specific computing platform Rohan. See you this afternoon Kris Stewart stewart@rohan.sdsu.edu GMCS Office Hours MW 2-3:30pm