Skip to main content
U.S. flag

An official website of the United States government

Here’s how you know

Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

HTTPS

Secure .gov websites use HTTPS
A lock (LockA locked padlock) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

    • Environmental Topics
    • Air
    • Bed Bugs
    • Cancer
    • Chemicals, Toxics, and Pesticide
    • Emergency Response
    • Environmental Information by Location
    • Health
    • Land, Waste, and Cleanup
    • Lead
    • Mold
    • Radon
    • Research
    • Science Topics
    • Water Topics
    • A-Z Topic Index
    • Laws & Regulations
    • By Business Sector
    • By Topic
    • Compliance
    • Enforcement
    • Laws and Executive Orders
    • Regulations
    • Report a Violation
    • Environmental Violations
    • Fraud, Waste or Abuse
    • About EPA
    • Our Mission and What We Do
    • Headquarters Offices
    • Regional Offices
    • Labs and Research Centers
    • Planning, Budget, and Results
    • Organization Chart
    • EPA History

Breadcrumb

  1. Home
  2. Benchmark Dose Tools

Benchmark Dose Software (BMDS) Version 2.7 - Download Source Code

BMDS 2.7 is no longer under active development. With a few exceptions, most models are now maintained in BMDS Online.

The instructions on this page will help you compile the BMDS 2.7 source code to create your own copy of the BMDS 2.7 executable. While the code could be compiled for a non-Windows environment, that capability has not been tested nor is it supported.

We suggest downloading these files only if you are a programmer interested in reviewing or commenting on the BMDS model programs. Please contact BMDS Support with questions about the source code files.

On this page:
  • Download and Install the Programming Environment
  • Download and Compile the BMDS Source Code
  • Optimization Algorithms Used in BMDS

Download and Install the Programming Environment

BMDS is compiled using the free and open source Minimalist GNU for Windows (MinGW) programming environment. MinGW provides an open source programming tool set that is suitable for the development of native MS-Windows applications.

To download and install MinGW:
  1. Download the MinGW (32-bit version) installer. If that link does not work, go to the MinGW project pageand click the Download button.
  2. Run the installation program mingw-get-inst-20120426.exe. 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 is 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 Compile the BMDS Source Code

  1. Download the BMDS models source code (5.8MB) (zip) (5.66 MB) .
  2. Unzip the BMDS sources into a directory where you have write permission (for example, C:\USEPA). This will create a subdirectory called bmds_models (for example, C:\USEPA\bmds_models).
  3. 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:/.
  4. Change directory (cd) to the bmds_models directory and run the make command. For example:
    $ cd c:/USEPA/bmds_models
    $ make
  5. After the make process 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 .
  • 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.

Benchmark Dose Tools

  • About Benchmark Dose Software (BMDS)
  • Benchmark Dose Tools Suite
  • BMDS Training and Resources
  • BMDS Mailing List
Contact Us About Benchmark Dose Tools
Contact Us to ask a question, provide feedback, or report a problem.
Last updated on December 11, 2024
  • Assistance
  • Spanish
  • Arabic
  • Chinese (simplified)
  • Chinese (traditional)
  • French
  • Haitian Creole
  • Korean
  • Portuguese
  • Russian
  • Tagalog
  • Vietnamese
United States Environmental Protection Agency

Discover.

  • Accessibility Statement
  • Budget & Performance
  • Contracting
  • EPA www Web Snapshot
  • Grants
  • No FEAR Act Data
  • Plain Writing
  • Privacy
  • Privacy and Security Notice

Connect.

  • Data
  • Inspector General
  • Jobs
  • Newsroom
  • Regulations.gov
  • Subscribe
  • USA.gov
  • White House

Ask.

  • Contact EPA
  • EPA Disclaimers
  • Hotlines
  • FOIA Requests
  • Frequent Questions
  • Site Feedback

Follow.

Environmental Protection Agency logo
www.epa.gov Feedback Survey

Welcome! Please share your feedback on how we can make www.epa.gov work better for you.

A red asterisk (*) indicates a required field.

Success

Thank you. Your feedback has been received.

Error

alert message

Required Questions - page 1 of 2
question_55203_answer_01
*

400 characters allowed
Would you like to take two more minutes to answer more questions to help us improve our services?
Yes, keep going →
← Back
Optional questions - page 2 of 2
How would you describe yourself?
400 characters allowed
400 characters allowed
400 characters allowed
U.S. flag

An official form of the United States government. Provided by Touchpoints
OMB Approval #1090-0008 · Expiration Date 11/30/2027