Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Compile HTCondor 9.2.0 on Power9 RHEL 7.6

Code Block
## Dependencies
- pcre@8.44
- libpam@1.09
- libuuid@1.0.3
- boost@1.66.0
- scitokens@0.6.3 (git@github.com:scitokens/scitokens-cpp.git)

## Patch instructions

### Boost
- update: SRC/externals/bundles/boost/1.66.0/CMakeLists.txt
  - Comment the if condition 68-76
  - add  
  find_package( Boost COMPONENTS ${BOOST_COMPONENTS} )
  set(USE_SYSTEM_BOOST True)
  

### Environment variables
export dependency_dir=/usr/WS2/iopp/software/spack/var/spack/environments/condor-build/.spack-env/view/
export scitokens_dir=/usr/workspace/iopp/software/scitokens-v0.6.3/install

## Instalation instructions

git clone git@github.com:htcondor/htcondor.git
cd htcondor
git checkout tags/V9_2_0
mkdir build-main
export SRC_DIR=$PWD
cd build-main
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=../release -DWITH_VOMS:BOOL=OFF -DWITH_GLOBUS:BOOL=OFF -DWITH_LIBVIRT:BOOL=OFF -DHAVE_EXT_BOOST:BOOL=OFF -DCMAKE_PREFIX_PATH="$dependency;$scitokens_dir" -DCMAKE_CXX_FLAGS="-I$scitokens_dir/include" -DWITH_PYTHON_BINDINGS=OFF ..
make -j

cp /usr/share/automake-1.13/config.* externals/bundles/libcgroup/0.41/libcgroup-prefix/src/libcgroup

make -j
make install
cd ../release/
./condor_configure --install --make-personal-condor --prefix=$SRC_DIR/install

chmod +x ../install/condor.sh
cp ../install/condor.sh ../install/bin/condor.sh
Code Block
languagebash
$ cat /usr/WS2/iopp/software/htcondor-V9.2/install/local.lassen708/condor_config.local
CONDOR_ADMIN = hariharandev1@llnl.gov
ALLOW_WRITE = *
ALLOW_READ = *
SEC_PASSWORD_FILE = /usr/workspace/iopp/software/htcondor-V9.2/install/etc/condor/passwords.d/POOL
SEC_PASSWORD_DIRECTORY = /usr/workspace/iopp/software/htcondor-V9.2/install/etc/condor/passwords.d
LOCAL_CONFIG_DIR = /usr/WS2/iopp/software/htcondor-V9.2/install/local.lassen708

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.

...