Installing Gaussian on your local computer: Difference between revisions

From Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
go back to [[Main Page]], [[Computational Resources]], [[Computational Codes]], [[GAUSSIAN]]
'''This is to be done only into local computers in our research institute'''
'''This is to be done only into local computers in our research institute'''


Line 11: Line 14:
    
    


Example to copy from kimik:
Example to copy from the repository in aliga:
   a) cd /usr/local
   a) cd /usr/local
   b) scp pepito@kimik.iciq.es:/home/mante/g03.C02.tgz .
   b) scp tccguest@aliga.iciq.es:/users_area/gaussian/g03-linux/g03.C02.tgz .
   c) tar -xzvf g03.C02.tgz
   c) tar -xzvf g03.C02.tgz


Line 42: Line 45:


b) good luck!
b) good luck!
7. If it does work as a superuser (sudo) and not as your own user (probably giving permision errors)
a) Check that files and directories in /user/local/G03.C02/ have the permisions rwxr_x___. If they don't change it with a "chmod -R 750 G03.C02"
b) Check that the owner of these files is your user or a group in which you belong to (like maybe staff). If it is not like that you need to change it: use "chown -R root:yourgroup G03.C02" or "chown -R youruser:users". To check wether you belong or not into a group look at /etc/group.


==SETTING UP gaussview in your local linux machine==
==SETTING UP gaussview in your local linux machine==
Line 50: Line 59:


Examples:
Examples:
   a) scp xxxx@xxxx:/usr/local/g03.C02.tgz .
   a) cd /usr/local
      cd /usr/local
  b) scp tccguest@aliga.iciq.es:/users_area/gaussian/g03-linux/g03.C02.tgz .
      tar -xzvf g03.C02.tgz
  c) tar -xzvf g03.C02.tgz
   b) cp -r /media/cdrom/g03.C02 /usr/local
   d) cp -r /media/cdrom/g03.C02 /usr/local


2. Check the file /usr/local/g03.C02/gv3 and copy it to some directory in your execution path.
2. Check the file /usr/local/g03.C02/gv/gv3 and copy it to some directory in your execution path.


Example:
Example:
   vi /usr/local/g03.C02/gv3
   vi /usr/local/g03.C02/gv/gv3
   cp /usr/local/g03.C02/gv3 /usr/local/bin
   cp /usr/local/g03.C02/gv/gv3 /usr/local/bin


3. Try to execute gv3. If it misses some shared library, try to find them in internet and put them in /usr/local/g03.C02/gv3/lib
3. Try to execute gv3. If it misses some shared library, try to find them in internet and put them in /usr/local/g03.C02/gv3/lib


4. If it does not work, you may have insoluble problems with your graphic set-up. Bad luck.
4. If it does not work, you may have insoluble problems with your graphic set-up. Bad luck.

Latest revision as of 15:25, 18 December 2009

go back to Main Page, Computational Resources, Computational Codes, GAUSSIAN


This is to be done only into local computers in our research institute

They are covered by our license.

DO NOT COPY THIS SOFTWARE ANYWHERE ELSE!


SETTING-UP GAUSSIAN03 in your local linux machine[edit]

1. Copy the file from the repository into the /usr/local directory tree.


Example to copy from the repository in aliga:

  a) cd /usr/local
  b) scp tccguest@aliga.iciq.es:/users_area/gaussian/g03-linux/g03.C02.tgz .
  c) tar -xzvf g03.C02.tgz

2. Copy the files from /usr/local/g03.C02/g03/interactive/* to your work directory.

Example:

  cd /users/pepito/gaussian
  cp /usr/local/g03.C02/g03/interactive/* .

3. Fix the values for variables datafile, datadir, resultdir, TMPDIR in lines 2 to 5 of the g03example1.com file

4. Submit an interactive calculation. This should create the output file example1.out

Example:

  ./g03example1.com

5. If this works, you are set. You can submit your calculations by doing new nom.com, nom.in files

6. If this does not work ...

a) if you get an error like:

  "Erroneous write during file extend. write 1728 instead of 4096
  Probably out of disk space.
  Write error in NtrExt1"

and you are positive you have disk space, try (as root) the magic command:

  echo 0 > /proc/sys/kernel/randomize_va_space

If this fixes the problem, put it in your /etc/rc.local file

b) good luck!

7. If it does work as a superuser (sudo) and not as your own user (probably giving permision errors)

a) Check that files and directories in /user/local/G03.C02/ have the permisions rwxr_x___. If they don't change it with a "chmod -R 750 G03.C02"

b) Check that the owner of these files is your user or a group in which you belong to (like maybe staff). If it is not like that you need to change it: use "chown -R root:yourgroup G03.C02" or "chown -R youruser:users". To check wether you belong or not into a group look at /etc/group.

SETTING UP gaussview in your local linux machine[edit]

1. Copy the file from the repository into the /usr/local directory tree.

(same file as with gaussian03, no need to do it twice)

Examples:

  a) cd /usr/local
  b) scp tccguest@aliga.iciq.es:/users_area/gaussian/g03-linux/g03.C02.tgz .
  c) tar -xzvf g03.C02.tgz
  d) cp -r /media/cdrom/g03.C02 /usr/local

2. Check the file /usr/local/g03.C02/gv/gv3 and copy it to some directory in your execution path.

Example:

  vi /usr/local/g03.C02/gv/gv3
  cp /usr/local/g03.C02/gv/gv3 /usr/local/bin

3. Try to execute gv3. If it misses some shared library, try to find them in internet and put them in /usr/local/g03.C02/gv3/lib

4. If it does not work, you may have insoluble problems with your graphic set-up. Bad luck.