Skip to content
forked from ajameson/dedisp

CUDA Based De-dispersion library

Notifications You must be signed in to change notification settings

cpviolator/dedisp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dedisp

This repositry is derived from Ben Barsdell's original GPU De-dedispersion library (code.google.com/p/dedisp)

Installation Instructions (CMake):

Using command line CMake

  1. git clone https://github.com/ajameson/dedisp.git
  2. mkdir build; cd build

Using command line CMake, choose relevant ON/OFF values, ## two digit CUDA architecture, and optional install path

  1. cmake -DDEDISP_USE_TEXTURE=ON \ -DDEDISP_BUILD_TESTS=ON \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_CUDA_ARCHITECTURES=70 \ -DCMAKE_INSTALL_PREFIX="/path/to/install" \ -DCMAKE_CUDA_COMPILER="/path/to/nvcc" ../dedisp

Alternatively, use the CMake GUI via

  1. ccmake ../dedisp

Last, make (and install) the componenets

  1. make -j install

Using Makefile

  1. git clone https://github.com/ajameson/dedisp.git
  2. Update Makefile.inc with your CUDA path, Install Dir and GPU architecture. e.g.
    • CUDA_PATH ?= /usr/local/cuda-12.4
    • INSTALL_DIR = $(HOME)/opt/dedisp
    • GPU_ARCH = sm_60
  3. make && make install

Either of these will build a shared object library named libdedisp.so which is a prerequisite for Heimdall. The dedisp header files will be installed into INSTALL_DIR/include, the test and runtime library into INSTALL_DIR/lib. The CMake method will build static libraries libdedisp.a, libdedisp_test.a or a shared libraries libdedisp.so, libdedisp_test.so via the CMake variable BUILD_SHARED_LIBS. Install locations are unchanged, with the additions that the test executable will be placed into INSTALL_DIR/bin and libdedisp_test.a/so will be placed in INSTALL_DIR/lib. CMake's usual boiler plate configuration files are in the CMake default paths.

About

CUDA Based De-dispersion library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cuda 43.7%
  • C 26.1%
  • C++ 15.2%
  • CSS 9.4%
  • CMake 3.4%
  • Makefile 2.2%