主要的安装过程=======================================Ubuntu 10.10中【1】Ubuntu系统的初步配置。打开终端,具体方式是applications-->accessories-->terminal。运行 :sudo apt-get install gfortransudo apt-get install build-essentialsudo apt-get install libx11 -devsudo apt-get install cshsudo apt-get install tcshsudo apt-get install gmt【2】安装GAMIT。在terminal中运行:cd /opt/Gamit 进入/opt/GamitGlobk目录chmod +x install_software 执行install_software安装脚本,给予该文件可执行属性./install_software【3】设置环境变量和命令路径在terminal中运行:echo $SHELL 查看当前的shell如果是/bin/bash则在系统的 etc 目录下,有一个 profile 文件,编辑该文件:$gedit /etc/profile在最后边加入需要设置变量的shell语句PATH="$PATH:/opt/Gamit/gamit/bin:/opt/Gamit/com:/opt/Gamit/kf/bin"HELP_DIR=/opt/Gamit/help/export PATH HELP_DIR该文件编辑保存后,重启系统,变量生效。如果想要在csh环境下,则在终端输入tcsh再输入/bin/csh重启,则系统改为csh环境。接着,在cshrc文件中加入PATH="$PATH:/opt/Gamit/gamit/bin:/opt/Gamit/com:/opt/Gamit/kf/bin"HELP_DIR=/opt/Gamit/help/export PATH HELP_DIR该文件编辑保存后,重启系统,变量生效。【4】验证在terminal中运行:doy如果有显示日期等,安装基本成功。=========================================================遇到的问题=========================================================【1】HELP_DIR=/opt/Gamit/help/ 因为对文件夹不熟悉,我写的是“HELP_DIR=/opt/Gamit/help”,结果一直遇到错误如下**ERROR** Opening help file. Check that enviroment variable HELP_DIR points to directory with help files.IOSTAT error 2 occurred openingdoy.hlp in doyWARNING:110228:2352:38.0 DOY/doy: IOSTAT error opening file doy.hlp ERROR 2很久才检查出这个错误。【2】因为是在虚拟机中安装的Ubuntu和gamit,所以必须保证有足够的内存。因为内存分配不足,之前安装过两次,都一直出现错误的情况。这样的问题是第二次了,只要看到Killed字样,就要考虑系统内存分配问题。=============================================一些常用命令行语句==============================================source /etc/csh.cshrc 保存修改? 这一句一直出现错误提示“syntax error near unexpected token"("” ,不知道为何?sudo apt-get install rar unrar p7zip %rar文件压缩解压缩参考文献http://www.linuxidc.com/Linux/2012-07/65423.htm
http://www.linuxidc.com/Linux/2012-07/65425.htm
http://www.linuxidc.com/Linux/2012-07/65426.htm
http://www.linuxidc.com/Linux/2012-07/65427.htm
http://www.linuxidc.com/Linux/2012-07/65429.htm
http://www.linuxidc.com/Linux/2012-07/65430.htm
http://www.linuxidc.com/Linux/2012-07/65431.htmSUSE Linux服务器安装GAMIT10.4将RHEL5/CentOS5的GNOME改成KDE相关资讯 Gamit
- Ubuntu下安装配置Gamit10.35总结 (04月01日)
- GAMIT软件操作手册PDF (02月18日)
- GAMIT/GLOBK软件中文使用说明书书 (02月13日)
| - Ubuntu Linux 下GAMIT/GLOBK 10.35 (03月01日)
- GAMIT/GLOBK 软件数据处理手册PDF (02月14日)
- GAMIT/GLOBK入门介绍及简单应用 (02月13日)
|
本文评论 查看全部评论 (0)