FORTRAN: Compiling Applications
To compile a Fortran application using the Zoltan library, the module information
files must be made available to most compilers during the compilation phase.
Module information files are files generated by the compiler to provide
module information to program units that USE the module. They usually
have suffixes like .mod or .M. The module information files
for the modules in the Zoltan library are located in the
Obj_<platform>
subdirectory.
Most Fortran 90 compilers have a compile line flag to specify directories
to be searched for module information files, typically "-I"; check the
documentation for your compiler. If your compiler does not have such a
flag, you will have to copy the module information files to the directory
of the application (or use symbolic links).
The Fortran interface is built into the same library file as the rest
of Zoltan, which is found during the compiler link phase with -lzoltan.
Thus an example compilation line would be
[Table of Contents | Next:
FORTRAN API | Previous:
FORTRAN--Compiling Zoltan