-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/adarmenov/#122-wmma
- Loading branch information
Showing
301 changed files
with
17,745 additions
and
8,461 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,42 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
circleci-tools: geos-esm/[email protected] | ||
|
||
workflows: | ||
build-test: | ||
jobs: | ||
- build-GEOSgcm: | ||
name: build-GEOSgcm-on-<< matrix.compiler >> | ||
matrix: | ||
parameters: | ||
compiler: [gfortran, ifort] | ||
context: | ||
- docker-hub-creds | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: gmao/ubuntu20-geos-env-mkl:6.0.16-openmpi_4.0.5-gcc_10.2.0 | ||
resource_class: xlarge | ||
build-GEOSgcm: | ||
parameters: | ||
compiler: | ||
type: string | ||
executor: | ||
name: circleci-tools/<< parameters.compiler >> | ||
resource_class: large | ||
working_directory: /root/project | ||
steps: | ||
- run: | ||
name: "GEOS_Shared branch" | ||
name: "GMAO_Shared branch" | ||
command: echo ${CIRCLE_BRANCH} | ||
- checkout | ||
- run: | ||
name: "Checkout GEOSgcm fixture and update GEOS_Shared branch" | ||
command: | | ||
cd ${CIRCLE_WORKING_DIRECTORY} | ||
git clone [email protected]:GEOS-ESM/GEOSgcm.git | ||
cd GEOSgcm | ||
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 | ||
- circleci-tools/versions: | ||
compiler: << parameters.compiler >> | ||
- circleci-tools/checkout_fixture | ||
- circleci-tools/mepoclone | ||
- circleci-tools/mepodevelop | ||
- circleci-tools/checkout_if_exists | ||
- circleci-tools/cmake: | ||
compiler: << parameters.compiler >> | ||
- circleci-tools/buildinstall | ||
- circleci-tools/compress_artifacts | ||
- store_artifacts: | ||
path: /logfiles | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.