|||
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
可以尝试以下方法:
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
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2025-1-8 20:41
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社