@@ -46,13 +46,17 @@ global: code used everywhere (here you find types.F90 with the data-types)
cmake: definitions used by cmake (see Installation)
If you modify FLEUR please do so in the develop branch by running
git checkout -t origin/develop
after cloning the git repository.
----------------------------------------------
2. Installation
----------------------------------------------
For the compilation of FLEUR you will need:
- Fortran compiler (should support Fortran2003)
- Fortran compiler (should support Fortran2008)
- Compatible C compiler for the XML-IO
- cmake for controlling the make-process
- Libraries:
...
...
@@ -72,9 +76,15 @@ change to the build directory and type:
cmake ../src
make
This might generate the FLEUR executables. If you get errors, you have to adjust cmake
so that your build system is correctly set-up. To do so, please adjust cmake.config. You might
find inspiration in the cmake.???.config files provided for several systems.
This might generate the FLEUR executables. It most probable will only work on systems we know as
only for those there will be specific configurations in the cmake directory.
If you get errors, you have to configure your build system yourself.
There are two options to do that.
- Either set the environment variable FC to either ifort,pgfortran or gfortran.
Then the configuration in the cmake directory will be used from cmake.[ifort|gfortran|pgfortran].config will be used that can again work for your system or can be adjusted.
- Or you run cmake with the option -DFleur_custom_toolchain and you adjust cmake.config to your needs.
You might find inspiration in the cmake.???.config files provided for several systems.
If your build environment is recognized correctly you can obtain the following executables: