CCL:G: install gaussian09 on ubuntu 9.04
- From: Herbert Fruchtl <herbert.fruchtl ~~
st-andrews.ac.uk>
- Subject: CCL:G: install gaussian09 on ubuntu 9.04
- Date: Thu, 28 Apr 2011 15:39:10 +0100
Sent to CCL by: Herbert Fruchtl [herbert.fruchtl##st-andrews.ac.uk]
If he removes the "exit" in the third line, it should work.
He's starting csh and then exits it again, before trying to
source some csh commands.
H.
On 04/28/2011 02:48 PM, Fuming Ying fmying{}gmail.com wrote:
>
> Sent to CCL by: Fuming Ying [fmying!A!gmail.com]
> 于 2011/4/28 14:43, Serge Lavilier m-22#%#hotmail.fr
写道:
>> Sent to CCL by: "Serge Lavilier" [m-22]~[hotmail.fr]
>> Hi,
>> I want to install gaussian09 on ubuntu 9.04
>>
>> $/bin/csh
>> %setenv g09root "/home/Serge/Gaussian"
>> %exit
>> $cd $g09root
>> $chgrp -R Serge g09
>> $cd g09
>> $./bsd/install
>> $source $g09root/g09/bsd/g09.login
>>
>> line 25: Erreur de syntaxe prs du symbole inattendu setenv
>> bash: /home/Serge/gaussian/g09/bsd/g09.login: line 25: `if (! $?PGI )
setenv PGI /usr/pgi'
> It should be the problem that the keyword "setenv" can be
executed properly.
> Have you checked that the proper C shell (the package name should be
> tcsh) is installed in your ubuntu system? C shell will NOT be installed
> in Ubuntu by default so that you should install it manually with command
>
> sudo apt-get install tcsh
>
> Alternatively, there is a scripit "$g09root/g09/bsd/g03.profile"
which
> is written in Bash. Since bash is installed by default in Ubuntu, you
> can work with Gaussian 09 under Bash instead of C shell.
>
> After installation, type this command
> . $g09root/g09/bsd/g09.profile
> to set the environment variables under Bash before using g09. Of course,
> $g09root should be meaningful. This command can also be written in
> $HOME/.bashrc so that you don't have to type it every time you log in.
>
> Best regards,
> Fuming Ying
>
>> What's Wrong?>
>
--
Herbert Fruchtl
Senior Scientific Computing Officer
School of Chemistry, School of Mathematics and Statistics
University of St Andrews
--
The University of St Andrews is a charity registered in Scotland:
No SC013532