-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
83 lines (75 loc) · 2.04 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
build:pw:
tags: [docker]
image: espressofoundation/ubuntu:latest
script:
- ./configure
- make pw
# - export OMP_NUM_THREADS=1
# - cd test-suite
# - mkdir /tmp/save
# - make run-tests-pw-serial
# - rm -r /tmp/save
build:cp:
tags: [docker]
image: espressofoundation/ubuntu:latest
script:
- ./configure
- make cp
# - export OMP_NUM_THREADS=1
# - cd test-suite
# - mkdir /tmp/save
# - make run-tests-cp-serial
# - rm -r /tmp/save
#build:ph:
# tags: [docker]
# image: espressofoundation/ubuntu:latest
# script:
# - ./configure
# - make ph
# - export OMP_NUM_THREADS=1
# - cd test-suite
# - mkdir /tmp/save
# - make run-tests-ph-serial
# - rm -r /tmp/save
build:cmake-gnu:
tags: [docker]
image: ubuntu:latest
script:
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
- apt-get install --yes gfortran git cmake libopenblas0 libopenblas-dev libfftw3-3 libfftw3-dev libopenmpi3 libopenmpi-dev
- cmake --version
- mkdir build
- cd build
- cmake -DCMAKE_Fortran_COMPILER=mpif90 -DCMAKE_C_COMPILER=gcc .. && make
build:pgi:
tags: [docker]
image: nvcr.io/nvidia/nvhpc:20.9-devel-centos7
script:
- ./configure FC=pgf90 F90=pgf90 F77=pgfortran MPIF90=mpif90 --enable-openmp --with-cuda=yes --enable-cuda-env-check=no
- make pw cp ph
#build:centos:
# image: centos:latest
# script:
# - yum -y groupinstall "Development Tools"
# - yum -y install wget which python27
# - ./configure
# - make all
# - export OMP_NUM_THREADS=1
# - cd test-suite
# - mkdir /tmp/save
# - make run-tests-serial
# - rm -r /tmp/save
#### BUILDS ON GALILEO ####
#build:intel:
# tags: [galileo]
# script:
# - module load intel/pe-xe-2017--binary intelmpi/2017--binary mkl/2017--binary
# - ./configure --enable-openmp
# - make pw cp
# - export OMP_NUM_THREADS=2
# - cd test-suite
# - mkdir -p /tmp/save
# - make run-tests-pw-parallel
# - make run-tests-cp-parallel
# - rm -r /tmp/save