手机版
你好,游客 登录 注册
背景:
阅读新闻

SUSE服务器安装GAMIT10.4及GAMIT10.4下载

[日期:2012-02-12] 来源:Linux社区  作者:njweihaohan [字体:大 中 小]

3) source .bashrc

结果显示---

gamitpath=/data/geodesy/gamit: Command not found.
Bad : modifier in $ ($).
4)试了n次,变换了n种写法,一如既往显示Bad。

第n+1次,重新打开个窗口,把.bashrc自己添加的内容全清除,重新写入。

运行source .bashrc,成功!!!

莫名奇妙!

5)doy

成功。

 -------补充----------------------------

1)昨天没有source成功的原因,是因为这个命令属于bash而不是csh的命令。

2)gamitpath=/data/geodesy/gamit 改为 export gamitpath=/data/geodesy/gamit

3)gamit/com路径输错了。 ⊙﹏⊙b汗

4)虽然GAMIT安装结束后会出现提示

Don't forget to set your : path to include /data/geodesy/gamit/gamit/bin and /data/geodesy/gamit/kf/bin

                         : HELP_DIR environment variable in you shell profile

                           (in .cshrc/.tcshrc add: setenv HELP_DIR /data/geodesy/gamit/help/)

事实上在bash环境下,路径写入.bashrc中也能成功完成安装并运行。也就是说,可能csh并不是必须的。

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款