... | ... | @@ -10,13 +10,27 @@ The KKRSusc program is interfaced with an older version of KKRImp. In the code p |
|
|
|
|
|
### 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 $ mkdir obj
|
|
|
|
|
|
Then compile the code with: ... $make ... This will prepare the solver files to be interfaced with KKRImp.
|
|
|
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 :
|
|
|
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
|
... | ... | |