09.05.2014 Views

Hypertext Dalton 2.0 manual - Theoretical Chemistry, KTH

Hypertext Dalton 2.0 manual - Theoretical Chemistry, KTH

Hypertext Dalton 2.0 manual - Theoretical Chemistry, KTH

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 3. INSTALLATION 12<br />

documentation off the tar file you will already know how to extract the required directory<br />

structure, but for completeness, assuming the tar file is called dalton.tar.gz, the<br />

commands<br />

gunzip dalton.tar.gz<br />

tar xf dalton.tar<br />

will produce the following subdirectory structure in the current directory:<br />

dalton/abacus dalton/dft dalton/include dalton/test<br />

dalton/amfi dalton/Doc dalton/pdpack dalton/tools<br />

dalton/basis dalton/eri dalton/rsp<br />

dalton/cc dalton/gp dalton/sirius<br />

Most of the subdirectories contain source code for the different sections constituting the<br />

program (abacus, amfi, cc, dft, eri, gp, rsp and sirius). Furthermore, there’s a directory<br />

containing various public domain routines (pdpack), a directory with the necessary include<br />

files containing common blocks and machine dependent routines (include), a directory<br />

containing all the basis sets supplied with this distribution (basis), a fairly large set of<br />

test jobs including reference output files (test), a directory containing some useful preand<br />

post-processing programs supplied to us from various users (tools), and finally this<br />

documentation (Doc).<br />

In addition to the directories, the main dalton directory will contain several files<br />

including a shell script (configure) which will build a suitable Makefile.config for use<br />

when installing the program. The configure script will also create a Makefile and a run<br />

script bin/dalton from the skeletal files (Makefile.in and dalton.gnr) that are present<br />

in the directory.<br />

3.3 Installing the program using the Makefile<br />

The program is easily installed through the use of the supplied configure script. Based on<br />

the architecture supplied by the user, the script will try to build a suitable Makefile.config<br />

on the basis of what kind of mathematical libraries are found, and user input. Thus, to<br />

execute the script, type<br />

> ./configure -hosttype<br />

where hosttype may be one of<br />

aix darwin linux-alpha<br />

cray dec-alpha nec<br />

cray-t90 hal sgi<br />

cray-t3d hp sun<br />

cray-t3e<br />

linux

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!