24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1390  |  回复: 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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 291求调剂 +3 Y-cap 2026-03-29 3/150 2026-03-29 07:34 by 无际的草原
[考研] 356求调剂 +3 gysy?s?a 2026-03-28 3/150 2026-03-29 00:33 by 544594351
[考研] 材料学硕333求调剂 +10 北道巷 2026-03-24 10/500 2026-03-28 23:06 by 无际的草原
[考研] 学硕274求调剂 +9 Li李鱼 2026-03-26 9/450 2026-03-28 21:42 by bymhappy
[考研] 一志愿南京航空航天大学材料学硕求调剂 +3 @taotao 2026-03-28 3/150 2026-03-28 10:26 by JourneyLucky
[考研] 291求调剂 +6 HanBeiNingZC 2026-03-24 6/300 2026-03-28 07:55 by baoball
[考研] 0703化学求调剂,各位老师看看我!!! +5 祁祺祺 2026-03-25 5/250 2026-03-27 21:44 by 东方猪猪
[考研] 285求调剂 +4 AZMK 2026-03-27 7/350 2026-03-27 20:59 by AZMK
[考研] 265求调剂11408 +3 刘小鹿lu 2026-03-27 3/150 2026-03-27 20:53 by nihaoar
[考博] 26申博 +3 加油冲啊! 2026-03-26 3/150 2026-03-27 15:38 by cls512
[考研] 283求调剂(080500) +4 A child 2026-03-27 4/200 2026-03-27 15:34 by XPU李庆
[考研] 279 分 求调剂 +4 睡个好觉_16 2026-03-24 4/200 2026-03-27 15:05 by 醉在风里
[考研] 085600,材料与化工321分,求调剂 +9 大馋小子 2026-03-27 9/450 2026-03-27 14:30 by mmm just
[考研] 348求调剂 +4 小懒虫不懒了 2026-03-27 5/250 2026-03-27 12:47 by 果果妈咪
[考研] 材料学硕,求调剂 6+5 糖葫芦888ll 2026-03-22 10/500 2026-03-27 08:18 by hypershenger
[考研] 342求调剂 +3 加油a李zs 2026-03-26 3/150 2026-03-27 00:29 by wxiongid
[考研] 081200-11408-276学硕求调剂 +3 崔wj 2026-03-26 3/150 2026-03-26 19:57 by nihaoar
[考研] 化学调剂一志愿上海交通大学336分-本科上海211 +4 小鱼爱有机 2026-03-25 4/200 2026-03-26 10:19 by aa331100
[考研] 打过很多竞赛,085406控制工程300分,求调剂 +3 askeladz 2026-03-26 3/150 2026-03-26 09:08 by 给你你注意休息
[考研] 材料与化工328分调剂 +6 。,。,。,。i 2026-03-23 6/300 2026-03-25 22:30 by 418490947
信息提示
请填处理意见