此份安装说明参照manual.pdf及官方说明进行
系统版本:CentOS 7
GitHub地址:https://github.com/samb8s/PsrPopPy
官方说明地址:http://samb8s.github.io/PsrPopPy/
1. 下载源码包
git clone https://github.com/samb8s/PsrPopPy.git
2. 确定自己是否安装了依赖库等
需要Matplotlib,Python,numpy以及scrip
sudo yum install numpy scipy python-matplotlib ipython python-pandas sympy python-nose atlas-devel
3. 编译安装
cd /lib/fortran
确定自己的gfortran地址与makefile.linux中的一致,若不一致则修改
tcsh make_linux.csh
vi makefile
将第一行的include makefile.$(OSTYPE)
修改为include makefile.linux
make
然后看见一串输出,但是没有报错就应该是安装完成了。
4. 测试
cd /lib/python
python populate.py -n 1038 -surveys PMS
脉冲星分布模拟软件PsrPopPy的安装
最新推荐文章于 2023-06-05 00:00:02 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)