The KKRSusc program is interfaced with an older version of KKRImp. In the code package, the source code for that version of KKRImp is included along with the separate susceptibility solver. Both the solver and the impurity code have to be compiled for KKRSusc to work.
Prepare for running the KKRsusc program
Source code for KKRsusc program
Common code version
* Download recent code package
Compile solver
First unzip the tar-file. Inside the resulting folder, you will find the solver_module_v2 and SOURCE directories. The solver has to be compiled first. Enter the solver directory and create a directory /obj
[USER@SOMEWHERE/solver_module_v2/ $ mkdir obj
Then compile the code with:
$make
This will prepare the solver files to be interfaced with KKRImp.
Compile KKRIMP
For KKRSusc, two different versions of the code are needed, one compiled in parallel and one in serial. For that reason create two folders by copying /SOURCE to /SOURCE_MPI and /SOURCE_SERIAL (the names do not matter). Enter SOURCE_MPI and link /obj from the solver directory to mod_obj using:
$ ln -s ../solver_module_v2/obj mod_obj
Then compile the code with:
`$make mpi`
Do the same for SOURCE_SERIAL but use :
[USER@SOMEWHERE/SOURCE_SERIAL\]$ make
for the compilation. Done!
Type make debug to create a (slower) version that does additional checks (e.g. to trace back bugs etc.).
Type make clean to delete all object and module files.
Type make cleanx to delete all object and module files as well as all executables (*.x).
Main files
* newinpsusc.dat * outsusc.dat *
Special files
* excorr.krnl (contains the exchange and correlation Kernel) * gridpoints_dsusc.dat (contains the grid points for the susceptibility fit) * run.iff402 (script for the cluster iff402 that performs the monkey work for you)