Install Windows Executable

 

Install Dakota from a Windows Command Prompt

  1. Download Dakota.
  2. Extract archive file into suitable install location, e.g. "C:\Users\username\Dakota".
  3. Set path to your executable.
    1. Open the cmd.exe terminal window.
    2. At command prompt, type the follwing command to set the path.

      path=%path%;%install_dir%\Dakota\bin;%install_dir%\Dakota\test

      where %install_dir% is the path to your Dakota installation, e.g. "C:\Users\username\Dakota"

  4. Test your installation.

Install Dakota from a Cygwin terminal.

  1. Download Dakota zip file. Find location of downloaded file, e.g., "C:\Users\username\Downloads".
  2. Open the Cygwin terminal window.
  3. Unzip Dakota zip file and extract into suitable install location. For example, if the zip file is in "C\:Users\username\Downloads", and you want to install Dakota in /cygdrive/c/Users/username/Dakota, type the following commands:
    $ cd /cygdrive/c Users/username
    $ unzip /cygdrive/c/Users/username/Downloads/dakota-CYGWIN.i686.zip
    $ mv dakota.CYGWIN.i686 Dakota
  4. Set environment variables to find Dakota executables and libraries. If you installed Dakota in /cygdrive/c/Users/username/Dakota, type the following to set your environment variables.
    $ INSTALL_DIR=/cygwin/c/Users/Dakota
    $ export PATH=$INSTALL_DIR/bin:$INSTALL_DIR/test:$PATH
    $ export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH
  5. Set LC_ALL environment variable.
    $ export LC_ALL="C"
  6. Test your installation.