Commit c76831e4 authored by Daniel Wortmann's avatar Daniel Wortmann

Updated

parent 64a679dd
......@@ -13,6 +13,6 @@ If in trouble please contact your system-admin for help.
In this tutorial a basic Ubuntu image is used. Hence, we have to install quite some additional software.
Please perform the following steps to set-up the environment. Please be patient, this will take some time.
`add-apt-repository -y ppa:ubuntu-toolchain-r/test ;apt update ;apt -y install gfortran-8 cmake libxml2-dev liblapack-dev`{{execute}}
`add-apt-repository -y ppa:ubuntu-toolchain-r/test ;apt update ;apt -y install gfortran-8 cmake libxml2-dev liblapack-dev; update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 20 ;update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-8 20`{{execute}}
......@@ -4,12 +4,10 @@ It's most basic usage is simply:
`fleur/configure.sh`{{execute}}
However, this will fail in this environment as the default fortran compiler is too old.
We will have to set the Fortran compiler explicitly by using
`FC=gfortran-8 fleur/configure.sh`{{execute}}
This configure step will print a summary of the configuration and create a directory 'build' in which FLEUR will be compiled.
You can use `fleur/configure.sh -h`{{execute}} to find more options.
You can use `fleur/configure.sh -h`{{execute}} to find more options. In particular you might have to:
* set a compiler using the CC and FC environment variables
* add linker/compiler options
......@@ -3,6 +3,9 @@ Finally it is time to compile FLEUR. Change into the 'build'-directory
and do a `make`{{execute}}.
This will take some time during which the various files are compiled.
At the end you will obtain two executables 'fleur' and 'inpgen'. If your system
also provides a MPI installation in addition you will see an executable 'fleur_MPI'.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment