|
Gaussian如何在Linux下安装? UNIX Binary Gaussian 09 Installationinstructions
1. Check that you have the correct versions of the OS, andlibraries for your machine, as listed in the
file platform_a02.pdf on the CD. The latest version ofthis 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 willrun Gaussian should either
already be in this group, or should have this added to their listof groups. Consult your system
administrator if you need help with this process.
3. Mount the CD. Information about how to do this for various typesof computers is given on the
following page.
Change to the C shell, and set the g09root and mntpnt environmentvariables:
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 grpg09 # grp=group from step 1.
% cd g09
% ./bsd/install
You are now ready to run. Users will want to add the following totheir .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 g09rootGAUSS_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 thesecond command is a directory to be used by
default for Gaussian 09 scratch files. There should be plenty ofdisk 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发泄!
|
|