Example for the
usage of the subroutines
|
| |
has to be included in the ".cshrc" file. When this has been done it is easy to use the library for own programs. Simply add "-ldft" as argument for the compiler call when you compile your program:setenv LD_LIBRARY_PATH /home/dft/archive/source:$LD_LIBRARY_PATH
To use the library without a modification of your library path you can explicitely specify the location of the DFT-Library:heiko@miraculix:~/fortran > f77 testdens.f -ldft
The option "-L" sets the path to the library and "-ldft" links the library to the program that is compiled.heiko@miraculix:~/fortran > f77 testdens.f -L/home/heiko/archive/source -ldft
Last Modified: November 29, 1999
Heiko Appel, email:
appel@physics.rutgers.edu