Example for the usage of the subroutines

If you plan to use the library frequently it may be useful to include the path to the library in your login file. As example, for a c or tc shell this line:
setenv LD_LIBRARY_PATH /home/dft/archive/source:$LD_LIBRARY_PATH 
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:
heiko@miraculix:~/fortran > f77 testdens.f -ldft
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 -L/home/heiko/archive/source -ldft
The option "-L" sets the path to the library and "-ldft" links the library to the program that is compiled.

[ main page ]

Last Modified: November 29, 1999
Heiko Appel, email: appel@physics.rutgers.edu