Re: HPF for message passing interface (MPI) Question
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Wed, 9 Jul 2008 10:17:33 -0700
chon <chonlover@xxxxxxx> wrote:
Can anyone solve this question?
Please show me the answer.
Hint: If one is going to try to cheat on one's homework by having other
people do it, your odds are better if you at least rephrase the problem
in your own words instead of copying the homework assignment verbatim.
Actually, it is usually still evident anyway, particularly since the
people who try to cheat on their homework like that tend to not be very
bright (which figures). Rephrasing on one's own words requires at least
a little understanding of the subject.
Asking for hints on general direction is ok, as is asking for assistance
with debugging your attempts. Just asking for people to do your homework
is not. None of these principles are particularly unique to newsgroups.
This is just basic ethics.
If this isn't a homework problem, you've sure done an incredibly good
job of writing it in the style of one. I suppose that it is at least
vaguely possible, in which case I'd owe you an apology. But I think the
odds are pretty low or I wouldn't have written this in the first place.
P.S. That's a strange set of loops. There are funny loop dependencies
that I suspect would make doing it in HPF tricky, but I don't actually
know HPF well enough to say for sure. Those funny loop dependencies also
make it hard to figure out quite how this would come up in an actual
application other than as a homework assignment. Note that the trivial
translation of this into a FORALL would not be equivalent because of the
loop dependencies. For example, the very first assignment reduces to
A(2,3,2)=A(1,1,1); when you later get to using A(2,3,2) on the
right-hand-side, these DO loops will use the "new" value instead of the
original one.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- References:
- Prev by Date: Re: Foray Build Tool Project Started
- Next by Date: Re: Foray Build Tool Project Started
- Previous by thread: HPF for message passing interface (MPI) Question
- Index(es):
Relevant Pages
|