./configure -batch
which creates the file CONFIG. This file contains machine-dependent parameters, such as compiler options. Normally CONFIG will not need changing, but you should at the least examine it, and change any configuration parameters which you deem necessary. Any changes made to CONFIG will be lost next time ./configure is invoked, so it is best to supply as many of these as possible via the command line.
The configure procedure may be given command line options, and, if
run without -batch
, additionally prompts for a number of
parameters:
./configure -mpp -mppbase /usr/local/ga-4-0-8
which should contain directories include
and lib/TARGET
where for example on Linux/x86_64 TARGET=LINUX64
.
Queries regarding Global Arrays installations should be sent directly to the Global Arrays team, any Molpro related queries will assume a fully functional Global Arrays suite with all internal tests run successfully.
A special situation arises if 64-bit integers are in use (-i8), since on many platforms the system BLAS libraries only supports 32-bit integer arguments. In such cases (e.g., IBM, SGI, SUN) either 0 or 4 can be given for the BLAS level. BLAS=0 should always work and means that the MOLPRO Fortran BLAS routines are used. On some platforms (IBM, SGI, SUN) BLAS=4 will give better performance; in this case some 32-bit BLAS routines are used from the system library (these are then called from wrapper routines, which convert 64 to 32-bit integer arguments. Note that this might cause problems if more than 2 GB of memory is used).
For good performance it is important to use appropriate BLAS libraries; in particular, a fast implementation of the matrix multiplication dgemm is very important for MOLPRO. Therefore you should use a system tuned BLAS library whenever available.
MOLPRO will automatically detect the most appropriate BLAS library in many cases. In certain cases, in particular when the BLAS library is installed in a non-default location, configure should be directed to the appropriate directory with:
./configure -blaspath /path/to/lib/dir
Specification of BLAS libraries can be simplified by placing any relevant downloaded libraries in the directory blaslibs; configure searches this directory (and then, with lower priority, some potential system directories) for libraries relevant to the hardware.
For Intel and AMD Linux systems we recommend the following BLAS libraries:
The full list of command-line options recognized by configure are:
molpro@molpro.net