From owner-chemistry@ccl.net Thu Apr 28 10:41:00 2011 From: "Herbert Fruchtl herbert.fruchtl],[st-andrews.ac.uk" To: CCL Subject: CCL:G: install gaussian09 on ubuntu 9.04 Message-Id: <-44473-110428103932-22407-94+BrEb0MOhaIIfrZnCuNg],[server.ccl.net> X-Original-From: Herbert Fruchtl Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=GB2312 Date: Thu, 28 Apr 2011 15:39:10 +0100 MIME-Version: 1.0 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