next up previous contents
Next: Sending and Receiving Messages Up: AUTOPACK User Manual 1 Previous: Fortran Binding Issues   Contents

Library Initialization and Settings

Before use the library must be initialized. The initialization call must come after the call to initialize MPI:

     ...
     MPI_Init(&argc,&argv);
     AP_init(&argc,&argv);
     AP_setparam(size,packed,maxreq_proc,maxreq);  /* optional */
     ...

The call to AP_setparam() is optional to specify settings that affect the library's behavior.

Different architectures and MPI implementations will achieve their best performance with different settings.


next up previous contents
Next: Sending and Receiving Messages Up: AUTOPACK User Manual 1 Previous: Fortran Binding Issues   Contents
Raymond Loy 2000-05-12