24小时热门版块排行榜    

查看: 2114  |  回复: 7
【奖励】 本帖被评价4次,作者abbott增加金币 3.5
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

abbott

金虫 (著名写手)


[资源] 【原创】安装 高斯 其实很简单的! 除非你想点击鼠标来安装

UNIX Binary Gaussian 09 Installation instructions
1.   Check that you have the correct versions of the OS, and libraries for your machine, as listed in the
     file platform_a02.pdf on the CD. The latest version of this file is always available on our website
     at www.gaussian.com/g09_plat.htm.
2.  Select a group which will own the Gaussian files. Users who will run Gaussian should either
    already be in this group, or should have this added to their list of groups. Consult your system
    administrator if you need help with this process.
3.  Mount the CD. Information about how to do this for various types of computers is given on the
    following page.
    Change to the C shell, and set the g09root and mntpnt environment variables:
4.
           $  /bin/csh
           %  setenv mntpnt "/mnt/cdrom"                  # Set to wherever CD is mounted.
           %  setenv g09root "dir"                        # Set to install location for G09.
           %  cd $g09root
5.  Read the CD, set group ownership, and run the build script:
           %  gunzip -c $mntpnt/tar/*.tgz | tar xvf -
           %  chgrp -R grp g09                            # grp=group from step 1.
           %  cd g09
           %  ./bsd/install
    You are now ready to run. Users will want to add the following to their .login or .profile file:
6.
           # .login commands                                        # .profile commands
           setenv g09root "dir"                                     g09root="dir"
           setenv GAUSS_SCRDIR "sdir"                              GAUSS_SCRDIR="sdir"
           source $g09root/g09/bsd/g09.login                        export g09root GAUSS_SCRDIR
                                                                    . $g09root/g09/bsd/g09.profile
    The dir in the first command is the location of the g09 directory. For example, if the path to this directory is
    /usr/local/g09, then set g09root to /usr/local. The sdir in the second command is a directory to be used by
    default for Gaussian 09 scratch files. There should be plenty of disk space available at this location.
==================以上是官方说明=========================================
个人认为, 如果你不知道什么是终端,那么,完了,上面的东西,你不用看了! 你会头疼死的。
而且回来一句,靠! 什么狗屁linux,安装一个软件如此麻烦!
来一个简单的!

假定, 你的系统已经安装完毕,网络OK!
系统归你使用,不设计其他软件的管理!
假定合法用户名:tom
假定你的$HOME是;/home/tom (不要奇怪,我的系统,没有/home分区,这个玩意,你想怎么写都可以!而在win, 你只有从C开始到Z的选择)
假定,你上传你的软件包到你的$HOME(实际上,你也只能在这里活动,其他的地方只有/tmp你能写东西), 软件包名字是g09.tar.gz

登录你的系统!
均是终端操作!(天,如果你不知道终端,抱歉,你找别人吧, 或者google, 我实在不清楚,鼠标如何能点出终端? 多数发行版本不太一样 )

使用putty, 采用ssh协议,(不会用, 请google!)
如果你的机器就在手边,那么直接登录!

现在假定你登录OK。
pwd 你应该看到
/home/tom

OK, 做下面的事情
mkdir GaussTemp
mkdir Opt
cp g09.tar.gz Opt
cd Opt
tar zxvf g09.tar.gz
cd g09
./bsd/install (看清楚,不要修改这里的任何东西)
cd
vi ~/.bashrc
==========添加以下的东西======
### Gaussian Configuration   ###
export g09root=/home/tom/Opt/
export GAUSS_SCRDIR=/home/tom/GaussTemp
source $g09root/g09/bsd/g09.login

=====Cut Here================

exit (反正是退出,重新登录! Linux不需要reboot!)
再次登录系统。
g09
你应该看到一些东西了....


######################
Attetion
######################

1   如果没有作业运算,但是这个GaussTemp里面还有文件,那么 简单,
rm -fr /home/tom/GaussTemp
(你也可以自动处理这个东西,比如使用cron!  如果你读了这句,不知道cron, 那么自己手动吧! ^_^ )
2    如果是不同版本的g03, 那么替换上面配置文件中的g09为g03
(sed 替换? 也许  不会就是手动吧  ^_^)

3    如果遭遇Segementation Fault, 其实这是个术语,玩过一点点C的都知道如怎么会事!a  咨询你的OS服务商寻求帮助; b  google自己解决; c  咨询高斯软件服务商解决。

4    遇到内存分配问题, 请检查: a 你使用的系统的内核, (你用的是APE 还是纯64的SMP); b  请勿使用太新的内核。 比如2.6.31-14-generic 就不太适合....

5    以上说法,对32bit 64bit系统通用,但是仅仅是Gnu/Linux, UNIX系统,不知道!
6    对以上的各项说法,如果存在问题,请你自己解决!
7    以上说法, 如果和你的认知有冲突,请邮件cctv.cntv@gmail.com发泄!

[ Last edited by abbott on 2010-1-6 at 21:01 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cadick

木虫 (著名写手)


★★★★★ 五星级,优秀推荐

相当不错!支持原创!
3楼2010-01-06 23:22:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 8 个回答
☆ 无星级 ★ 一星级 ★★★ 三星级 ★★★★★ 五星级
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见