Compile HTCondor 8.4.3 on SLES 11 SP4
Here are some notes on compiling HTCondor 8.4.3 on SUSE Linux Enterprise Server 11 SP4.
I used this guide: https://htcondor-wiki.cs.wisc.edu/index.cgi/wiki?p=BuildingHtcondorOnUnix
- Launch an SLES 11 SP4 image from the AWS Marketplace on Amazon EC2. I used an m3.xlarge instance type.
- # zypper in git gcc gcc-c++ pcre-devel cmake boost-test boost-devel libcurl-devel python-devel libicu-devel openssl-devel libuuid-devel libxml2-devel pam-devel libexpat-devel bison flex mozilla-nss mozilla-nss-devel openldap2 openldap2-devel xorg-x11-libX11-devel autoconf automake libtoolize libcares-devel krb5-devel pkg-config
- $ git clone https://github.com/htcondor/htcondor.git
- $ cd htcondor
- $ git checkout V8_4_3
- # I was not able to get the CREAM support to compile, so I turned it off
# Also, I had problems with the glibc external for standard universe, so I ran with CLIPPED on
$ ./configure_uw -DCLIPPED:BOOL=ON -DWITH_CREAM:BOOL=OFF - $ make install
# Note that the make package target doesn't produce a correct package (lib/condor and libexec/glite/lib are missing), thats why you need to tar it up yourself - Get coffee...
- $ mv release_dir condor-8.4.3-sles11
- $ tar czvf condor-8.4.3-sles11.tar.gz condor-8.4.3-sles11
HTCondor on Bluewaters
Some notes to compile HTCondor from source for Bluewaters
- Download HTCondor source from website. We tried it with 8.5.5
- install the following packages
- PCRE
- libpam
- libuuid
- make sure certain modules like boost and globus are loaded in your environment
- module add boost
- module add globus
- Update CMAKE prefix to point to dependencies in step 1 . you may have to install newer version of CMAKE
- export CMAKE_PREFIX_PATH=/u/training/instr006/SOFTWARE/install/pcre-7.6/:/u/training/instr006/SOFTWARE/install/pcre/:/u/training/instr006/SOFTWARE/install/libpam/1.3/:/u/training/instr006/SOFTWARE/install/libuuid/
- Set Compiler Flags before compiling
export CC=gcc
export CXX=g++
export CFLAGS=-I/u/training/instr006/SOFTWARE/install/pcre-7.6/include
export CXXFLAGS=-I/u/training/instr006/SOFTWARE/install/pcre-7.6/include
export LDFLAGS=-L/u/training/instr006/SOFTWARE/install/pcre-7.6/lib
- Build condor
- rm -rf condor-8.5.5; (tar xzf condor_src-8.5.5-all-all.tar.gz && cd condor-8.5.5 && rm -rf src/nordugrid_gahp && cmake -DUW_BUILD:BOOL=TRUE -D_VERBOSE:BOOL=TRUE -DBUILDID:STRING=BW -DCLIPPED:BOOL=ON -DWITH_BLAHP:BOOL=TRUE -DWITH_CREAM:BOOL=OFF -DWANT_MAN_PAGES:BOOL=FALSE -DCMAKE_INSTALL_PREFIX:PATH=${PWD}/release_dir && make && make install) 2>&1 | tee build.log
- # one successfully built, install condor
cd release_dir
./condor_configure --install --make-personal-condor --prefix=/u/training/instr006/SOFTWARE/install/condor/8.5.5
- sds
As of August 18th, HTCondor is currently running on the login nodes
To use that installation do:
source /projects/eot/bafu/setup.sh