9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-21 11:03:29 +01:00

Use ATLAS on travis

This commit is contained in:
Anthony Scemama 2020-08-26 10:11:52 +02:00
parent 3edc33e05b
commit 628564b9b0
2 changed files with 11 additions and 9 deletions

View File

@ -19,9 +19,11 @@ addons:
packages: packages:
- gfortran - gfortran
- gcc - gcc
- libatlas-base-dev
- liblapack-dev - liblapack-dev
- libblas-dev - libblas-dev
- wget - wget
- eatmydata
env: env:
- OPAMROOT=$HOME/.opam - OPAMROOT=$HOME/.opam
@ -43,9 +45,9 @@ stages:
jobs: jobs:
include: include:
- stage: configuration - stage: configuration
script: travis/configuration.sh script: eatmydata travis/configuration.sh
- stage: compilation - stage: compilation
script: travis/compilation.sh script: eatmydata travis/compilation.sh
- stage: testing - stage: testing
script: travis/testing.sh script: eatmydata travis/testing.sh

View File

@ -11,9 +11,9 @@
# #
[COMMON] [COMMON]
FC : gfortran -ffree-line-length-none -I . -g -fPIC FC : gfortran -ffree-line-length-none -I . -g -fPIC
LAPACK_LIB : -llapack -lblas LAPACK_LIB : -llapack -lblas
IRPF90 : irpf90 IRPF90 : irpf90
IRPF90_FLAGS : --ninja --align=32 --assert IRPF90_FLAGS : --ninja --align=32 --assert
# Global options # Global options
################ ################
@ -35,14 +35,14 @@ OPENMP : 1 ; Append OpenMP flags
# -ffast-math and the Fortran-specific # -ffast-math and the Fortran-specific
# -fno-protect-parens and -fstack-arrays. # -fno-protect-parens and -fstack-arrays.
[OPT] [OPT]
FCFLAGS : -Ofast -march=native FCFLAGS : -Ofast -march=native
# Profiling flags # Profiling flags
################# #################
# #
[PROFILE] [PROFILE]
FC : -p -g FC : -p -g
FCFLAGS : -Ofast -fimplicit-none FCFLAGS : -Ofast -fimplicit-none
@ -53,7 +53,7 @@ FCFLAGS : -Ofast -fimplicit-none
# -g : Extra debugging information # -g : Extra debugging information
# #
[DEBUG] [DEBUG]
FCFLAGS : -Ofast -fcheck=all -g -Waliasing -Wampersand -Wconversion -Wsurprising -Wintrinsics-std -Wno-tabs -Wintrinsic-shadow -Wline-truncation -Wreal-q-constant FCFLAGS : -Ofast -fcheck=all -g -Waliasing -Wampersand -Wconversion -Wsurprising -Wintrinsics-std -Wno-tabs -Wintrinsic-shadow -Wline-truncation -Wreal-q-constant
# OpenMP flags # OpenMP flags
@ -61,5 +61,5 @@ FCFLAGS : -Ofast -fcheck=all -g -Waliasing -Wampersand -Wconversion -Wsurprising
# #
[OPENMP] [OPENMP]
FC : -fopenmp FC : -fopenmp
IRPF90_FLAGS : --openmp IRPF90_FLAGS : --openmp