Tag: mingw

FluTE makefile for wxDev-C++ (Windows)

FluTE is an influenza epidemic simulation model written by Dennis L. Chao at CSQUID. It works out-of-the box on GNU/Linux (just type make and run it).

I wanted to see how it works. But since I’m temporarily stuck with a Windows laptop, I downloaded a free C++ compiler for Windows (wxDev-C++), imported all the files in a project and compiled. For those who want to try, here is the project file and the specific makefile in a zip file (2 kb). Just decompress the FluTE archive (I used version 1.15), copy the two files from the zip file above and launch the IDE. In the project options (Alt+P), specify the custom makefile (in the "Makefile" tab) as the one from the zip file above. Compile (Ctrl+F9). Done.

On my Intel Core2 Duo T5450 (2Gb RAM), it took 6 minutes to simulate the "two-dose" example.

Please note that I didn’t try to compile with OpenMPI. Maybe for next time.