Skip to content

Commit

Permalink
Merge pull request mom-ocean#34 from gustavo-marques/merge_dev_master…
Browse files Browse the repository at this point in the history
…_20nov2017

Merge dev/master candidate (2017-11-19)
  • Loading branch information
alperaltuntas authored Nov 27, 2017
2 parents 398bf5c + 96f54c3 commit f5f2166
Show file tree
Hide file tree
Showing 101 changed files with 8,660 additions and 12,065 deletions.
42 changes: 21 additions & 21 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ before_script:
merge:
stage: merge+setup
tags:
- ncrc3
- ncrc4
script:
- pwd ; ls
- git pull --no-edit https://github.com/NOAA-GFDL/MOM6.git dev/gfdl
Expand All @@ -25,11 +25,11 @@ merge:
setup:
stage: merge+setup
tags:
- ncrc3
- ncrc4
script:
- pwd ; ls
# Clone regressions directory
- git clone --recursive http://gitlab.gfdl.noaa.gov/ogrp/Gaea_c3-stats-MOM6-examples.git tests && cd tests
- git clone --recursive http://gitlab.gfdl.noaa.gov/ogrp/Gaea-stats-MOM6-examples.git tests && cd tests
# Install / update testing scripts
- git clone https://github.com/adcroft/MRS.git MRS
# Update MOM6-examples and submodules
Expand All @@ -44,7 +44,7 @@ setup:
gnu:repro:
stage: builds
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time make -f MRS/Makefile.build MOM6_SRC=../ build_gnu -s -j
Expand All @@ -54,7 +54,7 @@ gnu:repro:
intel:repro:
stage: builds
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- make -f MRS/Makefile.build MOM6_SRC=../ build_intel -s -j
Expand All @@ -63,7 +63,7 @@ intel:repro:
pgi:repro:
stage: builds
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- make -f MRS/Makefile.build MOM6_SRC=../ build_pgi -s -j
Expand All @@ -72,7 +72,7 @@ pgi:repro:
gnu:debug:
stage: builds
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- make -f MRS/Makefile.build MOM6_SRC=../ debug_gnu -s -j
Expand All @@ -82,23 +82,23 @@ gnu:debug:
run:
stage: run
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/build-gnu-repro-$CI_PIPELINE_ID.tgz
- time tar zxf $CACHE_DIR/build-intel-repro-$CI_PIPELINE_ID.tgz
- time tar zxf $CACHE_DIR/build-pgi-repro-$CI_PIPELINE_ID.tgz
# time tar zxf $CACHE_DIR/build-gnu-debug-$CI_PIPELINE_ID.tgz
- echo "make -f MRS/Makefile.tests all -B" > job.sh
- msub -l partition=c3,nodes=29,walltime=00:24:00,qos=norm -q debug -S /bin/tcsh -j oe -A gfdl_o -z -o log.$CI_PIPELINE_ID -N mom6_regression -K job.sh
- msub -l partition=c4,nodes=29,walltime=00:24:00,qos=norm -q debug -S /bin/tcsh -j oe -A gfdl_o -z -o log.$CI_PIPELINE_ID -N mom6_regression -K job.sh
- cat log.$CI_PIPELINE_ID
- time tar zvcf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz *.tar.gz

# Tests
gnu:non-symmetric:
stage: tests
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz
Expand All @@ -107,7 +107,7 @@ gnu:non-symmetric:
intel:non-symmetric:
stage: tests
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz
Expand All @@ -116,7 +116,7 @@ intel:non-symmetric:
pgi:non-symmetric:
stage: tests
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz
Expand All @@ -125,7 +125,7 @@ pgi:non-symmetric:
gnu:symmetric:
stage: tests
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz
Expand All @@ -134,7 +134,7 @@ gnu:symmetric:
intel:symmetric:
stage: tests
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz
Expand All @@ -143,7 +143,7 @@ intel:symmetric:
pgi:symmetric:
stage: tests
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz
Expand All @@ -152,7 +152,7 @@ pgi:symmetric:
gnu:layout:
stage: tests
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz
Expand All @@ -161,7 +161,7 @@ gnu:layout:
intel:layout:
stage: tests
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz
Expand All @@ -170,7 +170,7 @@ intel:layout:
pgi:layout:
stage: tests
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz
Expand All @@ -179,7 +179,7 @@ pgi:layout:
gnu:static:
stage: tests
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz
Expand All @@ -188,7 +188,7 @@ gnu:static:
gnu:restart:
stage: tests
tags:
- ncrc3
- ncrc4
script:
- time tar zxf $CACHE_DIR/tests_$CI_PIPELINE_ID.tgz && cd tests
- time tar zxf $CACHE_DIR/results-$CI_PIPELINE_ID.tgz
Expand All @@ -197,6 +197,6 @@ gnu:restart:
cleanup:
stage: cleanup
tags:
- ncrc3
- ncrc4
script:
- rm $CACHE_DIR/*$CI_PIPELINE_ID.tgz
Loading

0 comments on commit f5f2166

Please sign in to comment.