From owner-chemistry@ccl.net Thu Apr 28 16:28:01 2011 From: "Serge Lavilier m.o.m*_*live.fr" To: CCL Subject: CCL:G: FW CCL:G: install gaussian09 on ubuntu 9.04 Message-Id: <-44478-110428144848-18966-tkhyhQDSe/8dvY8UTYIxkA%%server.ccl.net> X-Original-From: "Serge Lavilier" Date: Thu, 28 Apr 2011 14:48:46 -0400 Sent to CCL by: "Serge Lavilier" [m.o.m .. live.fr] Hi Thanks for reply For $ sudo apt-get install tcsh Ubuntu tel me that i have the last version !! After, i doing $cd $g09root $chgrp -R Serge g09 $cd g09 $./bsd/install $source $g09root/g09/bsd/g09.profile there is no error message $bsd/bldg09 >&make.log $ tail make.log if ( == hi_osf ) then if ( == hal ) then if ( == alpha-linux ) then if ( == ia64 ) then if ( == mac ) then if ( == gp7kf ) then exit bldg09 is confused exit: Expression Syntax. What's wrong ? 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