张颜荣的个人博客分享 http://blog.sciencenet.cn/u/zhangyanyun 科研杂记

博文

Chandra数据处理软件CIAO 的安装

已有 5292 次阅读 2016-10-24 19:23 |个人分类:菜鸟一号|系统分类:科研笔记| Chandra

1.访问Chandra官网,下载CIAO 4.8

2.安装:(U为我的用户名)

[U@U ~]$ cd CIAO

[U@U CIAO]$ ./ciao-install

ciao-install v1.6 installing ciao-4.8

Requested packages: sherpa chips tools prism obsvis contrib CALDB_mainScript log file is /home/ciaouser/ciao-install-16-02-09.17.30.16

Download directory for tar files (/home/U/CIAO):  

CIAO installation directory (/usr): /home/U/CIAO

Run smoke tests? (y|n) (y):

Delete tar files after install? (y|n) (n):

Save these settings? (y|n) (y):


成功以后会出现以下提示:

  [40/42] Running test tools-dmstat-smoke001 ... PASS

  [41/42] Running test tools-dmstat-smoke002 ... PASS

  [42/42] Running test tools-dmstat-smoke003 ... PASS

All smoke tests PASSED.

Smoke tests complete. All tests passed!

Processing complete!Script Log file is /home/../ciao-install-16-02-09.17.30.16

3.设置环境变量:

[U@U CIAO]$ cd

[U@U ~]$ vi .bashrc

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
       . /etc/bashrc
fi

# User specific aliases and functions

alias ciao="source /home/U/ciao-4.8/bin/ciao.bash"


保存并退出。

4.检查:

[U@U ~]$ ciao

CIAO configuration is complete...
CIAO 4.8 Thursday, January 28, 2016
 bindir      : /home/U/ciao-4.8/bin
 CALDB       : 4.7.2

[U@U ~]$ ls -1F /home/U/ciao-4.8/CALDB

data/
docs/
software/

[U@U ~]$ check_ciao_caldb

CALDB environment variable = /home/U/ciao-4.8/CALDB

5.成功!!!


6.BUG:

如果出现如下错误:

  [5/42] Running test <testname> ... FAIL

Review /tmp/smoke.username/<testname>/diff.log for details 1 out of 42 smoke tests FAILED. !! CIAO MAY HAVE FAILED TO INSTALL PROPERLY !! Please check http://cxc.harvard.edu/ciao4.7/bugs/smoke.html for a list of known issues before contacting the Help Desk.

可以尝试以下方法:

A:删除/tmp/smoke.U/下的smoketests.txt文件:

   mv smoketests.txt smoketests.txt.root

   尝试第2步:./ciao-install

B:改变/tmp/smoke.U/下的smoketests.txt文件的权限:

   sudo chmod 777 /tmp/smoke.U/smoketests.txt

   尝试第2步:./ciao-install

C:改变/tmp/下的smoke.U文件夹的权限:

   sudo chmod 777 /tmp/smoke.U

   尝试第2步:./ciao-install




https://wap.sciencenet.cn/blog-640181-1010622.html


下一篇:Pulsar_Docker在Ubuntu 16.04 LTS的安装(失败)
收藏 IP: 202.192.33.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-25 20:59

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部