The program is easily installed through the use of the supplied
configure
script . Based on the
architecture supplied by the user, the
script will try to build a suitable
Makefile.config
on the
basis of what kind of mathematical libraries are found, and user
input. Thus, to execute the script, type
> ./configure -hosttypewhere hosttype may be one of
Although this script in most cases is capable of making a correct
Makefile.config
, we always recommend users to check the created
Makefile.config
against local system set-up. This applies in
particular in case of parallel installations.
During the executation of the configure
script, you will be
asked a few questions, most of which require a quite obvious
answer. Let us only comment upon four of the questions asked:
WRKMEM
may be changed at execution time by supplying a
different value for WRKMEM
through the shell-script running
DALTON .NOTE TO SYSTEM-ADMINISTRATORS: Supplied with DALTON is an extensive basis set library. This basis set directory must be made readable to all users. END NOTE
dalton
run-script. However, note that jobs will be run in
a subdirectory of this head scratch-directory, according to the name
of the job files. If /work
or /scratch
is defined in the
local directory structure, the script will normally suggest
/work/$USER
or /scratch/$USER
as default head scratch space.dalton
run script will be moved to.
Compilator options will be supplied in Makefile.config
, in the manner
we use ourselves. These options often do not include aggressive
optimization (for instance on the Cray), as
it is our experience that
the code is optimized incorrectly if the optimization is too
aggressive. The proper options to the C preprocessor for an ordinary
installation of the program are also supplied with Makefile.config
.
NOTE 1: If problems with I/O are experienced on
any computer,
manifesting themselves as error messages saying that a read statement
has passed the EOF mark, the *.F files in the gp directories should be
touched, and the code rebuilt using the additional C preprocessor
directive VAR_MFDS
.
When Makefile.config
has been properly
created and checked
to agree with local system set-up, all that is needed
to build an executable version of the
code is to type
(in the same directory as the Makefile.config
file):
> makeNote to users who want to install a parallel program employing PVM3 as message passing interface: Whereas a normal installation will create a single executable, the PVM installation will create both a master and a slave program . The slave program, called
node.x
, must be placed in the
proper directory, as defined by the PVM3 installation on the
platform you are using. NOTE: Default location of the slave program
will be the same directory as the master program, that is, the default
installation directory.
All parallel executables will be called dalpar.x
, whereas a
single-processor executable will be called dalton.x
.