Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking the latest PETSc revision. #190

Merged
merged 1 commit into from
Jul 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto_pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# This job builds the box model and runs our test suite.
build:
runs-on: ${{ matrix.os }}
container: coherellc/tdycore-petsc:latest
container: coherellc/tdycore-petsc:c29323cac9f

# A build matrix storing all desired configurations.
strategy:
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ TDycores provides two dynamical cores:
Both dycores can use meshes with hexahedral or triangular prismatic cells
with planar faces. The prismatic cells are aligned logically along a z axis.

## Dependencies

`TDycore` uses [PETSc](https://petsc.org/release/), tracking the
[main branch](https://gitlab.com/petsc/petsc) fairly closely. Currently,
`TDycore` is tested against revision `c29323cac9f`.

## More information

Check out the [Wiki](https://github.com/TDycores-Project/TDycore/wiki) for
documentation, including instructions for
[building and installing TDycore](https://github.com/TDycores-Project/TDycore/wiki/Building-and-Installing-TDycore).
2 changes: 1 addition & 1 deletion include/tdytimers.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ PETSC_EXTERN PetscErrorCode TDyEnableTimers(void);

// To accomplish this, we use a hash map with string keys and PetscLogEvent
// values. PETSc ships with khash, so let's appropriate it.
#include <petsc/private/kernels/khash.h>
#include <petsc/private/khash/khash.h>
KHASH_MAP_INIT_STR(TDY_TIMER_MAP, PetscLogEvent)
PETSC_EXTERN khash_t(TDY_TIMER_MAP)* TDY_TIMERS;

Expand Down
2 changes: 1 addition & 1 deletion tools/build-petsc-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi

DOCKERHUB_USER=coherellc
IMAGE_NAME=tdycore-petsc
TAG=latest
TAG=$PETSC_HASH

# Build the image locally.
mkdir -p docker-build
Expand Down