Skip to content

Commit a61c8cb

Browse files
Merge pull request #250 from awslabs/sjg/release-0.13
Release v0.13
2 parents acd0f09 + 31ec2b3 commit a61c8cb

17 files changed

+88685
-134
lines changed

.github/workflows/build-and-test-linux.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,12 @@ jobs:
160160
elif [[ "${{ matrix.compiler }}" == 'clang' ]]; then
161161
export CC=clang
162162
export CXX=clang++
163-
export FC=gfortran-13
163+
export FC=gfortran-12
164164
export LDFLAGS='-fuse-ld=lld'
165165
elif [[ "${{ matrix.compiler }}" == 'gcc' ]]; then
166-
export CC=gcc-13
167-
export CXX=g++-13
168-
export FC=gfortran-13
166+
export CC=gcc-12
167+
export CXX=g++-12
168+
export FC=gfortran-12
169169
fi
170170
if [[ "${{ matrix.math-libs }}" == 'aocl' ]]; then
171171
export AOCLROOT=/opt/AMD/aocl/aocl-linux-gcc-4.1.0/gcc

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The format of this changelog is based on
1111
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
1212
[Semantic Versioning](https://semver.org/).
1313

14-
## In progress
14+
## [0.13.0] - 2024-05-20
1515

1616
- Changed default value of `config["Solver"]["PartialAssemblyOrder"]` in order to activate
1717
operator partial assembly by default for all operators in all simulation types.
@@ -33,7 +33,7 @@ The format of this changelog is based on
3333
[Parallelism and GPU support](https://awslabs.github.io/palace/dev/guide/parallelism/).
3434
- Removed use of `mfem::SparseMatrix` and replaced with HYPRE's `hypre_CSRMatrix` when
3535
needed for full assembly, wrapped as `palace::hypre::HypreCSRMatrix`.
36-
- Added `"Active"`` configuration file parameter for lumped and wave port boundaries to
36+
- Added `"Active"` configuration file parameter for lumped and wave port boundaries to
3737
disable the associated boundary condition and only use the surface for postprocessing.
3838
- Changed the smooth flux space for the electrostatic error estimator to fix performance
3939
on problems with material interfaces.

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
1414
endif()
1515

1616
# Initialize the project
17-
project(palace-superbuild LANGUAGES CXX C VERSION 0.12.0)
17+
project(palace-superbuild LANGUAGES CXX C VERSION 0.13.0)
1818

1919
# Define build settings and defaults
2020
set(PALACE_WITH_64BIT_INT OFF CACHE BOOL "Use 64 bit integers")

cmake/ExternalGitTags.cmake

+9-9
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ set(EXTERN_BUTTERFLYPACK_GIT_BRANCH
3434
"Git branch for external ButterflyPACK build"
3535
)
3636
set(EXTERN_BUTTERFLYPACK_GIT_TAG
37-
"6bb36d00ad8deab43d74aa4fce0715e9400d994a" CACHE STRING
37+
"7410fca61c188daab40f55c235ab7fad16ee5856" CACHE STRING
3838
"Git tag for external ButterflyPACK build"
3939
)
4040

@@ -76,7 +76,7 @@ set(EXTERN_LIBCEED_GIT_BRANCH
7676
"Git branch for external libCEED build"
7777
)
7878
set(EXTERN_LIBCEED_GIT_TAG
79-
"1809c5f74680557a641e900d791842bafdfb4e8b" CACHE STRING
79+
"ef9a992f4cf09f2be4ec72f649495c67ec03f813" CACHE STRING
8080
"Git tag for external libCEED build"
8181
)
8282

@@ -90,7 +90,7 @@ set(EXTERN_LIBXSMM_GIT_BRANCH
9090
"Git branch for external LIBXSMM build"
9191
)
9292
set(EXTERN_LIBXSMM_GIT_TAG
93-
"feacc5e2112af47a0f4669e4ba20f0d01c08f944" CACHE STRING
93+
"953405207f32369cd74d757681ce476fe89768b6" CACHE STRING
9494
"Git tag for external LIBXSMM build"
9595
)
9696

@@ -132,7 +132,7 @@ set(EXTERN_MFEM_GIT_BRANCH
132132
"Git branch for external MFEM build"
133133
)
134134
set(EXTERN_MFEM_GIT_TAG
135-
"7c296d00d8a770e9f569e4db9d7e6d415902a886" CACHE STRING # master @ 05/09/2024
135+
"c444b17c973cc301590a6ac186fb33587b5881e6" CACHE STRING # master @ 05/18/2024
136136
"Git tag for external MFEM build"
137137
)
138138

@@ -146,7 +146,7 @@ set(EXTERN_MUMPS_GIT_BRANCH
146146
"Git branch for external MUMPS build"
147147
)
148148
set(EXTERN_MUMPS_GIT_TAG
149-
"cbdf7fc5d5bd5471a55459e92fc8b5fd1f16f651" CACHE STRING
149+
"b00cc7c9fc6127e07d6583a8c50c727508ea1c6e" CACHE STRING
150150
"Git tag for external MUMPS build"
151151
)
152152

@@ -174,7 +174,7 @@ set(EXTERN_PETSC_GIT_BRANCH
174174
"Git branch for external PETSc build"
175175
)
176176
set(EXTERN_PETSC_GIT_TAG
177-
"3d77ad52841f320b3f6ad02ce14f35e73e722480" CACHE STRING
177+
"e6938432041f05a2617386d95f6ba21e1677d3e7" CACHE STRING
178178
"Git tag for external PETSc build"
179179
)
180180

@@ -202,7 +202,7 @@ set(EXTERN_SLEPC_GIT_BRANCH
202202
"Git branch for external SLEPc build"
203203
)
204204
set(EXTERN_SLEPC_GIT_TAG
205-
"1b1a6e4c08bfc150112594b09cc439adf16f4899" CACHE STRING
205+
"2c2766ada27519a79c9f9d9634b730afb4010d95" CACHE STRING
206206
"Git tag for external SLEPc build"
207207
)
208208

@@ -230,7 +230,7 @@ set(EXTERN_SUPERLU_GIT_BRANCH
230230
"Git branch for external SuperLU_DIST build"
231231
)
232232
set(EXTERN_SUPERLU_GIT_TAG
233-
"c6896d85b22384880db409ba042a03966530678e" CACHE STRING
233+
"2e39ceca001f594dc63426f2b500c82f5ce312a3" CACHE STRING
234234
"Git tag for external SuperLU_DIST build"
235235
)
236236

@@ -244,7 +244,7 @@ set(EXTERN_ZFP_GIT_BRANCH
244244
"Git branch for external ZFP build"
245245
)
246246
set(EXTERN_ZFP_GIT_TAG
247-
"6814a4ebbbee6002f1d7f39a0acc9e8429545bce" CACHE STRING
247+
"6aa2dae1c1bf700f062f386e81cc71796929c30e" CACHE STRING
248248
"Git tag for external ZFP build"
249249
)
250250

examples/coaxial/mesh/mesh.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function generate_coaxial_mesh(;
4141
@assert outer_diameter_mm > inner_diameter_mm > 0
4242
@assert length_mm > 0
4343
@assert refinement >= 0
44-
@assert order > 1
44+
@assert order > 0
4545

4646
kernel = gmsh.model.occ
4747

examples/cpw/cpw_coax_adaptive.json

+173
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
{
2+
"Problem":
3+
{
4+
"Type": "Driven",
5+
"Verbose": 2,
6+
"Output": "postpro/coax_adaptive"
7+
},
8+
"Model":
9+
{
10+
"Mesh": "mesh/cpw_coax_0.msh",
11+
"L0": 1.0e-6, // μm
12+
"Refinement": {}
13+
},
14+
"Domains":
15+
{
16+
"Materials":
17+
[
18+
{
19+
"Attributes": [1], // Air
20+
"Permeability": 1.0,
21+
"Permittivity": 1.0,
22+
"LossTan": 0.0
23+
},
24+
{
25+
"Attributes": [2], // Sapphire
26+
"Permeability": [0.99999975, 0.99999975, 0.99999979],
27+
"Permittivity": [9.3, 9.3, 11.5],
28+
"LossTan": [3.0e-5, 3.0e-5, 8.6e-5],
29+
"MaterialAxes": [[0.8, 0.6, 0.0], [-0.6, 0.8, 0.0], [0.0, 0.0, 1.0]]
30+
}
31+
],
32+
"Postprocessing":
33+
{
34+
"Energy":
35+
[
36+
{
37+
"Index": 1,
38+
"Attributes": [2]
39+
}
40+
],
41+
"Probe":
42+
[
43+
{
44+
"Index": 1,
45+
"Center": [2000, 833, 30]
46+
},
47+
{
48+
"Index": 2,
49+
"Center": [2000, 833, -30]
50+
}
51+
]
52+
}
53+
},
54+
"Boundaries":
55+
{
56+
"PEC":
57+
{
58+
"Attributes": [8, 9, 11] // Metal trace + end boundaries
59+
},
60+
"Absorbing":
61+
{
62+
"Attributes": [10],
63+
"Order": 1
64+
},
65+
"LumpedPort":
66+
[
67+
{
68+
"Index": 1,
69+
"Attributes": [4],
70+
"Direction": "+R",
71+
"R": 56.02, // Ω
72+
"Excitation": true
73+
},
74+
{
75+
"Index": 2,
76+
"Attributes": [5],
77+
"Direction": "+R",
78+
"R": 56.02 // Ω
79+
},
80+
{
81+
"Index": 3,
82+
"Attributes": [6],
83+
"Direction": "+R",
84+
"R": 56.02 // Ω
85+
},
86+
{
87+
"Index": 4,
88+
"Attributes": [7],
89+
"Direction": "+R",
90+
"R": 56.02 // Ω
91+
}
92+
],
93+
"Postprocessing":
94+
{
95+
"SurfaceFlux":
96+
[
97+
{
98+
"Index": 1,
99+
"Attributes": [11],
100+
"Type": "Electric",
101+
"TwoSided": true
102+
},
103+
{
104+
"Index": 2,
105+
"Attributes": [10],
106+
"Type": "Power"
107+
},
108+
{
109+
"Index": 3,
110+
"Attributes": [4, 6, 8],
111+
"Type": "Power",
112+
"Center": [-2000, 0, 0]
113+
},
114+
{
115+
"Index": 4,
116+
"Attributes": [5, 7, 9],
117+
"Type": "Power",
118+
"Center": [2000, 0, 0]
119+
}
120+
],
121+
"Dielectric":
122+
[
123+
{
124+
"Index": 1,
125+
"Attributes": [12],
126+
"Type": "SA",
127+
"Thickness": 2.0e-3, // μm
128+
"Permittivity": 10.0,
129+
"LossTan": 1.0
130+
},
131+
{
132+
"Index": 2,
133+
"Attributes": [11],
134+
"Type": "MS",
135+
"Thickness": 2.0e-3, // μm
136+
"Permittivity": 10.0,
137+
"LossTan": 1.0,
138+
"Side": "LargerRefractiveIndex"
139+
},
140+
{
141+
"Index": 3,
142+
"Attributes": [11],
143+
"Type": "MA",
144+
"Thickness": 2.0e-3, // μm
145+
"Permittivity": 10.0,
146+
"LossTan": 1.0,
147+
"Side": "SmallerRefractiveIndex"
148+
}
149+
]
150+
}
151+
},
152+
"Solver":
153+
{
154+
"Order": 2,
155+
"Device": "CPU",
156+
"Driven":
157+
{
158+
"MinFreq": 2.0, // GHz
159+
"MaxFreq": 30.0, // GHz
160+
"FreqStep": 0.1, // GHz
161+
"SaveStep": 40,
162+
"AdaptiveTol": 1.0e-3
163+
},
164+
"Linear":
165+
{
166+
"Type": "Default",
167+
"KSPType": "GMRES",
168+
"Tol": 1.0e-8,
169+
"MaxIts": 200
170+
}
171+
}
172+
}
173+

0 commit comments

Comments
 (0)