24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1398  |  回复: 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的回帖

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的回帖
查看全部 7 个回答

ycqzl

木虫 (正式写手)

对了,我安装的linux系统是CentOS 6.5。谢谢!!!
2楼2016-05-04 11:46:57
已阅   回复此楼   关注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的回帖

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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 南京大学化学调剂 +8 景随风 2026-03-29 11/550 2026-03-29 20:50 by dfhouok
[考研] 311求调剂 +6 冬十三 2026-03-24 6/300 2026-03-29 20:45 by 无际的草原
[考研] 一志愿北京化工大学材料与化工(085600)296求调剂 +17 稻妻小编 2026-03-26 17/850 2026-03-29 19:07 by 学员8dgXkO
[考研] 289求调剂 +5 BrightLL 2026-03-29 5/250 2026-03-29 17:24 by zhyzzh
[考研] 一志愿南昌大学324求调剂 +5 hanamiko 2026-03-29 5/250 2026-03-29 16:46 by 学员8dgXkO
[考研] 329求调剂 +10 钮恩雪 2026-03-25 10/500 2026-03-29 13:32 by peike
[考研] 298求调剂 +3 种圣赐 2026-03-29 3/150 2026-03-29 12:06 by longlotian
[考研] 318一志愿吉林大学生物与医药 求调剂 +4 笃行致远. 2026-03-28 4/200 2026-03-29 11:55 by longlotian
[考研] 317分 一志愿南理工材料工程 本科湖工大 求调剂 +9 芋泥小铃铛 2026-03-28 9/450 2026-03-29 11:46 by longlotian
[考研] 材料学硕333求调剂 +11 北道巷 2026-03-24 11/550 2026-03-29 08:31 by fmesaito
[考研] 0856求调剂 +13 zhn03 2026-03-25 14/700 2026-03-29 08:13 by fmesaito
[考研] 0703本科郑州大学求调剂 +3 nhj_ 2026-03-25 3/150 2026-03-28 13:24 by Iveryant
[考研] 0856,材料与化工321分求调剂 +12 大馋小子 2026-03-27 13/650 2026-03-28 10:56 by self2008
[考研] 一志愿南京航空航天大学材料学硕求调剂 +3 @taotao 2026-03-28 3/150 2026-03-28 10:26 by JourneyLucky
[考研] 315分求调剂 +7 26考研上岸版26 2026-03-26 7/350 2026-03-28 04:05 by fmesaito
[考研] 295求调剂 +5 1428151015 2026-03-27 6/300 2026-03-28 04:04 by fmesaito
[考研] 0703化学338求调剂! +6 Zuhui0306 2026-03-26 7/350 2026-03-27 10:35 by shangxh
[考研] 085602化学工程求调剂。 +4 平乐乐乐 2026-03-26 4/200 2026-03-26 17:57 by fmesaito
[考研] 0854人工智能方向招收调剂 +4 章小鱼567 2026-03-24 4/200 2026-03-25 13:29 by 2177681040
[考研] 化工专硕求调剂 +3 question挽风 2026-03-24 3/150 2026-03-24 18:48 by jhhcooi
信息提示
请填处理意见