Skip to content

Commit

Permalink
Merge branch 'main' into feature/mathomp4/mkl-is-optional
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 authored Aug 31, 2020
2 parents c6a35d6 + 551958a commit e791bfc
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: 2.1
jobs:
build:
docker:
- image: gmao/ubuntu20-geos-env-mkl:6.0.13-openmpi_4.0.4-gcc_10.2.0
resource_class: xlarge
working_directory: /root/project
steps:
- run:
name: "NCEP_Shared branch"
command: echo ${CIRCLE_BRANCH}
- checkout
- run:
name: "Checkout GEOSgcm fixture and update NCEP_Shared branch"
command: |
cd ${CIRCLE_WORKING_DIRECTORY}
git clone [email protected]:GEOS-ESM/GEOSgcm.git
cd GEOSgcm
mepo init
mepo clone
mepo develop GEOSgcm_GridComp GEOSgcm_App
if [ "${CIRCLE_BRANCH}" != "develop" ] && [ "${CIRCLE_BRANCH}" != "master" ] && [ "${CIRCLE_BRANCH}" != "main" ]
then
mepo checkout-if-exists ${CIRCLE_BRANCH}
fi
mepo status
- run:
name: "CMake"
command: |
cd ${CIRCLE_WORKING_DIRECTORY}/GEOSgcm
mkdir build
cd build
cmake .. -DBASEDIR=$BASEDIR/Linux -DCMAKE_Fortran_COMPILER=gfortran -DCMAKE_BUILD_TYPE=Debug
- run:
name: "Build"
command: |
cd ${CIRCLE_WORKING_DIRECTORY}/GEOSgcm/build
make -j"$(nproc)" install

0 comments on commit e791bfc

Please sign in to comment.