Hi,
I'm using HTCondor-CE here at our T2 grid site. I did not find
htcondor-ce-bdii-3.2.0-1.el7.centos.noarch.rpm in the OSG repo, e.g.
http://repo.opensciencegrid.org/osg/3.2/el7/development/x86_64/
Hence I had to make it from scratch (please see below.)
This took a lot of time. I'm sure there must be an easier way to get
hold of htcondor-ce-bdii-3.2.0-1.el7.centos.noarch.rpm
Does anybody know how this product is managed?
Cheers,
Ste
------------------------------------------------
ÂÂ Making the HTCondor-CE RPMs (to get the BDII rpm)
Ordinarily, once might expect the htcondor-ce-bdii rpm to be in the
OSG release repositories, for example:
http://repo.opensciencegrid.org/osg/3.2/el7/development/x86_64/
Although the htcondor-ce components are there, the bdii component is
not. So since the HTCondor-CE BDII rpm is not available, I made the
whole system, from source. Here are my notes for doing so. BTW: It
might be worth checking at OSG, CERN or elsewhere to see if the BDII
RPM is now part of the release. If so, you can get them directly from
one of those places. Anyway, this is the run down to make your own.
On some CentOS7.n system software development system, make a user
called rpmuser and install the rpm, boost-devel and cmake packages.
Clone the htcondor-ce git repo.
# mkdir dev
# cd dev
# git clonehttps://github.com/opensciencegrid/htcondor-ce
Find the commit tag associated with 3.2 (Note: It is
a9c1104febcbaf20a8380284d9d1213eb504afa5)
# cd htcondor-ce/
# git log > /tmp/log
# vi /tmp/log
Prepare the source material;
# cd ..
# mv htcondor-ce/ htcondor-ce-3.2.0
# tar -cvf htcondor-ce-3.2.0.tar htcondor-ce-3.2.0/
# gzip htcondor-ce-3.2.0.tar
# cp htcondor-ce-3.2.0.tar.gz ~/rpmbuild/SOURCES/
# cp htcondor-ce-3.2.0/rpm/htcondor-ce.spec ~/rpmbuild/SPECS/
Make the RPMs
# cd ~/rpmbuild/SPECS/
# rpmbuild -ba htcondor-ce.spec
The rpms will wind up in ~/rpmbuild/RPMS/noarch/htcondor-ce-*
# ls -rt ~/rpmbuild/RPMS/noarch/htcondor-ce-*
htcondor-ce-3.2.0-1.el7.centos.noarch.rpm
htcondor-ce-bdii-3.2.0-1.el7.centos.noarch.rpm
htcondor-ce-view-3.2.0-1.el7.centos.noarch.rpm
htcondor-ce-condor-3.2.0-1.el7.centos.noarch.rpm
htcondor-ce-pbs-3.2.0-1.el7.centos.noarch.rpm
htcondor-ce-lsf-3.2.0-1.el7.centos.noarch.rpm
htcondor-ce-sge-3.2.0-1.el7.centos.noarch.rpm
htcondor-ce-slurm-3.2.0-1.el7.centos.noarch.rpm
htcondor-ce-bosco-3.2.0-1.el7.centos.noarch.rpm
htcondor-ce-client-3.2.0-1.el7.centos.noarch.rpm
htcondor-ce-collector-3.2.0-1.el7.centos.noarch.rpm
Put these in the local repo.
Special note: whenever you put an rpm into the local repo, you have to
run this command in that directory.
# createrepo .