.gitlab-ci.yml 836 Bytes
Newer Older
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
variables:
  GIT_SUBMODULE_STRATEGY: recursive

stages:
  - build

build:
  stage: build
  before_script:
    - eval $(ssh-agent -s)
    - ssh-keyscan git.mpimet.mpg.de >> ~/.ssh/known_hosts
#   - ssh -vT git@git.mpimet.mpg.de
    - ls /sw/rhel6-x64
    - . /sw/rhel6-x64/etc/profile.mistral && module list
  script:
    - /sw/rhel6-x64/gcc/gcc-6.4.0/bin/gcc --version
    - echo $USER
    - echo $HOME
    - echo $PATH
    - pwd
    - module load gcc/6.4.0
    - module load openmpi/2.0.2p2_hpcx-gcc64
    - mpif90 --version
    - mpicc --version
    - mpirun --help
26
    - ulimit -a
Ralf Mueller's avatar
Ralf Mueller committed
27
    - mkdir gcc64 && cd gcc64 && ../configure CC=mpicc FC=mpif90 MPI_LAUNCH=true --enable-mpi --disable-cdi-app --enable-iso-c-interface 
28
29
30
31
32
33
34
35
36
37
38
  artifacts:
    paths:
      - gcc64/config.log
    expire_in: 5min

  tags:
  - mistral

  only:
  - gitlab-ci