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.

2 thoughts on “FluTE makefile for wxDev-C++ (Windows)

  1. Hi Jean,

    I tried to run FluTE makefile for wxDev-C++ (Windows), unfortunately it could not be compiled.

    The message looks like
    [Linker Error] undefined reference to ‘dsfmt_chk_init_gen_rand’
    [Linker Error] undefined reference to ‘dsfmt_gen_rand_all’
    ……
    and other ‘dsfmt_xxxxx’ were undefined too.

    Do you have to know what’s up ? I followed your notes exactly.

    Thanks for your guide in advance.

    Jason

    1. Hi Jason,

      Can you check if you have the file “dSFMT.c” in your project? It should appear on the tree on the left of the wxDev-C++. I can’t think of anything else for the moment (and I don’t have the computer with the compiler anymore).

      Hope this helps.
      Jean-Etienne

Comments are closed.