Update prepare authored by Ilias Klepetsanis's avatar Ilias Klepetsanis
...@@ -13,21 +13,26 @@ First unzip the tar-file. Inside the resulting folder, you will find the solver_ ...@@ -13,21 +13,26 @@ First unzip the tar-file. Inside the resulting folder, you will find the solver_
$ mkdir obj $ mkdir obj
Then compile the code with: Then compile the code with:
...
$make $make
...
This will prepare the solver files to be interfaced with KKRImp. This will prepare the solver files to be interfaced with KKRImp.
### Compile 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 coping /SOURCE to /SOURCE_MPI and /SOURCE_SERIAL (the names do not matter). 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 coping /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: Enter SOURCE_MPI and link /obj from the solver directory to mod_obj using:
...
$ ln -s ../solver_module_v2/obj mod_obj $ ln -s ../solver_module_v2/obj mod_obj
...
Then compile the code with: Then compile the code with:
...
$make mpi $make mpi
...
Do the same for SOURCE_SERIAL but use : Do the same for SOURCE_SERIAL but use :
...
$ make $ make
...
for the compilation. Done! for the compilation. Done!
``` ```
... ...
......