Newsgroups: comp.parallel
From: h-park7@ews.uiuc.edu (Hee-Joon Park)
Subject: Parallel Programming Support??
Organization: University of Illinois at Urbana-Champaign
Date: 22 Oct 1997 12:54:14 GMT
Message-ID: <62kt1m$sd1$1@server2.ctc.com>

Hi, there.
I have rather technical question and if you are an expert, please help out.

I'm very interested in parallel programming support specifically for
data parallelism. For instance, given the data set that is highly regular,
like arrays in Fortran, where do I start to add parallel programming
supprot for a procedural languages like Fortran77 or C. So for example,
consider a simple loop like the following.

    for(i = 0; i < 100; i++)
        array[i] = array[i] + 1;

Given "array[]" is already defined, we see that each execution
of the statement during the loop, "array[i] = array[i] + 1" are independent
of each other. Let's also assume that we have 10 processors that are
connected together for parallel processing. So, ideally, I would like
each processor to take just 10 iterations. For example, processor1 then,
would do the computation from i = 0 till i = 9, processor2 would compute
from i = 10 to 19. However, each processor will compute its designated task
*simultaneously*, and ideally, new array[] would be computed 10 times faster
than if we were to used an uniprocessor system.

Well, I know that new directives and new language constructs are added in
Fortran90 for parallel programming extension but I'm interested in how to do
it from scratch for research purpose. I'm rather new in this field and what
I've noticed from reading some books on parallel processing, is that they
discuss a lot about various programming models and theory, but their
presentation in terms of actual implementation(C preferred by the way)is 
hardly there.

If any of you have any pointer on this problem, please email me.
It would be greatly appreciated. Thank you for your time!

Hee Park
--
Heejoon Park                                            
Univ.of Illinois at Urbana-Champaign       
Dep.of Electrical and Computer Eng.                       h-park7@uiuc.edu
http://www.cen.uiuc.edu/~h-park7

--
Articles to parallel@ctc.com (Administrative: bigrigg@ctc.com)
Archive: http://www.hensa.ac.uk/parallel/internet/usenet/comp.parallel


