Making the library on windows
----------------------------

Firstly, if possible dont bother making the library - just download the DLL and your sorted.

In order to make the library you have a number of options, however, you will need:

Implementation of MPI (tested with MPICH2)
A C compiler (we have used Bloodshed Dev-C++)
pthreads (downloadable from http://sourceware.org/pthreads-win32/)

We have included a bloodshed project file, and will assume you are going to use that.

Copy MeshamRTL.dev and MeshamRTL.layout into the libraries directory (the one previous to this.)

Load up the project file, it assumes that all files are in root c:\libraries - i.e. it is in that directory, the source is in c:\libraries\source\... etc...

Now, in the project options, under parameters, change linker so that it links against your mpi.lib (ours is in c:\program files\mpich2\lib\mpi.lib and thats already in the project) and also against your pthreads library.

Secondly, under directorys ensure that library directories points to your pthreads, and that the include directorys point to pthreads and the Mesham source include files (source/headers, source/platform/windows/includes and this directory)

IMPORTANT - Also ensure that you have the include directory of mpich (c:\program files\mpich2\include) and library directory supplied as well on that page [on our bloodshed we set them up globally for all projects to make life easier under tools -> compiler options.]

Ok, not under execute click compile.

mesham.dll should be created :)

If there are any issues ensure you have everything required installed and play around with the paths to the different components.
