はじめに
このページで、HEASoft の install のログについてメモを残しておきたいと思います。 xspec が python 対応したことで、微妙にハマることもありますので。
HEASoft って何?? という人は、
を一読ください。
Ubuntu
heasoft 6.31.1 on Ubuntu 18.04.6 LTS
2023.6.22
# download and unzip
mkdir -p $HOME/software/heasoft/
cd $HOME/software/heasoft/
tar -zxvf heasoft-6.31.1src.tar.gz
# set environments
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
export FC=/usr/bin/gfortran
export PERL=/usr/bin/perl
export PYTHON=$HOME/anaconda3/bin/python
# $HOME/software/heasoft/heasoft-6.31.1/BUILD_DIR 以下で、
# make
./configure > config.out 2>&1
make > build.log 2>&1
make install 2>&1 | tee install.log
PATHの設定
# setup anaconda 2023.6.22
PATH=$HOME/anaconda3/bin:$PATH
# 2023.6.22 setup
export HEADAS=$HOME/software/heasoft/heasoft-6.31.1/x86_64-pc-linux-gnu-libc2.27
source $HEADAS/headas-init.sh
# CALDB
export CALDB=$HOME/xraydata/caldb
source $CALDB/software/tools/caldbinit.sh
heasoft 6.32.1 on Ubuntu 18.04.6 LTS
2023.10.7
上記と同様で全くエラーが出ずにコンパイルできた。