Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.24 KB

INSTALL.md

File metadata and controls

44 lines (34 loc) · 1.24 KB

di 16 apr 2024 23:59:13 CEST

ShapeletGUI Installation

Pre-requisites:

Libraries: cfitsio, wcslib, fftw, openblas and GUI: QT development tools. In Ubuntu 20.04: libcfitsio-dev, wcslib-dev, libopenblas-dev, libfftw3-dev and QT development packages including qmake.

Download and unpack the source:

Get the source from here.

Compile the binary (cmake)

Using cmake it is simple as the following:

 mkdir build && cd build
 cmake ..
 make

CUDA support

Build with CUDA using cmake, something like

cmake -DHAVE_CUDA=ON -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc -DCMAKE_CUDA_ARCHITECTURES=75 ..

Compile the library (without cmake)

  • change to src/lib
  • edit Makefile
  • change WCSI to point to wcslib include files (wcs.h)
  • change WCSL to point to wcslib library (libwcs.so)
  • also change INCLUDES and LIBPATH to find cfitsio headers (fitsio2.h) and lib (libcfitsio.so)
  • type "make libshapelet.a"

Compile the GUI (without cmake)

  • change to src/shapeletGUI
  • edit shapeletGUI.pro file
  • change INCLUDEPATH and LIBS to include wcslib and cfitsio (same as step 2)
  • type "qmake"
  • type "make clean"
  • type "make"

Start using the program "shapeletGUI"