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:
- Xerces XML http://xml.apache.org/xerces-c
- PCRE Regular Expression http://sourceforge.net/project/showfiles.php?group_id=10194
- zlib compression http://www.zlib.net/
- OpenSSL http://www.openssl.org/
- Bamboo Library
- OpenFabrics Libraries (optional, only for InfiniBand support) http://www.openfabrics.org/
- Loki Library (optional, the required Loki sources are included with Fountain) https://sourceforge.net/projects/loki-lib/
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
- ./configure
- make
- 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)
- up2date -i pcre-devel xerces-c-devel
- wget http://www.selenic.com/mercurial/release/mercurial-0.9.1.tar.gz
- tar zxvf mercurial-0.9.1.tar.gz
- cd mercurial && python setup.py install && cd ..
- hg clone http://source.scl.ameslab.gov/hg/libbamboo
- cd libbamboo && ./autogen.sh && ./configure CPPFLAGS=-I/usr/include/pcre
- make && make install && cd ..
- hg clone http://source.scl.ameslab.gov/hg/fountain
- cd fountain && ./autogen.sh
- ./configure CPPFLAGS="-I/usr/include/pcre" --with-infiniband=/usr/local/ofed/ --disable-nodes --disable-client LDFLAGS="-L/usr/local/ofed/lib64"
- make && make install
- cat > /etc/ld.so.conf.d/fountain.conf
/usr/local/lib
- ldconfig
- /usr/local/sbin/fountainServer
