bluemodel / BlueM.Opt

BlueM.Opt is an optimization framework that can be coupled with an arbitrary simulation software.
https://wiki.bluemodel.org/index.php/BlueM.Opt
GNU General Public License v3.0
2 stars 1 forks source link

SWMM simulations don't work when running as x64 #231

Open jamaa opened 1 year ago

jamaa commented 1 year ago

Since v1.9.2, BlueM.Opt is only released as a x64 version. When running as x64, SWMM simulations fail with the message

There was an error during dll loading : [...]\SWMM\temp\SWMM501.dll, error - 193

This is most likely due to the fact that the native SWMM5.dll currently included in BlueM.Opt was compiled for x86.

To fix:

jamaa commented 1 year ago

Actually, SWMM.DLLAdapter already seems incompatible with SWMM v5.1.0.15 (see #1), so there will definitely be work involved to update to v5.2.

Unless someone steps in to work on this, I guess we will just have to remove SWMM from BlueM.Opt.