Basic HTML version of Foils prepared 17 Sept 1996

Foil 78 Spawning Tasks in HPF

From New CPS615HPF and Fortran90 Discussion Sept 17 96 Basic Simulation Track for Computational Science CPS615 -- Fall Semester 96. by Geoffrey C. Fox, Tom Haupt


1 Task Parallelism is sort of supported in HPF but not clear to me that this is a great idea as better to keep sophisticated task parallelism outside HPF which is really only designed to support data parallelism
2 !HPF$ TASKING
  • !HPF$ ON HOME(p(1:8))
  • CALL foo(x,y)
  • !HPF$ ON HOME(p(9:16))
  • CALL bar(z)
3 !HPF$ END
4 This extends SPMD model with foo running on eight and bar on another processors
5 Note foo and bar are expected to contain data parallel statements which distribute execution using conventional HPF over 8 processors

in Table To:


© on Tue Oct 7 1997