[   ]

HYDROTHERM

Linux Platform

Installing the Software

The installation of the HT software normally only involves uncompressing and unpacking the distribution. First create and change to the directory chosen for installing HYDROTHERM. The minimum disc space required to install HYDROTHERM is 33 MB. Note that the distribution package will unpack into a top level directory named HT. Several subdirectories will be created. This download is in compressed tar format. To unpack, use a command like:
gunzip ht-3.r.p.tar.gz | tar -xvf - or
tar -xzf ht-3.r.p.tar.gz

After the installation process has finished, the HYDROTHERM simulator can be tested using the examples located in the HT/examples subdirectory. Each example with input data and selected output files is located in its own subdirectory. The example input and output files are provided with the suffix .orig. Note that the executable program files are invoked by moving up two directory levels from the example file locations and over to the bin directory.

For example:

  1. Change to one of the examples/Ex. directories.
  2. Run the example by invoking HYDROTHERM, ../../bin/ht, and entering the name of the data file and a suffix for the output files when prompted.
  3. Compare the results to the output files provided.

Building the Simulator Executable

This section describes how to build and install the HYDROTHERM executable code for the stand-alone simulator only. Building the executable normally follows making changes to the source code. Prerequisites for building are a Fortran-90 compiler and a Basic Linear Algorithm Subroutines (BLAS-1) library. Please see the README and INSTALL files in the distribution package for the applicable operating system. They contain the most up-to-date information and instructions.
To build HYDROTHERM from source code:

  1. Change the working directory to HT/src.
  2. Edit the Makefile in the src directory to specify the local Fortran compiler and appropriate compiler flags.
  3. Type make all to compile the executable file.
  4. Type make install to install the executable file into the desired location.

Uninstalling the Software

Remove the software with the following steps:

  1. Change working directory to the one containing the top-level installation directory, HT.
  2. Remove the installed program package using a command like:
    rm -rf HT


[Home]
[Previous]


URL: http://wwwbrr.cr.usgs.gov/projects/GW_Solute/hydrotherm/pages/HT_linux_install.shtml
Contact:klkipp@usgs.gov

Last modified: 8 Feb 2008


40