Benchmark Dose Software (BMDS)
Source Code Download Page
The instructions on this page will help you compile the source code to create your own copy of the current BMDS executable. While the code could be compiled for a non-Windows environment, that capability has not been tested nor is supported.
BMDS is compiled using the free and open source MinGW programming environment. MinGW, which stands for “Minimalist GNU for Windows,” provides an Open Source programming tool set that is suitable for the development of native MS-Windows applications. Follow these instructions to download and install MinGW:
- Download the MinGW (32-bit version) installer from: http://sourceforge.net/projects/mingw/files/latest/download?source=dlp. If this URL does not work, go to the MinGW project page at http://sourceforge.net/projects/mingw/ and click the Download button.
- Run the installation program: mingw-get-inst-20120426.exe and use the following settings during setup:
- On the Repository Catalogues screen, select “Download latest repository catalogues”
- On the Select Start Menu Folder screen, uncheck “Don’t create a Start Menu folder” if it checked. (The MinGW Shell shortcut will be used later to compile BMDS.)
- On the "Select Components" screen, check these items:
✓ C Compiler
✓ Fortran Compiler
✓ MSYS Basic System
✓ MinGW Developer Toolkit
- Download and unzip the BMDS sources (5.8 MB, ZIP file) into a directory where you have permission (for example, C:\USEPA). This will create a subdirectory called bmds_models (for example, C:\USEPA\bmds_models).
- Run the MinGW Shell from the shortcut created during installation. (We have not tested using the Windows command prompt to compile BMDS, although it should be possible.)
Notes regarding the MinGW Shell (MSYS):
- MSYS mimics the behavior and commands of a unix/linux shell. In particular, directory path components are separated by “/” (forward slash) instead of “\“ (backward slash)
- The top of the file tree is rooted under the MinGW installation directory, which limits the view of your Windows files by default. You can access files outside of the MSYS root by specifying the Windows drive letter at the beginning of a path name; for example, C:/.
- After make finishes, the model executables will appear in the bin subdirectory.
Optimization Algorithms Used in BMDS
Two subroutines are used for all the optimizations in BMDS.
DMNGB, written by David M. Gay, is used for all models that can be reparameterized so that BMD appears explicitly as a parameter. This routine is archived in Netlib (http://www.netlib.org ).
DONLP2 was written by P. Spellucci to solve optimization problems with non-linear constraints. It is used in cases where the model cannot be so reparameterized. DONLP2 is restricted to non-commercial use by the author's copyright. More information on the optimizer can be found at http://www.mathematik.tu-darmstadt.de/fbereiche/numerik/staff/spellucci/DONLP2/ .