We need to either detect which IDA/SUNDIALS we have and disallow 2.4.0, or we should see if we can re-institute support for 2.4.0. As I recall it there was a bug with boundary traversal in 2.4.0, so maybe it's best to just disallow 2.4.0 in the SCons scripts.

I have been looking at SUNDIALS just now and I see that 2.5.0 is available and that it has some changes to the Dense Matrix API that we're using currently (and which we should try to change to a suitable sparse API if we can). This means that we can't support both 2.5.0 and 2.4.0 easily (and we have already lost support for 2.3.0 due to the recent boundary-crossing work and a but that was there in SUNDIALS 2.3.0).

I have made some changes in Trunk to currently support only 2.4.0, and I propose that we take a look and see what we can do to add support for 2.5.0 in future.