Re: HPF for message passing interface (MPI) Question



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
.



Relevant Pages

  • Re: Ping Conway the Gardener.
    ... U.S. were opposed to it and since Obama will soon be coming ... Hint: Try doing your own homework to support your own claims. ... Your parents have a lot to answer for. ...
    (soc.culture.scottish)
  • Re: Ping Conway the Gardener.
    ... Obama didn't want to commit himself. ... Final Environmental Impact Statement for the Proposed Keystone XL ... Hint: Try doing your own homework to support your own claims. ...
    (soc.culture.scottish)
  • Re: Week #2 Problem Set Help!
    ... I do, however, want to know them very well so that when our exams ... We get out problem sets on Thursdays and they are due ... homework together and turn it in. ... math/logic without a cheat cheat in the exam room? ...
    (sci.logic)
  • Re: Which is not allowed in EJB programming ?
    ... wouldn't make any and all sensible observers assume that you were a homework ... cheat was that you have asked other questions here which weren't homework. ... As a piece of advice: if you find yourself wanting to post some sort of puzzle ...
    (comp.lang.java.programmer)
  • Re: Binary to Decimal
    ... lmh86 wrote: ... > Can anyone suggest any other methods that does not implement built-in ... This sounds like some homework, ... hint you into some direction, ...
    (microsoft.public.dotnet.languages.vc)