Makefile
in the develop directory of the
installed MOLPRO source tree.
make basefilesto set up various development utility scripts. The original distribution directory appears symbolically linked to
./base
.
make file1 file2 ...where
file1
etc. are pathnames that can be fully qualified,
relative to base
, or relative to base/src/*/
.
makeshould build your version of the program, together with appropriate ancillary files, such that you can then run it by simply issuing
molproBy default, files are compiled without optimization, and with debug enabled. To force compiler optimization, use
make FFLAGS=-OTo insert additional linking options, use
make LFLAGS='<any additional options you like to be passed to ld>'
molpro.exe
can in normal circumstances be used
instead of the wrapper program molpro
. It is essential that
those environment variables that molpro
normally handles are
explicitly set, but this can be conveniently achieved by issuing,
for C shell,
source ./cshrcor, for Bourne shell,
. ./profile
make verycleanThis will remove all objects, executables and ancillary files, but will leave your fortran files intact!
This procedure can be duplicated as many times as necessary for different development projects. Each project can go on simultaneously in a different directory without interference.
The file molpro.rc controls the way in which the molpro command front end prepares for and loads the back end module molpro.exe. The make procedure will create a molpro.rc which is suitable for most purposes, but you can edit it to your needs. If molpro.rc is not changed from the default, make veryclean will destroy it; otherwise it is kept. Possible options to add/change include:
P.J. Knowles and H.-J. Werner