For Installing HARNESS and FT-MPI, please use the following guideline.
In case of any further problems, please contact 

   harness@cs.utk.edu
   ftmpi@cs.utk.edu

   or read the help pages at:

   http://icl.cs.utk.edu/ftmpi
   http://icl.cs.utk.edu/harness


1. Make sure, all environment-variables required by HARNESS are set/known 
   **before** configuring/compiling HARNESS. A complete list of the required 
   environment variables can be found in the Harness/hcore/envs.sh 
   or  Harness/hcore/envs.csh file.

2. Run configure

  e.g
  bash>./configure 

  Some further options of configure can be determined by using
  Please note, that the --prefix flag has no effect on HARNESS,
  since the installation directory is always the same directory
  like the one, where the compilation is done.

  bash>./configure --help
  Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-ssl            use SSL-libraries for authentication default=no
  --enable-tuned-collective
                          enable/disable the optimized global operations
                          (default enabled)
  --enable-pragma-weak    enable pragma weak for the profiling interface
  --enable-xdr            use xdr for data conversion (default no)
  --enable-debug          enable -g option for the compiler (default no)
 
Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-ssl-dir=SSLDIR   give the path for OpenSSL /usr/local/ssl
  --with-ssh=SSH                  remote startup method (default ssh)
 
Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  F77         Fortran 77 compiler command
  FFLAGS      Fortran 77 compiler flags
  CPP         C preprocessor
 
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

 
3. compile Harness-FTMPI by typing
   bash>make 

   compiling the C++ interface:
   bash>make c++

Note: 
   - the library will be installed in 
         ${HARNESS_ROOT}/lib/${HARNESS_ARCH}

   - scripts for generating FT-MPI executables
     (ftmpicc, ftmpif77, ftmpiCC) are located in 
         ${HARNESS_ROOT}/bin/${HARNESS_ARCH}

   - typing 'make clean' will remove **all** data
     and executables from the 
       ${HARNESS_ROOT}/bin/${HARNESS_ARCH}

     directories. This includes ftmpicc, ftmpif77 and ftmpiCC.
     Therefore, currently, you have to rerun configure
     after calling make clean. This problem will be fixed
     in the next release.
    
   

