LHS is one library of Sandia National Laboratory's Dakota package. LHS is licensed as LGPL-2.1-or-later
- download mingw at http://www.mingw.org/wiki/Getting_Started
- install and add the "bin" folder in mingw installation to path setting (e.g. set path = %PATH%;c:\mingw\bin)
- install gfortran per "mingw-get install fortran gdb"
- open a command window in the lhs\src folder
- run "mingw32-make" and lhs.exe should be made in the current folder
- copy lhs.exe to deploy\runtime\bin folder in the SAM executable distribution
- make sure gcc and gfortran are installed on your system
- run "make" in the lhs/src folder and lhs.bin should be made in the current folder
- the lhs.bin file will be copied to the SAM distribution when make is issued in SAMnt