next up previous
Next: Code for host and Up: Short example application programs Previous: Short example application programs

``Hello, world''

This example is a simple ``hello, world'' program. Recall that in addition to providing code for the host and grid processes, the user must also modify the archetype INCLUDE file mesh_uparms.h to provide the desired values for the dimensions of the process grid (XPROCS, YPROCS, and ZPROCS), the dimensions of the data grid (NX, NY, and NZ), and the size of the ghost boundary (NGHOST). In this example, we show both the user-supplied code and the complete archetype-supplied INCLUDE file mesh_uparms.h.





Berna L Massingill
Mon Jun 8 19:35:58 PDT 1998