Holger Vogt
09.09.2001

Valid and tested for MS Windows only!

Copy the sources from \asco-dist\ASCO-0.4.7\examples\ngspice\executables
to the example of your choice, e.g. \asco-dist\ASCO-0.4.7\examples\ngspice\amp3.

wasco.exe is the ngspice Windows executable made with MS Visual Studio 2008.
asco.exe is the MINGW port.
ngspice_c is a console version of ngspice, based on the CVS sources at 12.08.2011
(plus some very slight modifications).
ngnutmeg may be used for plotting by dragging and dropping the raw file over it
in Windows Explorer.

Open a console window (msys preferred, cmd.exe o.k.), cd into 
\asco-dist\ASCO-0.4.7\examples\ngspice\amp3, type
wasco -ngspice amp3
and have a look after a few hours for the result. The example inv will take only a few
seconds until convergence.

For parallel version:
Download MPI MPICH2 Windows IA32 (binary) from 
http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads.
Install MPI by:
open a admin console by right-click on the command prompt and select "Run as 
administrator"
cd to download directory
Install with command
msiexec /i mpich2-1.4-win-ia32.msi
(I selected "install for this user only")

Add C:\Program Files (x86)\MPICH2\bin to the PATH variable
Add C:\Program Files (x86)\MPICH2\include as search path for includes in 
MS Visual Studio
Add C:\Program Files (x86)\MPICH2\lib as search path for libraries in 
MS Visual Studio
Add mpi.lib to dependencies in MS Visual Studio
Select release-mpi
Compile wasco-mpi
Copy wasco-mpi.exe to
D:\...\ASCO-0.4.7\examples\ngspice\amp3
Copy ngspice_c.exe to
D:\...\ASCO-0.4.7\examples\ngspice\amp3

In MS Explorer go to C:\Program Files (x86)\MPICH2\bin, run wmpiregister.exe
as admin, add account name (user name) and password

go to directory 
D:\...\ASCO-0.4.7\examples\ngspice\amp3
start program with
mpiexec -n 7 wasco-mpi -ngspice amp3