mirror of
https://github.com/paboyle/Grid.git
synced 2025-01-26 18:13:56 +00:00
Separating travis builds
This commit is contained in:
parent
b512ccbee6
commit
b0d3e4bb2c
35
.travis.yml
35
.travis.yml
@ -9,10 +9,16 @@ matrix:
|
|||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode7.2
|
osx_image: xcode7.2
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
env:
|
||||||
|
- PRECISION=single
|
||||||
|
- PRECISION=double
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode7.2
|
osx_image: xcode7.2
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env: VERSION=-5
|
env:
|
||||||
|
- VERSION=-5
|
||||||
|
- PRECISION=single
|
||||||
|
- PRECISION=double
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
@ -24,7 +30,10 @@ matrix:
|
|||||||
- libgmp-dev
|
- libgmp-dev
|
||||||
- libmpc-dev
|
- libmpc-dev
|
||||||
- binutils-dev
|
- binutils-dev
|
||||||
env: VERSION=-4.9
|
env:
|
||||||
|
- VERSION=-4.9
|
||||||
|
- PRECISION=single
|
||||||
|
- PRECISION=double
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
@ -36,7 +45,10 @@ matrix:
|
|||||||
- libgmp-dev
|
- libgmp-dev
|
||||||
- libmpc-dev
|
- libmpc-dev
|
||||||
- binutils-dev
|
- binutils-dev
|
||||||
env: VERSION=-5
|
env:
|
||||||
|
- VERSION=-5
|
||||||
|
- PRECISION=single
|
||||||
|
- PRECISION=double
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
@ -48,7 +60,10 @@ matrix:
|
|||||||
- libgmp-dev
|
- libgmp-dev
|
||||||
- libmpc-dev
|
- libmpc-dev
|
||||||
- binutils-dev
|
- binutils-dev
|
||||||
env: CLANG_LINK=http://llvm.org/releases/3.8.0/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
|
env:
|
||||||
|
- CLANG_LINK=http://llvm.org/releases/3.8.0/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
|
||||||
|
- PRECISION=single
|
||||||
|
- PRECISION=double
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
@ -60,7 +75,10 @@ matrix:
|
|||||||
- libgmp-dev
|
- libgmp-dev
|
||||||
- libmpc-dev
|
- libmpc-dev
|
||||||
- binutils-dev
|
- binutils-dev
|
||||||
env: CLANG_LINK=http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
|
env:
|
||||||
|
- CLANG_LINK=http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
|
||||||
|
- PRECISION=single
|
||||||
|
- PRECISION=double
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- export GRIDDIR=`pwd`
|
- export GRIDDIR=`pwd`
|
||||||
@ -85,10 +103,7 @@ script:
|
|||||||
- ./scripts/reconfigure_script
|
- ./scripts/reconfigure_script
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- ../configure CXXFLAGS="-msse4.2 -O3 -std=c++11" LIBS="-lmpfr -lgmp" --enable-precision=single --enable-simd=SSE4 --enable-comms=none
|
- ../configure CXXFLAGS="-msse4.2 -O3 -std=c++11" LIBS="-lmpfr -lgmp" --enable-precision=$PRECISION --enable-simd=SSE4 --enable-comms=none
|
||||||
- make -j4
|
|
||||||
- ./benchmarks/Benchmark_dwf --threads 1
|
|
||||||
- make clean
|
|
||||||
- ../configure CXXFLAGS="-msse4.2 -O3 -std=c++11" LIBS="-lmpfr -lgmp" --enable-precision=double --enable-simd=SSE4 --enable-comms=none
|
|
||||||
- make -j4
|
- make -j4
|
||||||
- ./benchmarks/Benchmark_dwf --threads 1
|
- ./benchmarks/Benchmark_dwf --threads 1
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ class SU_Adjoint : public SU<ncolour> {
|
|||||||
for (int a = 0; a < Dimension; a++) generator(a, iTa[a]);
|
for (int a = 0; a < Dimension; a++) generator(a, iTa[a]);
|
||||||
}
|
}
|
||||||
|
|
||||||
Real coefficient = -1.0 / (ncolour)*scale; // 1/Nc for the normalization of
|
Real coefficient = -1.0 / (ncolour) * scale; // 1/Nc for the normalization of
|
||||||
// the trace in the adj rep
|
// the trace in the adj rep
|
||||||
|
|
||||||
for (int a = 0; a < Dimension; a++) {
|
for (int a = 0; a < Dimension; a++) {
|
||||||
|
@ -70,7 +70,7 @@ class HmcRunner : public NerscHmcRunnerHirep< TheRepresentations > {
|
|||||||
Real mass = -0.95;
|
Real mass = -0.95;
|
||||||
FermionAction FermOp(U, *FGrid, *FrbGrid, mass);
|
FermionAction FermOp(U, *FGrid, *FrbGrid, mass);
|
||||||
|
|
||||||
ConjugateGradient<FermionField> CG(1.0e-8, 10000);
|
ConjugateGradient<FermionField> CG(1.0e-8, 10000, false);
|
||||||
ConjugateResidual<FermionField> CR(1.0e-8, 10000);
|
ConjugateResidual<FermionField> CR(1.0e-8, 10000);
|
||||||
|
|
||||||
// Pass two solvers: one for the force computation and one for the action
|
// Pass two solvers: one for the force computation and one for the action
|
||||||
|
Loading…
x
Reference in New Issue
Block a user