HTML version of Scripted Foils prepared 11 November 1996

Foil 28 Spawning Tasks in HPF

From CPS615-End of Numerical Integration and Very End of HPF Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 24 October 96. by Geoffrey C. Fox *
Secs 97.9
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

Table Font Size


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Fri Aug 15 1997