24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1393  |  回复: 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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 279求调剂 +4 蝶舞轻绕 2026-03-29 4/200 2026-03-29 09:45 by laoshidan
[考研] 315求调剂 +4 akie... 2026-03-28 5/250 2026-03-28 21:05 by zhq0425
[考研] 332求调剂 +4 @MZB382400 2026-03-28 4/200 2026-03-28 21:02 by 唐沐儿
[考研] 295材料工程专硕求调剂 +7 1428151015 2026-03-27 7/350 2026-03-28 19:58 by S240
[考研] 312,生物学求调剂 +3 小译同学abc 2026-03-28 3/150 2026-03-28 15:32 by 落睿可思
[考研] 一志愿北京工业大学,324分求调剂 +4 零八# 2026-03-28 4/200 2026-03-28 15:01 by 17865157980
[考研] 070300求调剂306分 +4 26要上岸 2026-03-27 4/200 2026-03-28 13:06 by 唐沐儿
[考研] 085701环境工程,267求调剂 +16 minht 2026-03-26 16/800 2026-03-28 12:16 by zllcz
[考研] 一志愿南京航空航天大学材料学硕求调剂 +3 @taotao 2026-03-28 3/150 2026-03-28 10:26 by JourneyLucky
[考研] 材料与化工考研调剂 +17 孅華 2026-03-22 17/850 2026-03-28 08:35 by WYUMater
[材料工程] 一志愿C9材料与化工专业总分300求调剂 +8 曼111 2026-03-24 9/450 2026-03-28 07:58 by YYYYX1234
[考研] 考研调剂 +4 Sanmu-124 2026-03-26 4/200 2026-03-27 17:49 by kiokin
[考研] 276求调剂。有半年电池和半年高分子实习经历 +10 材料学257求调剂 2026-03-23 11/550 2026-03-27 10:13 by YCIT- LHL
[考研] 289求调剂 +17 硕星赴 2026-03-23 17/850 2026-03-26 16:18 by 不吃魚的貓
[考研] 26考研-291分-厦门大学(085601)-柔性电子学院材料工程专业求调剂 +3 min3 2026-03-24 4/200 2026-03-25 18:22 by xcjcqu
[考研] 302求调剂 +4 锦衣卫藤椒 2026-03-25 4/200 2026-03-25 16:29 by 功夫疯狂
[考研] 293求调剂 +7 加一一九 2026-03-24 7/350 2026-03-25 12:02 by userper
[考研] 269求调剂 +4 我想读研11 2026-03-23 4/200 2026-03-23 21:25 by pswait
[考研] 333求调剂 +3 ALULU4408 2026-03-23 3/150 2026-03-23 19:04 by macy2011
[论文投稿] 急发核心期刊论文 +3 贤达问津 2026-03-23 5/250 2026-03-23 17:13 by 妹子不好惹
信息提示
请填处理意见