|
| 1 | +variables: |
| 2 | + SCHEDULER_PARAMETERS: "-pskylake-gold -t 1:00:00 -N 1 --ntasks-per-node=16" |
| 3 | + GIT_STRATEGY: clone |
| 4 | + NPROCS: 4 |
| 5 | + |
| 6 | +stages: |
| 7 | + - build |
| 8 | + - test |
| 9 | + |
| 10 | +.report-status: |
| 11 | + variables: |
| 12 | + # You can define ALL BUILDSTATUS_ variables here, with the |
| 13 | + # exception of the TOKEN if it makes it easier to manage. |
| 14 | + BUILDSTATUS_OWNER: hppritcha |
| 15 | + BUILDSTATUS_PROJECT: ompi |
| 16 | + BUILDSTATUS_APIURL: https://api.github.com |
| 17 | + BUILDSTATUS_JOB: LANL |
| 18 | + script: |
| 19 | + # ls -l /ccsopen/home/tjn3/ums/ompix/scripts/build-status.py |
| 20 | + - export BUILDSTATUS_OWNER=hppritcha |
| 21 | + - export BUILDSTATUS_PROJECT=ompi |
| 22 | + - export BUILDSTATUS_APIURL=https://api.github.com |
| 23 | + - export BUILDSTATUS_JOB=LANL |
| 24 | + - env | grep CI_ |
| 25 | + - echo "DBG Running python build-status.py script" |
| 26 | + - python /home/hpp/bin/build-status.py |
| 27 | + dependencies: [] |
| 28 | + cache: |
| 29 | + key: python-requests |
| 30 | + paths: |
| 31 | + - $CI_PROJECT_DIR/env/ |
| 32 | + policy: pull |
| 33 | + |
| 34 | +build:intel: |
| 35 | + stage: build |
| 36 | + tags: [darwin-slurm-shared] |
| 37 | + script: |
| 38 | + - module load intel |
| 39 | + - git submodule update --init |
| 40 | + - ./autogen.pl |
| 41 | + - ./configure CC=icc FC=ifort CXX=icpc --prefix=$PWD/install_test --with-libevent=internal |
| 42 | + - make -j 8 install |
| 43 | + - make check |
| 44 | + - export PATH=$PWD/install_test/bin:$PATH |
| 45 | + - cd examples |
| 46 | + - make |
| 47 | + variables: |
| 48 | + SCHEDULER_PARAMETERS: "-pskylake-gold -t 1:00:00 -N 1 --ntasks-per-node=16" |
| 49 | + artifacts: |
| 50 | + name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" |
| 51 | + untracked: true |
| 52 | + paths: |
| 53 | + - examples |
| 54 | + - install_test |
| 55 | + expire_in: 1 week |
| 56 | + |
| 57 | +build:gnu: |
| 58 | + stage: build |
| 59 | + tags: [darwin-slurm-shared] |
| 60 | + script: |
| 61 | + - module load gcc |
| 62 | + - git submodule update --init |
| 63 | + - ./autogen.pl |
| 64 | + - ./configure --prefix=$PWD/install_test --with-libevent=internal |
| 65 | + - make -j 8 install |
| 66 | + - make check |
| 67 | + - export PATH=$PWD/install_test/bin:$PATH |
| 68 | + - cd examples |
| 69 | + - make |
| 70 | + artifacts: |
| 71 | + name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" |
| 72 | + untracked: true |
| 73 | + paths: |
| 74 | + - examples |
| 75 | + - install_test |
| 76 | + expire_in: 1 week |
| 77 | + |
| 78 | +test:intel: |
| 79 | + stage: test |
| 80 | + tags: [darwin-slurm-shared] |
| 81 | + dependencies: |
| 82 | + - build:intel |
| 83 | + needs: ["build:intel"] |
| 84 | + script: |
| 85 | + - pwd |
| 86 | + - ls |
| 87 | + - module load intel |
| 88 | + - export PATH=$PWD/install_test/bin:$PATH |
| 89 | + - which mpirun |
| 90 | + - cd examples |
| 91 | + - mpirun -np 4 hostname |
| 92 | + - mpirun -np 4 ./hello_c |
| 93 | + - mpirun -np 4 ./ring_c |
| 94 | + - mpirun -np 4 ./hello_mpifh |
| 95 | + - mpirun -np 4 ./ring_mpifh |
| 96 | + - mpirun -np 4 ./hello_usempi |
| 97 | + - mpirun -np 4 ./ring_usempi |
| 98 | + - mpirun -np 4 ./hello_usempif08 |
| 99 | + - mpirun -np 4 ./ring_usempif08 |
| 100 | + - mpirun -np 4 ./connectivity_c |
| 101 | + artifacts: |
| 102 | + name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" |
| 103 | + expire_in: 1 week |
| 104 | + |
| 105 | +test:gnu: |
| 106 | + stage: test |
| 107 | + tags: [dawrin-slurm-shared] |
| 108 | + dependencies: |
| 109 | + - build:gnu |
| 110 | + needs: ["build:gnu"] |
| 111 | + script: |
| 112 | + - pwd |
| 113 | + - ls |
| 114 | + - module load gcc |
| 115 | + - export PATH=$PWD/install_test/bin:$PATH |
| 116 | + - which mpirun |
| 117 | + - cd examples |
| 118 | + - mpirun -np 4 hostname |
| 119 | + - mpirun -np 4 ./hello_c |
| 120 | + - mpirun -np 4 ./ring_c |
| 121 | + - mpirun -np 4 ./hello_mpifh |
| 122 | + - mpirun -np 4 ./ring_mpifh |
| 123 | + - mpirun -np 4 ./hello_usempi |
| 124 | + - mpirun -np 4 ./ring_usempi |
| 125 | + - mpirun -np 4 ./hello_usempif08 |
| 126 | + - mpirun -np 4 ./ring_usempif08 |
| 127 | + - mpirun -np 4 ./connectivity_c |
| 128 | + artifacts: |
| 129 | + name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" |
| 130 | + expire_in: 1 week |
| 131 | + |
0 commit comments