.gitlab-ci.yml 1.42 KB
Newer Older
1
2
3
4
5
6
variables:
  GIT_SUBMODULE_STRATEGY: recursive

stages:
  - build

Ralf Mueller's avatar
Ralf Mueller committed
7
8
9
10
11
12
13
build-serial:
  stage: build
  before_script:
    - . /sw/rhel6-x64/etc/profile.mistral && module list
  script:
    - /sw/rhel6-x64/gcc/gcc-6.4.0/bin/gcc --version
    - module load gcc/6.4.0
14
    - mkdir gcc64 && cd gcc64 && ../configure CC=gcc FC=gfortran --disable-cdi-app --enable-iso-c-interface --with-netcdf=/sw/rhel6-x64/netcdf/netcdf_c-4.7.2-gcc64  && make -j2 && make check
Ralf Mueller's avatar
Ralf Mueller committed
15
16
17
18
19
  artifacts:
    paths:
      - gcc64/config.log
    expire_in: 5min
  tags:
Ralf Mueller's avatar
Ralf Mueller committed
20
  - singularity, mistral
Ralf Mueller's avatar
Ralf Mueller committed
21
22
23
  only:
  - gitlab-ci

Ralf Mueller's avatar
Ralf Mueller committed
24
25
26
27
28
29
30
31
32
33
34
35
36
build-parallel:
  stage: build
  before_script:
    - . /sw/rhel6-x64/etc/profile.mistral && module list
  script:
    - /sw/rhel6-x64/gcc/gcc-6.4.0/bin/gcc --version
    - module load gcc/6.4.0
    - module load intel
    - module load openmpi/2.0.2p2_hpcx-intel14
    - mpif90 --version
    - mpicc --version
    - mpirun --help
    - ulimit -a
37
    - mkdir gcc64-mpi && cd gcc64-mpi && ../configure CC=mpicc FC=mpif90  --with-netcdf=/sw/rhel6-x64/netcdf/netcdf_c-4.4.0-parallel-openmpi2-intel14 --with-szlib=/sw/rhel6-x64/sys/libaec-0.3.2-gcc48 --enable-iso-c-interface --with-jasper --with-grib_api=/sw/rhel6-x64/grib_api/grib_api-1.15.0-intel14 --enable-mpi LDFLAGS=-L/sw/rhel6-x64/netcdf/parallel_netcdf-1.6.1-openmpi2-intel14/lib && make -j2
Ralf Mueller's avatar
Ralf Mueller committed
38
39
  artifacts:
    paths:
Ralf Mueller's avatar
Ralf Mueller committed
40
      - gcc64-mpi/config.log
Ralf Mueller's avatar
Ralf Mueller committed
41
42
    expire_in: 5min
  tags:
Ralf Mueller's avatar
Ralf Mueller committed
43
  - singularity, mistral
Ralf Mueller's avatar
Ralf Mueller committed
44
45
  only:
  - gitlab-ci