Building SUNDIALS on Windows
In order to use the IDA integrator with ASCEND, you will need to build the SUNDIALS package. On Windows, this can be achieved if you follow these instructions. We'll assume you're compiling ASCEND with MinGW and SCons as described in Building ASCEND, and that you've already installed MinGW and MSYS as directed.
The following instructions should work with the latest version of SUNDIALS. As of writing, that was version 2.4.0.
- Download sundials-(version).tar.gz from http://www.llnl.gov/casc/sundials/
- Move the file to your MSYS home directory and unzip it using tar zxf sundials-(version).tar.gz
- cd sundials-(version)
- ./configure --prefix=/mingw
- make -j2
- make install
This process assumes you have write access to the MinGW directory hierarchy. You'll only be building the serial version of IDA, but that's OK as that's all that ASCEND has attempted to support up to now.
The result of the above process should be some static library files in c:/MinGW/lib. Static libraries are good in this particular case, as ASCEND will ultimately create its own ida.dll containing statically linked IDA code, which means that we don't need to worry about copying any other SUNDIALS-related files at install-time.