Skip to content

Commit

Permalink
Merge pull request #250 from awslabs/sjg/release-0.13
Browse files Browse the repository at this point in the history
Release v0.13
  • Loading branch information
sebastiangrimberg committed May 20, 2024
2 parents acd0f09 + 31ec2b3 commit a61c8cb
Show file tree
Hide file tree
Showing 17 changed files with 88,685 additions and 134 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,12 @@ jobs:
elif [[ "${{ matrix.compiler }}" == 'clang' ]]; then
export CC=clang
export CXX=clang++
export FC=gfortran-13
export FC=gfortran-12
export LDFLAGS='-fuse-ld=lld'
elif [[ "${{ matrix.compiler }}" == 'gcc' ]]; then
export CC=gcc-13
export CXX=g++-13
export FC=gfortran-13
export CC=gcc-12
export CXX=g++-12
export FC=gfortran-12
fi
if [[ "${{ matrix.math-libs }}" == 'aocl' ]]; then
export AOCLROOT=/opt/AMD/aocl/aocl-linux-gcc-4.1.0/gcc
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The format of this changelog is based on
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
[Semantic Versioning](https://semver.org/).

## In progress
## [0.13.0] - 2024-05-20

- Changed default value of `config["Solver"]["PartialAssemblyOrder"]` in order to activate
operator partial assembly by default for all operators in all simulation types.
Expand All @@ -33,7 +33,7 @@ The format of this changelog is based on
[Parallelism and GPU support](https://awslabs.github.io/palace/dev/guide/parallelism/).
- Removed use of `mfem::SparseMatrix` and replaced with HYPRE's `hypre_CSRMatrix` when
needed for full assembly, wrapped as `palace::hypre::HypreCSRMatrix`.
- Added `"Active"`` configuration file parameter for lumped and wave port boundaries to
- Added `"Active"` configuration file parameter for lumped and wave port boundaries to
disable the associated boundary condition and only use the surface for postprocessing.
- Changed the smooth flux space for the electrostatic error estimator to fix performance
on problems with material interfaces.
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
endif()

# Initialize the project
project(palace-superbuild LANGUAGES CXX C VERSION 0.12.0)
project(palace-superbuild LANGUAGES CXX C VERSION 0.13.0)

# Define build settings and defaults
set(PALACE_WITH_64BIT_INT OFF CACHE BOOL "Use 64 bit integers")
Expand Down
18 changes: 9 additions & 9 deletions cmake/ExternalGitTags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ set(EXTERN_BUTTERFLYPACK_GIT_BRANCH
"Git branch for external ButterflyPACK build"
)
set(EXTERN_BUTTERFLYPACK_GIT_TAG
"6bb36d00ad8deab43d74aa4fce0715e9400d994a" CACHE STRING
"7410fca61c188daab40f55c235ab7fad16ee5856" CACHE STRING
"Git tag for external ButterflyPACK build"
)

Expand Down Expand Up @@ -76,7 +76,7 @@ set(EXTERN_LIBCEED_GIT_BRANCH
"Git branch for external libCEED build"
)
set(EXTERN_LIBCEED_GIT_TAG
"1809c5f74680557a641e900d791842bafdfb4e8b" CACHE STRING
"ef9a992f4cf09f2be4ec72f649495c67ec03f813" CACHE STRING
"Git tag for external libCEED build"
)

Expand All @@ -90,7 +90,7 @@ set(EXTERN_LIBXSMM_GIT_BRANCH
"Git branch for external LIBXSMM build"
)
set(EXTERN_LIBXSMM_GIT_TAG
"feacc5e2112af47a0f4669e4ba20f0d01c08f944" CACHE STRING
"953405207f32369cd74d757681ce476fe89768b6" CACHE STRING
"Git tag for external LIBXSMM build"
)

Expand Down Expand Up @@ -132,7 +132,7 @@ set(EXTERN_MFEM_GIT_BRANCH
"Git branch for external MFEM build"
)
set(EXTERN_MFEM_GIT_TAG
"7c296d00d8a770e9f569e4db9d7e6d415902a886" CACHE STRING # master @ 05/09/2024
"c444b17c973cc301590a6ac186fb33587b5881e6" CACHE STRING # master @ 05/18/2024
"Git tag for external MFEM build"
)

Expand All @@ -146,7 +146,7 @@ set(EXTERN_MUMPS_GIT_BRANCH
"Git branch for external MUMPS build"
)
set(EXTERN_MUMPS_GIT_TAG
"cbdf7fc5d5bd5471a55459e92fc8b5fd1f16f651" CACHE STRING
"b00cc7c9fc6127e07d6583a8c50c727508ea1c6e" CACHE STRING
"Git tag for external MUMPS build"
)

Expand Down Expand Up @@ -174,7 +174,7 @@ set(EXTERN_PETSC_GIT_BRANCH
"Git branch for external PETSc build"
)
set(EXTERN_PETSC_GIT_TAG
"3d77ad52841f320b3f6ad02ce14f35e73e722480" CACHE STRING
"e6938432041f05a2617386d95f6ba21e1677d3e7" CACHE STRING
"Git tag for external PETSc build"
)

Expand Down Expand Up @@ -202,7 +202,7 @@ set(EXTERN_SLEPC_GIT_BRANCH
"Git branch for external SLEPc build"
)
set(EXTERN_SLEPC_GIT_TAG
"1b1a6e4c08bfc150112594b09cc439adf16f4899" CACHE STRING
"2c2766ada27519a79c9f9d9634b730afb4010d95" CACHE STRING
"Git tag for external SLEPc build"
)

Expand Down Expand Up @@ -230,7 +230,7 @@ set(EXTERN_SUPERLU_GIT_BRANCH
"Git branch for external SuperLU_DIST build"
)
set(EXTERN_SUPERLU_GIT_TAG
"c6896d85b22384880db409ba042a03966530678e" CACHE STRING
"2e39ceca001f594dc63426f2b500c82f5ce312a3" CACHE STRING
"Git tag for external SuperLU_DIST build"
)

Expand All @@ -244,7 +244,7 @@ set(EXTERN_ZFP_GIT_BRANCH
"Git branch for external ZFP build"
)
set(EXTERN_ZFP_GIT_TAG
"6814a4ebbbee6002f1d7f39a0acc9e8429545bce" CACHE STRING
"6aa2dae1c1bf700f062f386e81cc71796929c30e" CACHE STRING
"Git tag for external ZFP build"
)

Expand Down
2 changes: 1 addition & 1 deletion examples/coaxial/mesh/mesh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function generate_coaxial_mesh(;
@assert outer_diameter_mm > inner_diameter_mm > 0
@assert length_mm > 0
@assert refinement >= 0
@assert order > 1
@assert order > 0

kernel = gmsh.model.occ

Expand Down
173 changes: 173 additions & 0 deletions examples/cpw/cpw_coax_adaptive.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
{
"Problem":
{
"Type": "Driven",
"Verbose": 2,
"Output": "postpro/coax_adaptive"
},
"Model":
{
"Mesh": "mesh/cpw_coax_0.msh",
"L0": 1.0e-6, // μm
"Refinement": {}
},
"Domains":
{
"Materials":
[
{
"Attributes": [1], // Air
"Permeability": 1.0,
"Permittivity": 1.0,
"LossTan": 0.0
},
{
"Attributes": [2], // Sapphire
"Permeability": [0.99999975, 0.99999975, 0.99999979],
"Permittivity": [9.3, 9.3, 11.5],
"LossTan": [3.0e-5, 3.0e-5, 8.6e-5],
"MaterialAxes": [[0.8, 0.6, 0.0], [-0.6, 0.8, 0.0], [0.0, 0.0, 1.0]]
}
],
"Postprocessing":
{
"Energy":
[
{
"Index": 1,
"Attributes": [2]
}
],
"Probe":
[
{
"Index": 1,
"Center": [2000, 833, 30]
},
{
"Index": 2,
"Center": [2000, 833, -30]
}
]
}
},
"Boundaries":
{
"PEC":
{
"Attributes": [8, 9, 11] // Metal trace + end boundaries
},
"Absorbing":
{
"Attributes": [10],
"Order": 1
},
"LumpedPort":
[
{
"Index": 1,
"Attributes": [4],
"Direction": "+R",
"R": 56.02, // Ω
"Excitation": true
},
{
"Index": 2,
"Attributes": [5],
"Direction": "+R",
"R": 56.02 // Ω
},
{
"Index": 3,
"Attributes": [6],
"Direction": "+R",
"R": 56.02 // Ω
},
{
"Index": 4,
"Attributes": [7],
"Direction": "+R",
"R": 56.02 // Ω
}
],
"Postprocessing":
{
"SurfaceFlux":
[
{
"Index": 1,
"Attributes": [11],
"Type": "Electric",
"TwoSided": true
},
{
"Index": 2,
"Attributes": [10],
"Type": "Power"
},
{
"Index": 3,
"Attributes": [4, 6, 8],
"Type": "Power",
"Center": [-2000, 0, 0]
},
{
"Index": 4,
"Attributes": [5, 7, 9],
"Type": "Power",
"Center": [2000, 0, 0]
}
],
"Dielectric":
[
{
"Index": 1,
"Attributes": [12],
"Type": "SA",
"Thickness": 2.0e-3, // μm
"Permittivity": 10.0,
"LossTan": 1.0
},
{
"Index": 2,
"Attributes": [11],
"Type": "MS",
"Thickness": 2.0e-3, // μm
"Permittivity": 10.0,
"LossTan": 1.0,
"Side": "LargerRefractiveIndex"
},
{
"Index": 3,
"Attributes": [11],
"Type": "MA",
"Thickness": 2.0e-3, // μm
"Permittivity": 10.0,
"LossTan": 1.0,
"Side": "SmallerRefractiveIndex"
}
]
}
},
"Solver":
{
"Order": 2,
"Device": "CPU",
"Driven":
{
"MinFreq": 2.0, // GHz
"MaxFreq": 30.0, // GHz
"FreqStep": 0.1, // GHz
"SaveStep": 40,
"AdaptiveTol": 1.0e-3
},
"Linear":
{
"Type": "Default",
"KSPType": "GMRES",
"Tol": 1.0e-8,
"MaxIts": 200
}
}
}

Loading

0 comments on commit a61c8cb

Please sign in to comment.