|
This section contains a number of csWMPI II II examples written in Fortran 77. The examples can be found
in the installation directory under examples\f77.
IMPORTANT NOTICE FOR FORTRAN 77 USERS
In order to use csWMPI II II in Fortran 77 programs you MUST include the file
mpi_init.f before the program statement. Moreover, you should
include the file mpif.h after program statement. See the example
below:
...
include "mpi_init.f"
program main
implicit none
include 'mpif.h'
...
|
In case you do not include mpi_init.f you will experience
link errors.
The source code for the examples might differ slightly from Fortran compiler to Fortran compiler.
The source code shown in the following examples work with Compaq Visual Fortran, so in case you
are using a different compiler, e.g. g77 or Lahey, please consult the example source found in the
installation directory.
|