Set Windows Environment

You will likely want to set the path to the Dakota executable. The following setup will make the dakota.exe command and other helper programs available at the command prompt. If you prefer you may refer to the dakota.exe executable using its fullly-qualified path. Note, however, that some examples will require modification to work properly if dakota.exe and related helper programs are not on your path.

  1. Click the Start button and type 'cmd' in the 'Search program and files' text box to open cmd.exe.
  2. At the command prompt, type the following command, replacing %install_dir% with the path to your Dakota installation:
    set path=%path%;%install_dir%\bin;%install_dir%\test;%install_dir%\lib
  3. Optionally, to install the dakota Python package, also perform:
    set PYTHONPATH=%PYTHONPATH%;%install_dir%\share\dakota\Python
  4. These changes are active as long as the current terminal window is open. To make them persistent, edit the system environment variables in the Windows system settings. This operation differs slightly from version to version of Windows. Consult the documentation for the one you use.