Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
public:user_software:dal [2011-10-17 16:21] – created Lars Bahren | public:user_software:dal [2017-03-08 15:27] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== User Software :: Data Access Library (DAL) ====== | ====== User Software :: Data Access Library (DAL) ====== | ||
- | ==== Getting the source code ==== | + | ==== DAL v2 ==== |
- | As of Feb 15, 2001 there are two ways in which to retrieve, build and install the | + | The new DAL (DAL v2) is available from the same github location as the original DAL: https:// |
+ | It is also used by the LOFAR RTCP beamformer and TBB data writers. | ||
+ | For more information, | ||
+ | |||
+ | |||
+ | --------------------------------------------------------------------------------------------------------------------- | ||
+ | |||
+ | **The information below refers to the DAL (v1).** Its repository has been moved into https:// | ||
+ | The LUS still contains DAL v1. | ||
+ | |||
+ | |||
+ | ==== Getting the source code (DAL v1) ==== | ||
+ | |||
+ | As of Feb 15, 2011 there are two ways in which to retrieve, build and install the | ||
DAL: | DAL: | ||
Line 19: | Line 32: | ||
make dal | make dal | ||
</ | </ | ||
+ | |||
+ | ==== Configuration, | ||
+ | |||
+ | The DAL uses the CMake (www.cmake.org) Cross-Platform Makefile Generator for | ||
+ | configuration and control of the build. | ||
+ | |||
+ | Once your checkout from the Git repository is complete you will have a directory | ||
+ | structure on disk as described in section " | ||
+ | above. | ||
+ | <code bash> | ||
+ | cd DAL | ||
+ | mkdir build | ||
+ | cd build | ||
+ | cmake .. | ||
+ | make | ||
+ | </ | ||
+ | The default installation location is "/ | ||
+ | you can tell CMake so by using | ||
+ | <code bash> | ||
+ | cmake -D DAL_INSTALL_PREFIX=< | ||
+ | </ | ||
+ | The CMake scripts will check a number of standard locations for the required | ||
+ | 3-party packages (such as Boost, HDF5, etc.), but if you are using a custom | ||
+ | version installed at a non-standard location, you might need to aid CMake in | ||
+ | finding all required components: | ||
+ | <code bash> | ||
+ | cmake -DHDF5_ROOT_DIR=< | ||
+ | </ | ||
+ | In to install the DAL you will have to run | ||
+ | <code bash> | ||
+ | make install | ||
+ | </ | ||
+ | from within the build directory. Depending on whether you are installing into a | ||
+ | local directory or into a system-directory, | ||
+ | required. | ||
+ | |||
+ | In order to maintain compatibility with the Filesystem Hierarchy Standard (FHS) | ||
+ | the following default installation layout has been defined: | ||
+ | < | ||
+ | /opt | ||
+ | └── dal CMAKE_INSTALL_PREFIX | ||
+ | ├── bin DAL_INSTALL_BINDIR | ||
+ | ├── include | ||
+ | │ | ||
+ | │ | ||
+ | │ | ||
+ | │ | ||
+ | ├── lib DAL_INSTALL_LIBDIR | ||
+ | └── share | ||
+ | └── doc | ||
+ | └── html | ||
+ | </ | ||
+ | However the installation configuration can be tailored depending on your personal | ||
+ | needs: | ||
+ | |||
+ | - //Default settings.// \\ If no further command line parameter are provided, the installation will be done according to the above described structure. | ||
+ | - //Custom installation prefix.// \\ In order to install into an existing standard directory structure -- such such as e.g. "/ | ||
+ | -D DAL_INSTALL_PREFIX=< | ||
+ | </ | ||
+ | - // | ||
+ | -D LUS_INSTALL_PREFIX=$LOFARSOFT/ | ||
+ | </ | ||
+ | |||
+ | For further details and additional configuration options, consult the Doxygen-based | ||
+ | documentation. | ||
\\ | \\ | ||
---- | ---- | ||
<- [[public: | <- [[public: |