Fountain Installation

Supported Systems

Fountain can be built on Linux and Mac OS X. The FountainDaemons? monitoring back-end currently only supports Linux, though they will build fine on Mac OS X they will not provide any useful information. The FountainServer? and FountainClients? can be run on either Linux or Mac OS X.

Dependencies

Fountain depends on the following libraries:

Install from Subversion

If you obtained the Fountain source code from the Subversion repository, you will need the GNU autotools to generate the configure script. Run the included autogen.sh script to bootstrap the configure script.

Install from tarball

  1. ./configure
  2. make
  3. make install

Notes

Due to its use of the Loki library, Fountain requires the use of gcc 3.4 or later. Earlier versions of gcc or other compilers are untested and not supported. Some versions of gcc 3.3 will work fine, but they have not been extensively tested. We suggest you upgrade your compiler to at least gcc 3.4.

Mac OS X

10.4.x

When using the Apple Developer Tools that come with Mac OS 10.4 Tiger (including gcc 4.0.0) I ran into compilation issues when compiling the SmartPtr.h Loki header, it does not understand the uintptr_t type. You will need to grab the Dev Tools 2.2.1 update which includes g++ 4.0.1 and seems to fix this.

Linux

no issues yet

Install/build on RHEL4

install xerces-c and pcre-devel (you may need to add some apt/yum/whatever repository for xerces-c)

  1. up2date -i pcre-devel xerces-c-devel
  2. wget http://www.selenic.com/mercurial/release/mercurial-0.9.1.tar.gz
  3. tar zxvf mercurial-0.9.1.tar.gz
  4. cd mercurial && python setup.py install && cd ..
  5. hg clone http://source.scl.ameslab.gov/hg/libbamboo
  6. cd libbamboo && ./autogen.sh && ./configure CPPFLAGS=-I/usr/include/pcre
  7. make && make install && cd ..
  8. hg clone http://source.scl.ameslab.gov/hg/fountain
  9. cd fountain && ./autogen.sh
  10. ./configure CPPFLAGS="-I/usr/include/pcre" --with-infiniband=/usr/local/ofed/ --disable-nodes --disable-client LDFLAGS="-L/usr/local/ofed/lib64"
  11. make && make install
  12. cat > /etc/ld.so.conf.d/fountain.conf

/usr/local/lib

  1. ldconfig
  2. /usr/local/sbin/fountainServer