The Maisie compiler, called mc, accepts all the options supported by the C compiler, and also supports separate compilation. C programs (files with .c suffix) and object files (files with .o suffix) can also be compiled and linked with Maisie programs. Note: a Maisie program must be suffixed with .m and include the header file maisie.h.
Maisie compiler also supports the following options:
-lmaisie Link with the entity library. -trace Generate code for trace-facility. -May Generate a file with the translated C code.
The following examples illustrate how to compile Maisie programs on a sequential architecture. (Note: the Maisie compiler is called mc.)
In order to produce an executable that can be run on a parallel
architecture, the Maisie program needs to be compiled with the flag
'-sync protocol'. Currently supported protocols are
cons -parallel conservative, opt -parallel optimistic, and
seq -sequential (default - if no '-sync' flag is specified).
The parallel implementation of Maisie uses MPI (Message Passing
Interface) communication library.
Therefore, before using parallel
Maisie, MPI
needs to be installed on the available parallel architecture (Several
public domain implementations of MPI exist. MPICH, one such
implementation, is available
from http://www.erc.msstate.edu/mpi/). MPI commands are used to
execute the compiled maisie program on the parallel architecture
(see the documentation on the particular MPI implementation you are
using).