Downloading, installing, and running AM::Parallel

Windows 7 PC (32-bit and 64-bit)

To download and install the most recent version of the analogical modeling (AM) program on a Windows 7 machine do the following:

  1. Download a portable version of Strawberry Perl from here: http://strawberryperl.com/releases.html  (use the most recent 32-bit or 64-bit MSI package). If you choose to download the ZIP version, unzip it somewhere so that it has no space in its path.
  2. Download, save, and unpack the AM source code. (tarfile) (zipfile)
  3. Open "portableshell.bat" in the new Strawberry directory
  4. cd into the directory where you unpacked AM-Parallel-Unix.
  5. dmake
  6. dmake install
  7. Now try running AM in the portable shell. It should work!

To install a sample file that shows how you can run the program on the Finnish verb data, do the following:

  1. Make a home folder to run the program in (e.g. C:\amruns or perhaps a new folder called amruns on your Desktop).
     
  2. Download into the home folder this sample perl file called finnverb.pl.
     
  3. Inside the home folder create another folder (the project folder) called finnverb. Into this new project folder download this sample file called data and this sample file called test. VERY IMPORTANT: Make sure your browser doesn't add a filename extension like .txt to the end of the filename. If it does, rename the file to get rid of the extension.

When running AM in the Strawberry portable shell, just cd to the directory where your Perl command file is, e.g. finnverb.pl. Then run it with Perl: perl finnverb.pl. The program should run and create an output file called amcpresults in the project folder. You can open this folder in WordPad or your favorite text editor or browser to see the result.

Each project's files should be in its own project folder, and each project should have its own .pl Perl file for running the program. At the very least, for other projects you need to change the project name in the .pl command file on the command that looks like this:

$p = AM::Parallel->new('finnverb', -commas => 'no', -given => 'exclude');

 This command is also where several other parameters are specified (e.g. whether to exclude the givens); for further details consult the documentation mentioned above.