#!/bin/sh # installed mpich2 from mpich2-1.0.3-1-win32-ia32.msi from # http://www-unix.mcs.anl.gov/mpi/mpich2/index.htm#download # Note: "This setup requires the .NET Framwork version 1.1.4322..." # and they really mean 1.1, not 2.0 and not 1.0. # Installed in c:/mpich2 to avoid spaces in paths. # First get to the point where you can run cpi.exe example. May need to # give yourself a login password. export CFLAGS="-mwindows -I/cygdrive/c/mpich2/include" export CXXFLAGS="-mwindows -I/cygdrive/c/mpich2/include" export LIBS="-L/cygdrive/c/mpich2/lib -lmpi" export LDFLAGS="-e _mainCRTStartup" export always_call_mpi_init=yes ./configure --prefix=`pwd` --with-paranrn --without-iv \ --without-readline --without-memacs # make # make mswin # in the src/parallel directory one can launch any of the tests with, e.g. # c:/mpich2/bin/mpiexec -np 1 c:\\marshalnrn\\nrn\\bin\\nrniv.exe test0.hoc