Skip to content

Latest commit

 

History

History
92 lines (84 loc) · 2.28 KB

SoftwareStack.md

File metadata and controls

92 lines (84 loc) · 2.28 KB

The LWA Pulsar Stack

Pulsar data reduction software (and versions) currently avaliable on the LWA Users Computing Facility (LWA Memo #193). This is in addition to the LWA Software Library and the pulsar extension.

TEMPO

http://tempo.sourceforge.net/

git clone git://git.code.sf.net/p/tempo/tempo
git checkout 61c8011b0477f005dd4f05ad037fae83c51eafb4
./prepare
./configure
make
sudo make install

PRESTO

https://www.cv.nrao.edu/~sransom/presto/

git clone https://github.com/scottransom/presto.git
git checkout v4.0
cd src
make

psrfits_utils

git clone https://github.com/lwa-project/psrfits_utils.git
git checkout d26cac580477a2f2148e1a69fe70178747bf7ed1
./prepare
PYTHON_VERSION="3.10" ./configure
make
sudo make install
sudo mv /usr/local/local/lib/python3.10/dist-packages/psrfits_utils /usr/local/lib/python3.10/dist-packages/
sudo rm -rf /usr/local/local

EPSIC

git clone https://github.com/straten/epsic.git
git checkout 3972cfa1074749727af80409b5ea6994e15a7861
cd src/
./bootstrap
./configure
make
sudo make install

PSRCAT

https://www.atnf.csiro.au/research/pulsar/psrcat/

wget https://www.atnf.csiro.au/research/pulsar/psrcat/downloads/psrcat_pkg.tar.gz
tar xzvf psrcat_pkg.tar.gz
mv psrcat_tar psrcat
chmod +x makeit
./makeit
sudo cp psrcat /usr/local/bin/

PSRCHIVE

http://psrchive.sourceforge.net/

git clone git://git.code.sf.net/p/psrchive/code
git checkout caa9618401000d3a1e1eab434faed0e762d75cd0
unset TEMPO2
./bootstrap
cd Util/epsic
git checkout 3972cfa1074749727af80409b5ea6994e15a7861
cd src
./bootstrap
cd ../../..
PYTHON=/usr/bin/python3.10 ./configure --enable-shared --disable-tempo2 --with-psrcat=/usr/local/psrcat/
make
sudo make install

DSPSR

http://dspsr.sourceforge.net/

git clone git://git.code.sf.net/p/dspsr/code
git checkout 78837839501bec6f5af3cfd8e0b8b19c1c84e8e3
unset TEMPO2
sed -e 's/mwa/lwa mwa/g' -i ./config/backends.default 
./bootstrap
PYTHON=/usr/bin/python3.10 ./configure --enable-shared --with-cuda-dir=/usr/local/cuda --with-cuda-include-dir=/usr/local/cuda/include --with-cuda-lib-dir=/usr/local/cuda/lib64
make
cd python
make clean
make
cd ..
make
sudo make install