Herein are some tools for associating pick arrivals whose phase is known. The method effectively migrates differential travel times.
This section outlines the build instructions though your mileage may vary depending on particulars of your system.
The following dependencies must be satisified prior to building the code.
- A C++17 compliant C++ compiler.
- CMake version 3.10 or greater.
- GTest for unit testing.
- Boost. I've only used the version 1.70 or greater but I expect older versions would be okay.
- DAAL for the DBSCAN clustering algorithm.
- MKL for a LAPACK/BLAS implementation.
Optional
- TBB for a portable threading implementation.
The build instructions are as follows:
Download the code:
git clone https://github.com/uofuseismo/massociate.git
Descend into massociate
cd massociate
Configure the software. Typically I'll use a script to pass variables into CMake. On OSX I might do
#!/bin/bash
export CXX=/usr/bin/clang++
export MKL_ROOT=/opt/intel/mkl
export DAAL_ROOT=/opt/intel/parallel_studio_xe_2020.0.015/compilers_and_libraries_2020/mac/daal/
export BUILD_DIR=build
export BOOST_ROOT=/usr/local/boost-1.70.0
if [ -d ${BUILD_DIR} ]; then
rm -rf ${BUILD_DIR}
fi
mkdir ${BUILD_DIR}
cd ${BUILD_DIR}
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="-g -Wall" \
-DDAAL_INCLUDE_DIR=${DAAL_ROOT}/include \
-DDAAL_CORE_LIBRARY=${DAAL_ROOT}/lib/libdaal_core.dylib \
-DDAAL_SEQUENTIAL_LIBRARY=${DAAL_ROOT}/lib/libdaal_sequential.dylib
Following a successful configuration just type
make
Install the softare (didn't try this one yet)
make install
Should you have permissions problems then preface the above command with sudo.