[Halld-offline] new hdpm "install" command

Nathan Sparks nsparks at jlab.org
Fri May 27 09:08:30 EDT 2016

Previously the way you would install a binary distribution with hdpm was by using the “fetch-dist” command.
The “install” command replaces the “fetch-dist” command, and has the same functionality but adds an extra 
step of linking the binaries into the packages directory. This eliminates the need for a separate build settings
template for using binary packages, so the “home-dev” template has been deleted. The default (master) settings
are appropriate for hdds/sim-recon development, but can easily be adjusted to use tagged versions of hdds/sim-recon
(in settings/versions.txt) if desired.

Binary package distributions are available for CentOS 6/7 (RHEL 6/7), Ubuntu 14.04/16.04 LTS, and Mac OSX 10.11.

If you are currently using the “home-dev” template, then after updating hdpm you should select the default settings:
hdpm select master

hdpm install
installs/updates the latest pre-built packages, including hdds/sim-recon.
To list available binary distributions, do
hdpm install -l

To build your own development hdds/sim-recon, run
hdpm build sim-recon
If you have previously installed binary packages, then it will use them to fulfill dependencies for these builds.

The above commands should work anywhere the prerequisites are installed, including on the JLab CUE.
https://github.com/JeffersonLab/hdpm/wiki/Installing-Prerequisites <https://github.com/JeffersonLab/hdpm/wiki/Installing-Prerequisites>
Previously it was not possible to use the hdpm-packaged binaries to fulfill dependencies on the CUE because the lapack
library was not found in that environment (naming issue). The binary distributions now include the lapack and blas libraries,
so that is no longer an issue.

Still, for those working on the JLab CUE, it is recommended to make use of the “jlab-dev” build settings template.
This template will configure your build to use the standard halld group installations for the dependencies.
The one-liner is:
hdpm build jlab-dev
This is equivalent to:
hdpm select jlab-dev; hdpm build sim-recon


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20160527/dfaf1f3e/attachment.html>

More information about the Halld-offline mailing list