24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1392  |  回复: 6
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

ycqzl

木虫 (正式写手)

[求助] Amber Tools安装问题 求助!感谢大家!!! 已有1人参与

第一次接触linux,请大家指教,感谢大家!
下载了Amber Tools15,在安装中发现如下情况,不知该如何操作:
在输入./configure gnu后
显示如下:
If you use a Bourne shell (e.g., bash, sh, zsh, etc.), source the
/usr/local/amber16/amber.sh file in your shell. Consider adding the line
  test -f /usr/local/amber16/amber.sh && source /usr/local/amber16/amber.sh
to your startup file (e.g., ~/.bashrc)
Amber 2015 Reference Manual中对应的部分是这样写的
The configure step will create two resource files in the AMBERHOME directory: amber.sh and amber.csh.
These sourceable scripts will set up your shell environment correctly for Amber:
source /home/myname/amber14/amber.sh # for bash, zsh, ksh, etc.
source /home/myname/amber14/amber.csh # for csh, tcsh
Of course, /home/myname/amber14 should be adjusted for your AMBERHOME. Adding these commands
to your login resource file (e.g., ~/.bashrc, ~/.cshrc, ~/.zshrc, etc.) will set up your environment every time
you start a new shell. Note, this step is absolutely necessary to run any of the Python modules included with
Amber.
自己认为的是在terminal(终端)中输入 test -f /usr/local/amber16/amber.sh && source /usr/local/amber16/
amber.sh to your startup file 就可以吗?还是要修改~/.bashrc?如果是修改.bashrc,里面应该加什么呢,是
test -f /usr/local/amber16/amber.sh && source /usr/local/amber16/amber.sh?然后修改的时候应该是
vi ~/.bashrc还是vi .bashrc,二者是否一样,有什么区别吗?修改/etc/profile是否可以?
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

殷赋科技

捐助贵宾 (正式写手)


【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
ycqzl: 金币+20, ★★★★★最佳答案 2016-05-04 11:57:55
在~/.bashrc文件中添加source /usr/local/amber16/amber.sh,然后source ~/.bashrc。
或者每次用的时候,source /usr/local/amber16/amber.sh也行。
3楼2016-05-04 11:49:31
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 7 个回答

ycqzl

木虫 (正式写手)

对了,我安装的linux系统是CentOS 6.5。谢谢!!!
2楼2016-05-04 11:46:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ycqzl

木虫 (正式写手)

引用回帖:
3楼: Originally posted by 殷赋科技 at 2016-05-04 11:49:31
在~/.bashrc文件中添加source /usr/local/amber16/amber.sh,然后source ~/.bashrc。
或者每次用的时候,source /usr/local/amber16/amber.sh也行。

我去试下,谢谢您的帮助!
4楼2016-05-04 11:58:15
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ycqzl

木虫 (正式写手)

引用回帖:
3楼: Originally posted by 殷赋科技 at 2016-05-04 11:49:31
在~/.bashrc文件中添加source /usr/local/amber16/amber.sh,然后source ~/.bashrc。
或者每次用的时候,source /usr/local/amber16/amber.sh也行。

还有个问题想请教一下
输入make test后
显示
make[3]: Leaving directory `/usr/local/amber15/test/sanderlesapi'
make[2]: Leaving directory `/usr/local/amber15/test'
make[2]: Entering directory `/usr/local/amber15/AmberTools/test'

Finished test suite for AmberTools at Tue May  3 17:06:18 PDT 2016.

make[2]: Leaving directory `/usr/local/amber16/AmberTools/test'
1860 file comparisons passed
6 file comparisons failed
0 tests experienced errors
Test log file saved as /usr/local/amber15/logs/test_at_serial/2015-05-03_15-39-45.log
Test diffs file saved as /usr/local/amber15/logs/test_at_serial/2015-05-03_15-39-45.diff
make[1]: Leaving directory `/usr/local/amber15/AmberTools/test'
是什么情况呢?我该怎么修改?谢谢!!!
5楼2016-05-04 12:01:16
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 求收留 +3 1943443204 2026-03-28 3/150 2026-03-29 08:14 by fmesaito
[硕博家园] 招收生物学/细胞生物学调剂 +4 IceGuo 2026-03-26 5/250 2026-03-29 01:25 by griffith2014
[考研] 070305高分子化学与物理 304分求调剂 +7 c297914 2026-03-28 7/350 2026-03-29 01:17 by 544594351
[考研] 求调剂 +7 争取九点睡 2026-03-28 8/400 2026-03-28 21:07 by 争取九点睡
[考研] 295材料工程专硕求调剂 +7 1428151015 2026-03-27 7/350 2026-03-28 19:58 by S240
[考研] 一志愿华理,数一英一285求A区调剂 +8 AZMK 2026-03-25 12/600 2026-03-28 18:15 by AZMK
[考研] 本科新能源科学与工程,一志愿华理能动285求调剂 +3 AZMK 2026-03-27 5/250 2026-03-28 16:19 by xxxsssccc
[考研] 0703一志愿9,初试成绩:338,四六级已过,有科研经历,求调剂! +4 Zuhui0306 2026-03-25 4/200 2026-03-28 13:07 by 唐沐儿
[考研] 277跪求调剂 +5 1915668 2026-03-27 9/450 2026-03-28 09:58 by zhshch
[考研] 考研调剂 +4 Sanmu-124 2026-03-26 4/200 2026-03-27 17:49 by kiokin
[考研] 333求调剂 +3 question挽风 2026-03-23 3/150 2026-03-27 11:29 by 不吃魚的貓
[考研] 281求调剂 +3 亚克西good 2026-03-26 5/250 2026-03-26 19:48 by 不吃魚的貓
[考研] 281求调剂 +6 Koxui 2026-03-24 7/350 2026-03-26 15:37 by 无际的草原
[考研] 一志愿中南大学化学学硕0703总分337求调剂 +7 niko- 2026-03-22 7/350 2026-03-25 20:14 by qingfeng258
[考研] 【2026考研调剂】制药工程 284分 求相关专业调剂名额 +4 袁奂奂 2026-03-25 8/400 2026-03-25 14:32 by lbsjt
[考研] 340求调剂 +5 话梅糖111 2026-03-24 5/250 2026-03-25 06:53 by ilovexiaobin
[考研] 求调剂 +6 研研,接电话 2026-03-24 7/350 2026-03-24 17:01 by barlinike
[考研] 344求调剂 +3 desto 2026-03-24 3/150 2026-03-24 10:09 by 搏击518
[考研] 361求调剂 +3 Glack 2026-03-22 3/150 2026-03-23 22:03 by fuyu_
[考研] 336化工调剂 +4 王大坦1 2026-03-23 5/250 2026-03-23 18:32 by allen-yin
信息提示
请填处理意见