Solution to Question 1
C version:
First compile hello.c:
For practice, you can compile the sample program with one of POE's compiler
scripts, although the sample program contains no message passing calls:
Fortran version:
First compile hello.f:
For practice, you can compile the sample program with one of POE's compiler
scripts, although the sample program contains no message passing calls:
Note for HPF programmers: The steps shown in the rest of this lab exercise
are useful for all parallel programs, including HPF programs, but because of
the way HPF handles output, the sample program provided here does not produce
interesting output if compiled with pghpf or xlhpf. A later exercise will
introduce you to the use of those compilers.