Skip to content

Commit

Permalink
Merge branch 'feature/TotoGaz/newGhosting' into feature/TotoGaz/newGh…
Browse files Browse the repository at this point in the history
…osting_ryan
  • Loading branch information
ryar9534 authored Jul 3, 2024
2 parents 793f6b8 + cb01dc9 commit 1c7c43e
Show file tree
Hide file tree
Showing 516 changed files with 15,951 additions and 1,711 deletions.
1 change: 0 additions & 1 deletion .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/usr/bin/ln -s /workspaces/GEOS/.vscode-codespaces /workspaces/GEOS/.vscode
# Activate the appropriate submodules
git submodule init
git submodule deinit integratedTests
git submodule update
# Load the pretty printer for LvArray
echo "source /workspaces/GEOS/src/coreComponents/LvArray/scripts/gdb-printers-shallow.py" > ~/.gdbinit
8 changes: 4 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ jobs:
ls -la ./
- name: Checkout Repository
uses: actions/[email protected].4
uses: actions/[email protected].7
with:
submodules: true
lfs: ${{ inputs.BUILD_TYPE == 'integrated_tests' }}
fetch-depth: 1

- id: 'auth'
if: ${{ inputs.GCP_BUCKET || inputs.USE_SCCACHE }}
uses: 'google-github-actions/[email protected].2'
uses: 'google-github-actions/[email protected].3'
with:
credentials_json: '${{ secrets.GOOGLE_CLOUD_GCP }}'
create_credentials_file: true
Expand Down Expand Up @@ -312,9 +312,9 @@ jobs:
- name: Upload coverage to Codecov
if: inputs.CODE_COVERAGE
uses: codecov/codecov-action@v4.3.1
uses: codecov/codecov-action@v4.5.0
with:
files: geos_coverage.info.cleaned
files: ${GITHUB_WORKSPACE}/geos_coverage.info.cleaned
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Expand Down
26 changes: 17 additions & 9 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# The TPL tag is contained in the codespaces configuration to avoid duplications.
- name: Checkout .devcontainer/devcontainer.json
uses: actions/[email protected].4
uses: actions/[email protected].7
with:
sparse-checkout: |
.devcontainer/devcontainer.json
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
# The integrated test submodule repository contains large data (using git lfs).
# To save time (and money) we do not let Github Actions automatically clone all our (lfs) subrepositories and do it by hand.
- name: Checkout Repository
uses: actions/[email protected].4
uses: actions/[email protected].7
with:
# Let script update submodules; Github Actions submodule history causes error
submodules: false
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/[email protected].1
uses: actions/[email protected].7
with:
submodules: false
lfs: false
Expand Down Expand Up @@ -257,8 +257,8 @@ jobs:
ENABLE_HYPRE: ON
ENABLE_TRILINOS: OFF
RUNS_ON: streak2
NPROC: 16
DOCKER_RUN_ARGS: "--cpus=16 --memory=256g --runtime=nvidia -v /etc/pki/ca-trust/source/anchors/:/usr/local/share/ca-certificates/llnl:ro"
NPROC: 8
DOCKER_RUN_ARGS: "--cpus=8 --memory=128g --runtime=nvidia -v /etc/pki/ca-trust/source/anchors/:/usr/local/share/ca-certificates/llnl:ro"
DOCKER_CERTS_DIR: "/usr/local/share/ca-certificates"
DOCKER_CERTS_UPDATE_COMMAND: "update-ca-certificates"

Expand All @@ -280,8 +280,8 @@ jobs:
CMAKE_BUILD_TYPE: Release
DOCKER_REPOSITORY: geosx/centos7.7-gcc8.3.1-cuda11.8.89
RUNS_ON: streak2
NPROC: 16
DOCKER_RUN_ARGS: "--cpus=16 --memory=256g --runtime=nvidia -v /etc/pki/ca-trust/source/anchors/:/etc/pki/ca-trust/source/anchors/llnl:ro"
NPROC: 8
DOCKER_RUN_ARGS: "--cpus=8 --memory=128g --runtime=nvidia -v /etc/pki/ca-trust/source/anchors/:/etc/pki/ca-trust/source/anchors/llnl:ro"
DOCKER_CERTS_DIR: "/etc/pki/ca-trust/source/anchors"
DOCKER_CERTS_UPDATE_COMMAND: "update-ca-trust"

Expand All @@ -291,7 +291,11 @@ jobs:
CMAKE_BUILD_TYPE: Release
DOCKER_REPOSITORY: geosx/pecan-gpu-gcc8.2.0-openmpi4.0.1-mkl2019.5-cuda11.5.119
HOST_CONFIG: host-configs/TOTAL/pecan-GPU.cmake
RUNS_ON: Runner_4core_16GB
RUNS_ON: streak2
NPROC: 8
DOCKER_RUN_ARGS: "--cpus=8 --memory=128g --runtime=nvidia -v /etc/pki/ca-trust/source/anchors/:/etc/pki/ca-trust/source/anchors/llnl:ro"
DOCKER_CERTS_DIR: "/etc/pki/ca-trust/source/anchors"
DOCKER_CERTS_UPDATE_COMMAND: "update-ca-trust"

- name: Sherlock GPU (centos 7.9.2009, gcc 10.1.0, open-mpi 4.1.2, openblas 0.3.10, cuda 11.7.1,)
BUILD_AND_TEST_CLI_ARGS: "--no-run-unit-tests --no-install-schema"
Expand All @@ -302,7 +306,11 @@ jobs:
ENABLE_TRILINOS: OFF
GCP_BUCKET: geosx/Sherlock-GPU
HOST_CONFIG: host-configs/Stanford/sherlock-gcc10-ompi4.1.2-openblas0.3.10-cuda11.7.1-sm70.cmake
RUNS_ON: Runner_4core_16GB
RUNS_ON: streak2
NPROC: 8
DOCKER_RUN_ARGS: "--cpus=8 --memory=128g --runtime=nvidia -v /etc/pki/ca-trust/source/anchors/:/etc/pki/ca-trust/source/anchors/llnl:ro"
DOCKER_CERTS_DIR: "/etc/pki/ca-trust/source/anchors"
DOCKER_CERTS_UPDATE_COMMAND: "update-ca-trust"

uses: ./.github/workflows/build_and_test.yml
with:
Expand Down
2 changes: 1 addition & 1 deletion .integrated_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
baselines:
bucket: geosx
baseline: integratedTests/baseline_integratedTests-pr3133-5610-b42c02a
baseline: integratedTests/baseline_integratedTests-pr3006-5860-947a907

allow_fail:
all: ''
Expand Down
57 changes: 56 additions & 1 deletion BASELINE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,68 @@ This file is designed to track changes to the integrated test baselines.
Any developer who updates the baseline ID in the .integrated_tests.yaml file is expected to create an entry in this file with the pull request number, date, and their justification for rebaselining.
These notes should be in reverse-chronological order, and use the following time format: (YYYY-MM-DD).

PR #3006 (2024-07-01)
======================
Added baselines for new tests. Relaxing tolerances for singlePhasePoromechanics_FaultModel_smoke.

PR #3196 (2024-06-28)
======================
Added isLaggingFractureStencilWeightsUpdate to hydrofracture solve. Rebaseline because of the new input.

PR #3177 (2024-06-28)
======================
Added logLevel to TimeHistoryOutput. Rebaseline because of the new input flag.

PR #3181 (2024-06-25)
======================
Decouple debug matrix output from logLevel. Rebaseline because of the new input flag.


PR #3142 (2024-06-20)
======================
Adding output of total strain. Rebaseline because of new inclusion of strain in output.


PR #3170 (2024-06-19)
======================
Fix tutorial example for thermal debonding wellbore problem. Test case modified.


PR #3130 (2024-06-19)
======================
New solver for contact mechanics based on the Augmented Lagrangian Method (ALM). New test case added.


PR #3160 (2024-06-18)
======================
Two experimental options for compositional flow solver. Rebaseline because of the new input flags.


PR #3165 (2024-06-18)
======================
Small bug fix. Rebaseline required due to appearance of useTotalMassEquation in well solver params. No real results change.


PR #3088 (2024-06-17)
======================
Adding temperature-dependent Solid Volumetric Heat Capacity. Rebaseline because of the parameter change in SolidInternalEnergy.


PR #3100 (2024-06-14)
======================
Adding pressure stabilization for single phase poromechanics.


PR #3133 (2024-06-14)
======================
Fix node ordering for faceElements.


PR #3021 (2024-06-13)
======================
Preparatory work for fractures + wells. New test case added.


PR #3152 (2024-06-13)
======================
Some random things. Baseline update because of the new parameter (minScalingFactor).
Expand Down Expand Up @@ -48,6 +102,7 @@ PR #3113 (2024-06-05)
=====================
Add general version updateConfiguration. Rebaseline of some edfm cases is needed.


PR #3050 (2024-05-20)
=====================
Spatially varying grain bulk modulus. Rebaseline of all poromechanics cases needed.
Expand All @@ -70,7 +125,7 @@ new field to store pressure gradient cell-wise.

PR #3060 (2024-05-13)
======================
Rebaselined after addition of elastic VTI wave propagator.
Rebaselined after addition of elastic VTI wave propagator.


PR #4950 (2024-05-10)
Expand Down
2 changes: 1 addition & 1 deletion host-configs/LLNL/quartz-base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ set(YAPF_EXECUTABLE /usr/gapps/GEOSX/thirdPartyLibs/python/quartz-gcc-python/pyt
set(SPHINX_EXECUTABLE /usr/gapps/GEOSX/thirdPartyLibs/python/quartz-gcc-python/python/bin/sphinx-build CACHE PATH "" FORCE)


# caliper
# caliper
set(ENABLE_CALIPER ON CACHE BOOL "" FORCE)
set(ENABLE_CALIPER_HYPRE ON CACHE BOOL "" FORCE)

Expand Down
2 changes: 1 addition & 1 deletion host-configs/apple/macOS_base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set( LAPACK_LIBRARIES ${HOMEBREW_DIR}/opt/lapack/lib/liblapack.dylib CACHE PATH

set(ENABLE_DOXYGEN OFF CACHE BOOL "" FORCE)
set(ENABLE_MATHPRESSO OFF CACHE BOOL "" FORCE )
set(GEOSX_BUILD_OBJ_LIBS ON CACHE BOOL "" FORCE)
#set(GEOSX_BUILD_OBJ_LIBS ON CACHE BOOL "" FORCE)



Expand Down
112 changes: 112 additions & 0 deletions inputFiles/almContactMechanics/ALM_stickFault_base.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
<?xml version="1.0" ?>

<Problem>
<!-- SPHINX_SOLVER -->
<Solvers
gravityVector="{0.0, 0.0, 0.0}">
<SolidMechanicsAugmentedLagrangianContact
name="AugmentedLagrangian"
timeIntegrationOption="QuasiStatic"
logLevel="1"
discretization="FE1"
targetRegions="{ Region, Fracture }">
<NonlinearSolverParameters
newtonTol="1.0e-8"
logLevel="2"
newtonMaxIter="10"
maxNumConfigurationAttempts="10"
lineSearchAction="Require"
lineSearchMaxCuts="2"
maxTimeStepCuts="2"/>
<LinearSolverParameters
solverType="direct"
directParallel="0"
logLevel="0"/>
</SolidMechanicsAugmentedLagrangianContact>

<SurfaceGenerator
name="SurfaceGen"
logLevel="0"
fractureRegion="Fracture"
targetRegions="{ Region }"
rockToughness="1.0e6"
mpiCommOrder="1"/>
</Solvers>

<Events
maxTime="1.0">
<SoloEvent
name="preFracture"
target="/Solvers/SurfaceGen"/>

<PeriodicEvent
name="solverApplications"
beginTime="0.0"
endTime="1.0"
forceDt="0.5"
target="/Solvers/AugmentedLagrangian"/>

<PeriodicEvent
name="restarts"
timeFrequency="0.5"
target="/Outputs/restartOutput"/>

<PeriodicEvent
name="outputs"
beginTime="0.0"
endTime="1.0"
forceDt="0.5"
target="/Outputs/vtkOutput"/>
</Events>

<NumericalMethods>
<FiniteElements>
<FiniteElementSpace
name="FE1"
order="1"/>
</FiniteElements>

</NumericalMethods>

<ElementRegions>
<CellElementRegion
name="Region"
cellBlocks="{ cb1 }"
materialList="{ rock }"/>

<SurfaceElementRegion
name="Fracture"
faceBlock="faceElementSubRegion"
defaultAperture="0.0"
materialList="{ fractureMaterial, rock }"/>
</ElementRegions>

<!-- SPHINX_MATERIAL -->
<Constitutive>
<ElasticIsotropic
name="rock"
defaultDensity="2700"
defaultBulkModulus="2e10"
defaultShearModulus="9e9"/>

<Coulomb
name="fractureMaterial"
cohesion="0.0"
frictionCoefficient="0.1"
apertureTableName="apertureTable"/>
</Constitutive>

<Functions>
<TableFunction
name="apertureTable"
coordinates="{ -1.0e-3, 0.0 }"
values="{ 1.0e-6, 9.15e-6 }"/>

<TableFunction
name="dispFunction"
inputVarNames="{ time }"
coordinates="{ 0.0, 1.0 }"
values="{ 0.0, 1.0 }"/>
</Functions>

</Problem>
Loading

0 comments on commit 1c7c43e

Please sign in to comment.