Basic HTML version of Foils prepared 26 September 1996

Foil 90 Advanced Mapping Directives -- ReDistribution and ReAlign

From HPCC Software Technologies Fall 96 -- Overview and HPF Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 26 September 96. by Geoffrey C. Fox


1 This example illustrates remapping from one to two dimensional decomposition for A and changing B from alignment with columns to alignment with rows
  • REAL, DIMENSION(64,64) :: A
  • REAL, DIMENSION(64) :: B
2 !HPF$ PROCESSORS P(64)
3 !HPF$ PROCESSORS Q(8,8)
4 !HPF$ DYNAMIC :: A,B
5 !HPF$ ALIGN B(:) WITH A(:,*)
6 !HPF$ DISTRIBUTE A(*,BLOCK)ONTO P
  • ...
7 !HPF$ REALIGN B(:) WITH A(*,:)
  • ...
8 !HPF$ REDISTRIBUTE A(CYCLIC,CYCLIC) ONTO Q
  • ...

in Table To:


© 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 Sun Feb 22 1998