Commit 7d41115a authored by Marco Govoni's avatar Marco Govoni
Browse files

Merge branch 'ci' into 'ci'

Ci

See merge request west-devel/West!3
parents 1671389b b48427e1
......@@ -10,11 +10,11 @@ west_build:
stage: build
image: ubuntu:latest
before_script:
- apt-get update
- apt-get install --yes --quiet git
- apt-get install --yes --quiet build-essential gfortran wget python
- apt-get install --yes --quiet libopenmpi-dev openmpi-bin
- apt-get install --yes --quiet libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config
- apt-get update > /dev/null
- apt-get install -qq git > /dev/null
- apt-get install -qq build-essential gfortran wget python > /dev/null
- apt-get install -qq libopenmpi-dev openmpi-bin > /dev/null
- apt-get install -qq libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config > /dev/null
script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR
......@@ -33,18 +33,18 @@ west_test_gamma:
stage: test
image: ubuntu:latest
before_script:
- apt-get update
- apt-get install --yes --quiet git
- apt-get install --yes --quiet build-essential gfortran wget python
- apt-get install --yes --quiet libopenmpi-dev openmpi-bin
- apt-get install --yes --quiet libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config
- apt-get update > /dev/null
- apt-get install -qq git > /dev/null
- apt-get install -qq build-essential gfortran wget python > /dev/null
- apt-get install -qq libopenmpi-dev openmpi-bin > /dev/null
- apt-get install -qq libblas-dev liblapack-dev fftw3 fftw3-dev pkg-config > /dev/null
script:
- git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
- cd QEDIR
- ./configure
- make -j pw
- ./configure FFLAGS="-ffpe-summary=none" > /dev/null
- make -j pw > /dev/null
- git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
- cd West
- make
- cd West
- make > /dev/null
- cd test
- make NP=28 NI=1 NT=1
......@@ -15,8 +15,11 @@ prepare_input:
run:
- ${PARA_PREFIX} ${BINDIR}/pw.x -i pw.in > pw.out
- tail -5 pw.out
- ${PARA_PREFIX} ${BINDIR}/wstat.x -nimage ${NIMAGE} -i wstat.in > wstat.out
- tail -5 wstat.out
- ${PARA_PREFIX} ${BINDIR}/wfreq.x -nimage ${NIMAGE} -i wfreq.in > wfreq.out
- tail -5 wfreq.out
clean:
- /bin/rm -rf *out *in *upf *save >& /dev/null
......
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