lofar-astron / DP3

DP3: streaming processing pipeline for radio interferometric data
GNU General Public License v3.0
15 stars 10 forks source link

Detection of EveryBeam #284

Closed AlexKurek closed 2 months ago

AlexKurek commented 4 years ago

As reported here: https://git.astron.nl/RD/EveryBeam/-/issues/40#note_4085

If I install like this:

mkdir -p ${INSTALLDIR}/EverBeam/build/
cd ${INSTALLDIR}/EverBeam/build/
git clone https://git.astron.nl/RD/EveryBeam.git src/
cmake -DCMAKE_INSTALL_PREFIX=${INSTALLDIR}/EverBeam/ -DCASACORE_ROOT_DIR=${INSTALLDIR}/casacore/ src/
make -j ${J}
make install
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${INSTALLDIR}/EverBeam/lib/

EveryBeam will not by detected dy DP3, unless I set -DEVERYBEAM_LIB=${INSTALLDIR}/EverBeam/lib/ in DP3's cmake.

jmmaljaars commented 4 years ago

Thanks again for reporting. This issue is only relevant for the DP3/development branch and we definitely will fix it once we get closer to a new DP3 release. As a work-around, just add the EveryBeam install directory to your DP3 CMAKE_PREFIX_PATH if you want to build DP3/development.