Commit 3bc0f42a authored by Daniel Wortmann's avatar Daniel Wortmann

Changed defaults for gfortran compiler, reset gfortran for CI

parent a991918f
#build-gfortran:
# image: ubuntu:16.10
# stage: build
# cache:
# paths:
# - build
# script:
# - apt-get update -qq && apt-get install -y -qq build-essential gfortran gfortran-6 g++-6 gcc-6 binutils-gold git cmake libxml2-dev liblapack-dev libblas-dev doxygen
# - cd /builds/fleur/fleur; ./configure.sh AUTO; cd build; make
#test-gfortran:
# image: ubuntu:16.10
# stage: test
# cache:
# paths:
# - build
# script:
# - apt-get update -qq && apt-get install -y -qq build-essential gfortran gfortran-6 g++-6 gcc-6 binutils-gold git cmake libxml2-dev liblapack-dev libblas-dev doxygen
# - cd /builds/fleur/fleur/build;ctest
build-pgi:
image: hopobcn/pgi-ce
build-gfortran:
image: ubuntu:16.10
stage: build
cache:
paths:
- build.debug
- build
script:
- apt-get update -qq && apt-get install -y -qq cmake libxml2-dev
- cd /builds/fleur/fleur; ./configure.sh AUTO debug; cd build.debug; make
test-pgi:
image: hopobcn/pgi-ce
- apt-get update -qq && apt-get install -y -qq build-essential gfortran gfortran-6 g++-6 gcc-6 binutils-gold git cmake libxml2-dev liblapack-dev libblas-dev doxygen
- cd /builds/fleur/fleur; ./configure.sh AUTO; cd build; make
test-gfortran:
image: ubuntu:16.10
stage: test
cache:
paths:
- build.debug
- build
script:
- apt-get update -qq && apt-get install -y -qq cmake libxml2-dev
- cd /builds/fleur/fleur/build.debug;ctest
- apt-get update -qq && apt-get install -y -qq build-essential gfortran gfortran-6 g++-6 gcc-6 binutils-gold git cmake libxml2-dev liblapack-dev libblas-dev doxygen
- ulimit -s unlimited ;cd /builds/fleur/fleur/build;ctest
#build-pgi:
# image: hopobcn/pgi-ce
# stage: build
# cache:
# paths:
# - build.debug
# script:
# - apt-get update -qq && apt-get install -y -qq cmake libxml2-dev
# - cd /builds/fleur/fleur; ./configure.sh AUTO debug; cd build.debug; make
#test-pgi:
# image: hopobcn/pgi-ce
# stage: test
# cache:
# paths:
# - build.debug
# script:
# - apt-get update -qq && apt-get install -y -qq cmake libxml2-dev
# - cd /builds/fleur/fleur/build.debug;ctest
......@@ -28,6 +28,6 @@ elseif(${CMAKE_Fortran_COMPILER_ID} MATCHES "GNU")
message(FATAL_ERROR "Only modern versions of gfortran >6.3 will be able to compile FLEUR\nYou need to specify a different compiler.\nSee the docs at www.flapw.de.\n")
endif()
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ffree-line-length-none -fopenmp -fdefault-real-8 ")
set(CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE} -O4")
set(CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE} -O1")
set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -fdump-core -Wall -Wextra -Warray-temporaries -fbacktrace -fcheck=all -finit-real=nan -O0 -g")
endif()
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