.gitlab-ci.yml 1.45 KB
Newer Older
Marco Govoni's avatar
Marco Govoni committed
1
2
variables:
 GIT_STRATEGY: none
Marco Govoni's avatar
Marco Govoni committed
3

Marco Govoni's avatar
Marco Govoni committed
4
5
stages:
 - build
Marco Govoni's avatar
Marco Govoni committed
6
 - test
Marco Govoni's avatar
Marco Govoni committed
7

Marco Govoni's avatar
Marco Govoni committed
8
west_build:
Marco Govoni's avatar
Marco Govoni committed
9
10
11
12
 tags: [rcc,docker,node-01]
 stage: build
 image: ubuntu:latest
 before_script:
Marco Govoni's avatar
Marco Govoni committed
13
14
15
16
17
   - 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
Marco Govoni's avatar
Marco Govoni committed
18
19
20
 script:
   - git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
   - cd QEDIR
Marco Govoni's avatar
Marco Govoni committed
21
   - git describe
Marco Govoni's avatar
Marco Govoni committed
22
23
   - ./configure
   - make -j pw
Marco Govoni's avatar
Marco Govoni committed
24
   - ls bin
Marco Govoni's avatar
Marco Govoni committed
25
   - git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
Marco Govoni's avatar
Marco Govoni committed
26
   - cd West
Marco Govoni's avatar
Marco Govoni committed
27
   - git describe
Marco Govoni's avatar
Marco Govoni committed
28
29
   - make
   - ls ../bin 
Marco Govoni's avatar
Marco Govoni committed
30
31
32
33
34
35

west_test_gamma:
 tags: [rcc,docker,node-01]
 stage: test
 image: ubuntu:latest
 before_script:
Marco Govoni's avatar
Marco Govoni committed
36
37
38
39
40
   - 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
Marco Govoni's avatar
Marco Govoni committed
41
42
43
 script:
   - git clone -b 'qe-6.1.0' --single-branch --depth 1 https://gitlab.com/QEF/q-e.git QEDIR
   - cd QEDIR
Marco Govoni's avatar
Marco Govoni committed
44
45
   - ./configure FFLAGS="-ffpe-summary=none" > /dev/null
   - make -j pw > /dev/null
Marco Govoni's avatar
Marco Govoni committed
46
   - git clone -b $CI_COMMIT_REF_NAME $CI_REPOSITORY_URL West
Marco Govoni's avatar
Marco Govoni committed
47
48
   - cd West 
   - make > /dev/null
Marco Govoni's avatar
Marco Govoni committed
49
   - cd tests 
Marco Govoni's avatar
Marco Govoni committed
50
   - make NP=28 NI=1 NT=1