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

v2024.06.0 Release #280

Merged
merged 220 commits into from
Jun 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
220 commits
Select commit Hold shift + click to select a range
64d78f8
bug-fix GSPH reimann gradients from sametimeSPHderivs
jmpearl Jul 14, 2022
9599889
exposing the GSPH volume field to Python
jmpearl Jul 14, 2022
5c59b84
bug-fix GSPH riemann deriv options
jmpearl Jul 14, 2022
72fbaa2
update generic GSPH
jmpearl Jul 14, 2022
ca1d8b2
adding MFM/GSPH to acoustic test
jmpearl Jul 14, 2022
cef562e
updating Llyods algo
jmpearl Jul 14, 2022
4071db6
updating RT tests
jmpearl Jul 14, 2022
f3095d0
updating KH tests
jmpearl Jul 14, 2022
f9db813
storing for merge
jmpearl Jul 31, 2022
f61044c
Merge branch 'develop' into solidGSPH
jmpearl Jul 31, 2022
26a4d66
GSPH RiemannSolver interface update
jmpearl Jul 31, 2022
3cab1c6
Merge branch 'develop' into solidGSPH
jmpearl Aug 7, 2022
b2e6150
Merge branch 'develop' into solidGSPH
jmpearl Sep 7, 2022
d145fb8
merging develop
jmpearl Sep 22, 2022
7cffb3c
Merge branch 'develop' into solidGSPH
jmpearl Sep 30, 2022
bf7ddec
Merge branch 'develop' into solidGSPH
jmpearl Oct 5, 2022
5685c8b
MFV placeholders
jmpearl Oct 5, 2022
b5c40b2
Merge branch 'solidGSPH' of https://github.com/LLNL/spheral into soli…
jmpearl Oct 5, 2022
b9336ca
Merge branch 'develop' into solidGSPH
jmpearl Oct 19, 2022
3bf05a3
GSPH new gradient options
jmpearl Nov 2, 2022
0f34578
GSPH new gradient options added to MFM
jmpearl Nov 2, 2022
f2a086a
GSPH new gradient options added to MFV
jmpearl Nov 2, 2022
07113da
GSPH Acoustic test fiddling
jmpearl Nov 2, 2022
575aaf7
Merge branch 'develop' into solidGSPH
jmpearl Nov 2, 2022
b6c3032
Merge branch 'develop' into solidGSPH
jmpearl Nov 3, 2022
0b34b88
updating SolidGSPH riemann gradient update method
jmpearl Dec 26, 2022
d57d22d
improved implementation of GSPH initialization of pressure and veloci…
jmpearl Dec 26, 2022
20e3b4d
updating GSPH for cleaner initialization implementation
jmpearl Dec 27, 2022
762b58f
Merge branch 'develop' into solidGSPH
jmpearl Dec 27, 2022
de11730
removing some uneccessary BC applications
jmpearl Jan 10, 2023
211c83f
Merge branch 'develop' into solidGSPH
jmpearl Jan 10, 2023
9456a23
from Mike's DEM fix realized GSPH/MFM both assumed they were the only…
jmpearl Jan 14, 2023
d6e4b40
Merge branch 'develop' into solidGSPH
jmpearl Jan 14, 2023
bd9c8e5
volume missing from restart read/write methods
jmpearl Jan 15, 2023
746a251
bugfix GSPH eval-derivs
jmpearl Jan 15, 2023
e374352
Merge branch 'develop' into solidGSPH
jmpearl Jan 24, 2023
45bb391
Merge branch 'develop' into solidGSPH
jmpearl Mar 30, 2023
440e11a
Merge branch 'develop' into solidGSPH
jmpearl May 3, 2023
e529d44
Merge branch 'solidGSPH' of https://github.com/LLNL/spheral into soli…
jmpearl May 3, 2023
0c9918b
Merge branch 'solidGSPH' of https://github.com/llnl/Spheral into soli…
jmpearl May 14, 2023
768c468
solidGSPH updated to python3
jmpearl May 19, 2023
e171cc6
update
jmpearl May 19, 2023
18e9ed0
Merge branch 'solidGSPH' of https://github.com/llnl/Spheral into soli…
jmpearl May 19, 2023
20923c4
step
jmpearl Jun 15, 2023
b1b4901
Merge branch 'develop' into solidGSPH
jmpearl Jun 15, 2023
3a4a86d
typo in Noh test
jmpearl Jun 15, 2023
f8e81da
GSPH updating to new convience constructror format
jmpearl Jun 15, 2023
104f687
GSPH: adding BJ limiter
jmpearl Jun 19, 2023
ddd179a
GSPH policy to replace state w/ other state
jmpearl Jun 19, 2023
cee5e5a
GSPH addings DrhoDx to riemann solver
jmpearl Jun 19, 2023
0f7cea8
updating MFM and GSPH to new HLLC inputs
jmpearl Jun 19, 2023
63d78ec
check point on an ALESPH MFV extension
jmpearl Jun 19, 2023
792f868
generalized compatible energy scheme when there's some fluxing going on
jmpearl Aug 10, 2023
df6d91f
typo was causing unecessary template case to get built upon compilation
jmpearl Aug 10, 2023
d90a4db
generalize HLLC zero check
jmpearl Aug 10, 2023
93f3722
beta version of MFV up and running
jmpearl Aug 10, 2023
68f8de5
adding MFV to Noh
jmpearl Aug 10, 2023
63217ee
Merge branch 'develop' into solidGSPH
jmpearl Aug 10, 2023
f54651a
bugfix cmake GSPH
jmpearl Aug 10, 2023
7bb42c1
MFV playing with new Ngb smoothing length method
jmpearl Aug 14, 2023
4375f85
MFV: updating Noh
jmpearl Aug 14, 2023
140480f
updates to sedov
jmpearl Aug 15, 2023
a6be56c
checkpoint
jmpearl Sep 27, 2023
7fcf32d
GSPH: removing uneccessary policy
jmpearl Sep 28, 2023
5a429c3
stowing for a pull
jmpearl Oct 15, 2023
3ee08aa
Merge branch 'develop' into solidGSPH
jmpearl Oct 15, 2023
2404729
update GSPH branch for the bigmerge
jmpearl Jan 10, 2024
320b365
updating some tests to add MFV and bugfix
jmpearl Jan 10, 2024
9d495f4
first pass as this mega-merge
jmpearl Jan 10, 2024
b76b4b9
more merge sorting
jmpearl Jan 10, 2024
087fa33
updating MFV for the big merge
jmpearl Jan 10, 2024
bdbfe8a
GSPH: making some comments more descriptive
jmpearl Jan 11, 2024
1983d03
bugfix MFV update policies
jmpearl Jan 15, 2024
4a19581
Reassigning blt docs target so we can run 'make docs'. Using the BLT …
mdavis36 Feb 6, 2024
ba32213
Removing old FindSphinx.cmake file.
mdavis36 Feb 6, 2024
83307ce
adding Spheral::Vector an an any class, we might want to switch to a …
jmpearl Feb 11, 2024
65b29fa
first crack at fixing the moving bc issue
jmpearl Feb 11, 2024
7eeaa7b
letting the solid BCs enroll there own stuff
jmpearl Feb 11, 2024
f92099a
updating DEM timers
jmpearl Feb 11, 2024
79b9bb2
adding more solid bc fields to state
jmpearl Feb 11, 2024
2638494
We haven't been testing RZ CRK (not really working anyway), but its
jmikeowen Feb 17, 2024
9a6f2d2
Getting Taylor-anvil script up to date, and adding it as a standard
jmikeowen Feb 17, 2024
3a6c59a
We want these running with ASPH
jmikeowen Feb 20, 2024
5d5063e
Merge pull request #267 from LLNL/bugfix/TaylorAnvil
jmikeowen Feb 22, 2024
ad9d316
Added compiler, MPI, and python paths to export configure script for …
ldowen Feb 29, 2024
4db2b67
updating the DEM SB update approach
jmpearl Mar 1, 2024
f625d20
Merge branch 'develop' into bugfix/demSolidBCs
jmpearl Mar 1, 2024
567125f
merging dev into solidGSPH
jmpearl Mar 1, 2024
3293725
GSPH clean up post merge
jmpearl Mar 1, 2024
74318c8
adding unique id as a solid bc property
jmpearl Mar 2, 2024
2283c71
Improving DEM solidBC unique indices to accomdate mid simulation remo…
jmpearl Mar 2, 2024
e0bce89
adding to / modifying python exposure
jmpearl Mar 2, 2024
79150e9
moving the solid BC name into the solid bc
jmpearl Mar 2, 2024
ffda8da
DEM cleaning out old commented out sections
jmpearl Mar 2, 2024
f163ecd
DEM more cleaning
jmpearl Mar 2, 2024
c50e00b
DEM cleaning out some print diagnostics
jmpearl Mar 3, 2024
bd522f9
DEM: adding field to track max overlap
jmpearl Mar 3, 2024
8edbf2b
LinearSpringDEM replacing redundent code with inline functions
jmpearl Mar 4, 2024
c909366
DEM adding ats tests for rolling and torsion on surfaces
jmpearl Mar 4, 2024
717fdd9
DEM 3d impact squares - making it reproducable
jmpearl Mar 4, 2024
423d72a
DEM adding Scalars to allowed state fields
jmpearl Mar 4, 2024
7a4d59a
DEM misplaced semicolon caused debug build failure
jmpearl Mar 5, 2024
821cc15
DEMs max overlap needed to be restartable"
jmpearl Mar 7, 2024
109c067
Provide better guard for setting compiler paths
ldowen Mar 7, 2024
c4eb76d
making fast time stepping optional to allows integrator's updateBCFre…
jmpearl Mar 18, 2024
c7094c5
some DEM tests assume fast time stepping is on
jmpearl Mar 18, 2024
525f9e4
DEM update ATS and tangentialDampTerm Coeffs
jmpearl Mar 19, 2024
913600c
DEM update release notes
jmpearl Mar 19, 2024
a31b02f
DEM bugfix misnamed ats
jmpearl Mar 19, 2024
41c8178
DEM ats bugfix for particle-wall and more checks added to particle-pa…
jmpearl Mar 20, 2024
3c4a248
DEM ats particle-particle bugfix
jmpearl Mar 20, 2024
4212e80
Updated release notes
ldowen Mar 20, 2024
ea0df9b
Merge pull request #268 from LLNL/bugfix/improve_target_export
ldowen Mar 21, 2024
c0697c6
Moving Spheral python install into lib/pythonX.Y/site-packages dir.
mdavis36 Mar 25, 2024
ede7a75
Adding documentation on how to use Docker Dev environments.
mdavis36 Mar 25, 2024
a5d66c4
Updated blt and PYB11Generator submodules, fixed cmake logic for usin…
ldowen Mar 26, 2024
4c1d65f
Using to determine OS when SYS_TYPE is not available. Changing x86_6…
mdavis36 Mar 26, 2024
c6ae5c3
Adding documentation on editing packages.yaml files for external users.
mdavis36 Mar 28, 2024
c6cd329
Adding generic config dir.
mdavis36 Mar 28, 2024
a608bb9
Guarding python file install for CXXONLY builds.
mdavis36 Mar 28, 2024
e444144
Command fixes for using docker env for developing Spheral.
mdavis36 Mar 28, 2024
b5a3958
Merge tag 'v2024.01.1' into devops/docker-envs
mdavis36 Mar 28, 2024
7ddd2f9
Release notes; Adding --fail-fast option to spack install.
mdavis36 Mar 28, 2024
93fa90e
Split spack install into separate commands, one for tpls and one for …
mdavis36 Mar 28, 2024
f5b0488
Merge pull request #271 from LLNL/devops/docker-envs
mdavis36 Mar 29, 2024
c276dd4
Merge branch 'develop' into update/update_TPLs
ldowen Mar 29, 2024
fd350bd
adding a test for simple constant moving bc
jmpearl Apr 3, 2024
85bbb29
DEM: updating some solid bcs to allow rectilinear motion
jmpearl Apr 3, 2024
bd43bd0
DEM: test rename
jmpearl Apr 3, 2024
f845f16
DEM: solid bc issue reproducer
jmpearl Apr 8, 2024
b5e2a76
updating some solid bc stuff
jmpearl Apr 8, 2024
884f2d7
merging dev into DEM
jmpearl Apr 12, 2024
891fff8
merge resolution
jmpearl Apr 15, 2024
557887e
DEM fixing a name collision
jmpearl Apr 15, 2024
ba25094
DEM BC updates RotatingDrum working
jmpearl Apr 15, 2024
26e1185
Significant changes to spack recipes and minor changes to tpl-manager
ldowen Apr 19, 2024
b54070d
Spheral spack package is working without versions being set, ran into…
ldowen Apr 24, 2024
6b14d61
Reverting some things back to how it was done before regarding cmake …
ldowen Apr 24, 2024
8885141
Fix dev-build tpl manager command
ldowen Apr 25, 2024
c82ebe4
Combined separate TPL install and dev-build Spack calls into single i…
ldowen May 1, 2024
e93d46e
Updated spack commit hash
ldowen May 1, 2024
5809c5a
Add echo check for tpl-manager command function
ldowen May 2, 2024
d8e3df2
Added zlib provider for zlib-api in spack packages, added system exte…
ldowen May 2, 2024
5510a85
Removed blas and awk providers, added build_job 54 back in
ldowen May 6, 2024
4dd87f6
Update scripts/devtools/tpl-manager.py
ldowen May 6, 2024
5036536
Update scripts/devtools/tpl-manager.py
ldowen May 6, 2024
0de82d6
Merge branch 'update/update_TPLs' of https://github.com/LLNL/spheral …
ldowen May 6, 2024
2149bc4
Updated blueos package file, added qhull version number to spheral pa…
ldowen May 6, 2024
0a1e551
Removed cuda versions 8 and 9 from blueos package file
ldowen May 6, 2024
78de9f3
Added netlib-lapack as blas provider
ldowen May 6, 2024
108376e
Removed py-pillow provider
ldowen May 7, 2024
128baf9
Bring blas and pil providers back, add py-pillow back as a dependency…
ldowen May 7, 2024
123af2d
Set externals and providers to match axom
ldowen May 7, 2024
f7406a3
Removed second lapack external on blueOS
ldowen May 7, 2024
d681edd
Add externals to ubuntu 20 package file
ldowen May 7, 2024
5a0ff0a
Test where only zlib provider for toss
ldowen May 8, 2024
d71c5f7
Added providers back in since that did not fix the issue
ldowen May 8, 2024
4692ddf
Testing what happens when numpy version number is removed
ldowen May 9, 2024
8200720
Brought numpy version back, removed python module load from gitlab sc…
ldowen May 9, 2024
2305448
Provide path to dev_path option in tplmanager
ldowen May 10, 2024
ab6f928
whoopsie
jmpearl May 12, 2024
c517fad
DEM restart for solid bcs
jmpearl May 13, 2024
b7cce65
No longer using external netlib-lapack on blueos
ldowen May 13, 2024
a82a07d
Fixing an erroneous range check in Palpha porosity that was supposed …
jmikeowen May 13, 2024
df5d638
updating release notes
jmpearl May 13, 2024
dce51c2
Merge branch 'develop' into solidGSPH
jmpearl May 14, 2024
b338d84
GSPH: commenting out unused variables
jmpearl May 14, 2024
321fdbc
GSPH: cleaning up unusued vars and punting H algo til after Mike's up…
jmpearl May 14, 2024
e49d6ef
GSPH: removing HstretchTensor and more unused vars
jmpearl May 14, 2024
b141746
GSPH : remove unused var from massfluxpolicy
jmpearl May 14, 2024
5a033f0
GSPH: unused var in the MFVIncrementVelocityPolicy
jmpearl May 14, 2024
426d5af
Merge pull request #269 from LLNL/bugfix/demSolidBCs
jmpearl May 14, 2024
f7dacb5
Merge branch 'develop' into solidGSPH
jmpearl May 14, 2024
58387e7
Update to the 0.22.0 Spack release hash
ldowen May 14, 2024
46395f2
GSPH: blueos didn't like the for loop
jmpearl May 14, 2024
1aafe5d
Removed openblas and switched back to netlib-lapack for the ubuntu pa…
ldowen May 14, 2024
7642454
Merge branch 'develop' into update/update_TPLs
ldowen May 14, 2024
6af3f39
GSPH: another omp incompatible loop
jmpearl May 14, 2024
250a035
Removed external netlib-lapack from ubuntu package config file
ldowen May 14, 2024
d4e3bc1
Removed external cmake for ubuntu build for now
ldowen May 14, 2024
8199070
Fixed a terrible bug that was causing standard ASPH hydros (not FSI or
jmikeowen May 15, 2024
b53b1ab
Adding optional user specified smoothing scale method for SPH, FSISPH,
jmikeowen May 15, 2024
119143e
Put spack install spec in tpl-manager in quotes
ldowen May 15, 2024
bdd8472
Brought py-ats recipe back to avoid having to bring in py-poetry, try…
ldowen May 15, 2024
c7e1360
RZ CRK fix
jmikeowen May 15, 2024
996c3d8
Going back to using dev-build command to see if that still works
ldowen May 17, 2024
8759506
Added quiet flag to dev-build
ldowen May 17, 2024
758e7c7
Fixed versions for all Spheral dependencies in spack recipe
ldowen May 23, 2024
d82629d
Set py-pillow version to what is used by ubuntu
ldowen May 23, 2024
ab25e99
Fix scipy to ubuntu build version as well
ldowen May 23, 2024
4db574c
Updated the upstream location
ldowen May 28, 2024
332bc9f
Updated upstream directory name
ldowen May 30, 2024
8f91424
Update upstream directory again
ldowen May 31, 2024
e3cbdd7
GSPH: updating tests for merge
jmpearl Jun 4, 2024
5f3fa73
GSPH updating release notes
jmpearl Jun 4, 2024
d6ef76d
Change CMake system to allow for multiple modules per source directory
ldowen Jun 4, 2024
8d2110a
Removed pkg-config and pic variant lines from ubuntu spack package
ldowen Jun 4, 2024
22b202d
GSPH updating Yee to remove llyod
jmpearl Jun 5, 2024
73b5a7b
Split KernelIntegrator up into two modules
ldowen Jun 5, 2024
1801c47
Updated release notes
ldowen Jun 5, 2024
9a6b621
Split up FieldList and ArithmeticFieldList
ldowen Jun 5, 2024
97ddcbe
Merge pull request #273 from LLNL/solidGSPH
jmpearl Jun 6, 2024
705f60f
Remove repeated DESTINATION in cmake file
ldowen Jun 6, 2024
32559e2
Merge branch 'develop' into feature/flexible_python_targets
ldowen Jun 7, 2024
884c737
Merge branch 'develop' into update/update_TPLs
ldowen Jun 7, 2024
c5459b2
Moved MinMaxFieldList to ArithmeticFieldList module
ldowen Jun 7, 2024
d67141b
Merge branch 'develop' into feature/docs-target
mdavis36 Jun 9, 2024
13a1b37
Update release notes
ldowen Jun 10, 2024
d40e795
Merge pull request #277 from LLNL/feature/flexible_python_targets
ldowen Jun 11, 2024
2427793
Merge branch 'develop' into update/update_TPLs
ldowen Jun 11, 2024
0ec5822
Merge branch 'develop' into bugfix/PalphaConstructor
jmikeowen Jun 12, 2024
8b9730d
Merge branch 'bugfix/PalphaConstructor' of github.com:LLNL/spheral in…
jmikeowen Jun 12, 2024
28fb2fc
Merge pull request #272 from LLNL/update/update_TPLs
ldowen Jun 18, 2024
4b6edda
Merge branch 'develop' into bugfix/PalphaConstructor
jmikeowen Jun 20, 2024
cfbe671
Merge branch 'develop' into feature/docs-target
mdavis36 Jun 21, 2024
69c5f2d
Found the source for a race condition error in ACRK Noh test
jmikeowen Jun 21, 2024
b03d92f
Merge pull request #274 from LLNL/bugfix/PalphaConstructor
mdavis36 Jun 25, 2024
fec7156
Merge branch 'develop' into feature/docs-target
mdavis36 Jun 25, 2024
858faca
Merge pull request #262 from LLNL/feature/docs-target
mdavis36 Jun 27, 2024
f16b258
Changes for documenting 2024.06.0 release.
mdavis36 Jun 27, 2024
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 .gitlab/os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.sys_config:
variables:
LLNL_SERVICE_USER: sphapp
UPSTREAM_DIR: /usr/WS2/wciuser/Spheral/spheral-spack-tpls
UPSTREAM_DIR: /usr/WS2/sduser/Spheral/spack_upstream/0.22
DISPLAY: ':0.0'

.on_toss_3_x86:
Expand Down
1 change: 0 additions & 1 deletion .gitlab/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
- cd $CI_BUILD_DIR
- echo $SPEC

- ml load python/3
- $BUILD_ALLOC ./$SCRIPT_DIR/gitlab/build_and_install.py --spec="$SPEC" --extra-cmake-args="$EXTRA_CMAKE_ARGS"

.build_and_test:
Expand Down
2 changes: 1 addition & 1 deletion .uberenv_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"package_version" : "develop",
"package_source_dir" : "../../..",
"spack_url" : "https://github.com/spack/spack",
"spack_commit" : "5e0d2107348eed6cbe6deca43a30f5b06c5e40af",
"spack_commit" : "5fe93fee1eec46a0750bd340198bffcb92ff9eec",
"spack_configs_path" : "scripts/spack/configs",
"spack_packages_path" : "scripts/spack/packages"
}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ARG HOST_CONFIG=docker-$SPEC
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install -y build-essential git gfortran mpich autotools-dev autoconf sqlite pkg-config uuid gettext cmake libncurses-dev libgdbm-dev libffi-dev libssl-dev libexpat-dev libreadline-dev liblapack-dev libbz2-dev locales python python3 unzip libtool wget curl tk-dev
RUN apt-get install -y build-essential git gfortran mpich autotools-dev autoconf sqlite pkg-config uuid gettext cmake libncurses-dev libgdbm-dev libffi-dev libssl-dev libexpat-dev libreadline-dev libbz2-dev locales python python3 unzip libtool wget curl tk-dev

# Setup system locale for pip package encoding/decoding
RUN locale-gen en_US.UTF-8
Expand Down
42 changes: 40 additions & 2 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
Version v2024.06.0 -- Release date 2024-06-27
==============================================
* Important Notes:
* External users of the code will need to supply config files for tpl-manager to find system libraries correctly. Steps to do this are detailed in the external user build guide.

Notable changes include:

* New features / API changes:
* Added MFV hydro from Hopkins 2015 with extension for ALE options.
* Adding optional user specified smoothing scale method for SPH, FSISPH, and CRKSPH.

* Build changes / improvements:
* PYBind11 libraries no longer depend on the structure of the PYB11 source directory.
* CMake interface for adding PYBind11 target libraries is modified to more closely match how C++ libraries are created.
* Multiple Spheral Python modules / CMake targets can be specified for a single directory.
* KernelIntegrator and FieldList directories are divided into 2 modules / targets.
* tpl-manager.py will no longer use generic x86_64 configs for non LC systems. Users will be required to supply their own configs for pointing spack at external packages.
* Spack version is increased from 0.19 to 0.22.
* Spack upstream is updated.
* Removed the python 3 module load for the Gitlab CI to fix an issue with pkg-config changing.
* Zlib target and TPL cmake file is removed.
* PYB11Generator repo is updated.
* Spack config and package files inside Spheral are updated to accommodate Spack 0.22.
* Package recipes for py-numpy-stl, py-pillow, py-pipreqs, td, and tk are removed.
* Versions for python dependencies in the Spheral spack recipe are fixed and updated (in some cases).

* Bug Fixes / improvements:
* Corrected an erroneous VERIFY in the P-alpha porosity constructor (with Fields of porosity and sound speed) that forced runs to stop even with correct input parameters
* Fixed a bug in the standard ASPH hydros (ASPH, SolidASPH, and RZ varieties) that gave incorrect results. FSI ad CRK models with ASPH smoothing scales were OK, but standard
SPH using ASPH smoothing scales were simply incorrect for non-unit aspect ratio H's. Also added ATS tests to help catch such errors going forward.

Version v2024.01.1 -- Release date 2024-02-17
==============================================
* Important Notes:
Expand All @@ -9,15 +40,22 @@ Notable changes include:
* Adding an optional second-stage problem start-up hook to the Physics package interface: Physics::initializeProblemStartupDependencies. The idea is to keep basic sizing
of arrays and such in the first stage (Physics::initializeProblemStartup), while this new hook is used for updating any initial Physics state (and therefore provides a
State and StateDerivatives object).

* DEM
* new field list to track max particle overlap
* user can optional turn off fast time stepping

* Build changes / improvements:
*
* Improved the target export functionality.

* Bug Fixes / improvements:
* Fixed bug with ConstantBoundary in the presence of porosity with the new porosity models introduced in v2024.01.00.
* Updating header lists for including Spheral modules in external projects.
* Adding effective viscous pressure back to FSISPH.
* Initial volumes for damage models were incorrectly not taking into account pore space when computing failure statistics for seeding flaws. Fixed.
* DEM
* fixed bug in solid boundary unique indices that causes particle sticking
* fixed bug in solid boundary update policies
* fixed solid boundary restartability for moving bcs

Version v2024.01.00 -- Release date 2024-01-19
==============================================
Expand Down
2 changes: 1 addition & 1 deletion cmake/CMakeDefinitions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ if (ENABLE_TIMER)
endif()

if (ENABLE_MPI)
add_definitions(-DUSE_MPI=1)
add_definitions(-DUSE_MPI=1)
endif()
19 changes: 0 additions & 19 deletions cmake/FindSphinx.cmake

This file was deleted.

4 changes: 3 additions & 1 deletion cmake/InstallTPLs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if (NOT ENABLE_CXXONLY)
# Find the appropriate Python
find_package(Python3 COMPONENTS Interpreter Development)
set(PYTHON_EXE ${Python3_EXECUTABLE})
set(SPHERAL_SITE_PACKAGES_PATH "lib/python${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}/site-packages" )
list(APPEND SPHERAL_BLT_DEPENDS Python3::Python)

# Set the PYB11Generator path
Expand Down Expand Up @@ -88,7 +89,7 @@ foreach(_comp ${AXOM_COMPONENTS_ENABLED})
endforeach()

# TPLs that must be imported
list(APPEND SPHERAL_EXTERN_LIBS zlib boost eigen qhull silo hdf5 polytope)
list(APPEND SPHERAL_EXTERN_LIBS boost eigen qhull silo hdf5 polytope)

blt_list_append( TO SPHERAL_EXTERN_LIBS ELEMENTS aneos IF ENABLE_ANEOS)
blt_list_append( TO SPHERAL_EXTERN_LIBS ELEMENTS opensubdiv IF ENABLE_OPENSUBDIV)
Expand All @@ -107,6 +108,7 @@ endforeach()
if (EXISTS ${EXTERNAL_SPHERAL_TPL_CMAKE})
include(${EXTERNAL_SPHERAL_TPL_CMAKE})
endif()

# Copied from serac, needed to bypass generator expression issue during export
set(_props)
if( ${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.13.0" )
Expand Down
4 changes: 1 addition & 3 deletions cmake/SetupSpheral.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ include(ExternalProject)
#-------------------------------------------------------------------------------
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_EXPORT_COMPILE_COMMANDS On)
set(CMAKE_EXPORT_COMPILE_COMMANDS On)

if (NOT SPHERAL_CMAKE_MODULE_PATH)
set(SPHERAL_CMAKE_MODULE_PATH "${SPHERAL_ROOT_DIR}/cmake")
Expand All @@ -27,6 +26,7 @@ set(Python3_EXECUTABLE ${python_DIR}/bin/python3)

set(ENABLE_MPI ON CACHE BOOL "")
set(ENABLE_OPENMP ON CACHE BOOL "")
set(BLT_DOCS_TARGET_NAME "blt_docs" CACHE STRING "")

if(NOT SPHERAL_BLT_DIR)
set (SPHERAL_BLT_REL_DIR "${SPHERAL_ROOT_DIR}/cmake/blt" CACHE PATH "")
Expand Down Expand Up @@ -83,8 +83,6 @@ if(ENABLE_CUDA)
list(APPEND SPHERAL_CXX_DEPENDS cuda)
endif()

option(BOOST_HEADER_ONLY "only use the header only components of Boost" OFF)

#-------------------------------------------------------------------------------#
# Set a default build type if none was specified
#-------------------------------------------------------------------------------#
Expand Down
2 changes: 1 addition & 1 deletion cmake/SpheralVersion.cmake
Original file line number Diff line number Diff line change
@@ -1 +1 @@
set(SPHERAL_VERSION 2024.01.1)
set(SPHERAL_VERSION 2024.06.0)
2 changes: 1 addition & 1 deletion cmake/blt
Submodule blt updated 183 files
2 changes: 1 addition & 1 deletion cmake/spheral/InstantiateCXX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function(instantiate _inst_var _source_var)
# Uses BLT's python for instantiations to work when building CXX_ONLY as well as with python
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_inst_file}
DEPENDS ${_inst_py}
COMMAND ${PYTHON_EXECUTABLE} ${SPHERAL_ROOT_DIR}/src/helpers/InstantiationGenerator.py ${_inst_py} ${_inst_file} ${_dim}
COMMAND ${Python3_EXECUTABLE} ${SPHERAL_ROOT_DIR}/src/helpers/InstantiationGenerator.py ${_inst_py} ${_inst_file} ${_dim}
BYPRODUCTS ${_inst_file}
COMMENT "Generating instantiation ${_inst_file}..."
)
Expand Down
56 changes: 31 additions & 25 deletions cmake/spheral/SpheralAddLibs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -123,26 +123,35 @@ function(spheral_add_cxx_library package_name _cxx_obj_list)
set_target_properties(Spheral_${package_name} PROPERTIES INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
endfunction()

#----------------------------------------------------------------------------------------
# spheral_add_pybin11_library_package
#----------------------------------------------------------------------------------------
# -------------------------------------------
# VARIABLES THAT NEED TO BE PREVIOUSLY DEFINED
# -------------------------------------------
# SPHERAL_BLT_DEPENDS : REQUIRED : List of external dependencies
# EXTRA_PYB11_SPHERAL_ENV_VARS : OPTIONAL : Additional directories containing python filed, used by LLNLSpheral
# <package_name>_headers : OPTIONAL : List of necessary headers to include
# <package_name>_sources : OPTIONAL : List of necessary source files to include
# SPHERAL_SUBMOD_DEPENDS : REQUIRED : List of submodule dependencies
# ----------------------
# INPUT-OUTPUT VARIABLES
# ----------------------
# package_name : REQUIRED : Desired package name
# module_list_name : REQUIRED : The NAME of the global variable that is the list of
# Spheral python modules (not the list itself)
# INCLUDES : OPTIONAL : Target specific includes
# DEPENDS : OPTIONAL : Target specific dependencies
# SOURCE : OPTIONAL : Target specific sources
# -----------------------
# OUTPUT VARIABLES TO USE - Made available implicitly after function call
# -----------------------
# Spheral<package_name> : Target for a given Spheral python module
# Spheral<package_name>_src : Target for the PYB11Generated source code for a given Spheral module
# <module_list_name> : List of Spheral python modules, appended with current module name
#----------------------------------------------------------------------------------------

#-----------------------------------------------------------------------------------
# spheral_add_pybind11_library
# - Generate the python friendly Spheral package lib
#
# Args:
# package_name : *name* of spheral package to make into a library
# INCLUDES : optional, any additional include paths
# SOURCES : optional, any additional source files to compile into the library
# DEPENDS : optional, extra dependencies
#
# Variables that must be set before calling spheral_add_obj_library:
# spheral_depends
# - List of targets the library depends on
# SPHERAL_BLT_DEPENDS
# - List of blt/libs the library depends on
#
#-----------------------------------------------------------------------------------

function(spheral_add_pybind11_library package_name)
function(spheral_add_pybind11_library package_name module_list_name)

# Define our arguments
set(options )
Expand Down Expand Up @@ -205,8 +214,6 @@ function(spheral_add_pybind11_library package_name)

# Get the TPL dependencies
get_property(SPHERAL_BLT_DEPENDS GLOBAL PROPERTY SPHERAL_BLT_DEPENDS)
get_property(spheral_tpl_includes GLOBAL PROPERTY spheral_tpl_includes)
get_property(spheral_tpl_libraries GLOBAL PROPERTY spheral_tpl_libraries)
# If building shared libraries, use the SPHERAL_OBJ_LIBS global list
# Note, LLNLSpheral has appended any local targets to this list as well
if(ENABLE_DEV_BUILD)
Expand All @@ -222,8 +229,7 @@ function(spheral_add_pybind11_library package_name)
SOURCE ${package_name}_PYB11.py
DEPENDS ${SPHERAL_BLT_DEPENDS} ${SPHERAL_CXX_DEPENDS} ${EXTRA_CXX_DEPENDS} ${SPHERAL_DEPENDS}
PYTHONPATH ${PYTHON_ENV_STR}
INCLUDES ${CMAKE_CURRENT_SOURCE_DIR} ${SPHERAL_INCLUDES} ${${package_name}_INCLUDES} ${spheral_tpl_includes} ${PYBIND11_ROOT_DIR}/include
LINKS ${spheral_tpl_libraries}
INCLUDES ${CMAKE_CURRENT_SOURCE_DIR} ${${package_name}_INCLUDES} ${PYBIND11_ROOT_DIR}/include
COMPILE_OPTIONS ${SPHERAL_PYB11_TARGET_FLAGS}
USE_BLT ON
EXTRA_SOURCE ${${package_name}_SOURCES}
Expand All @@ -233,9 +239,9 @@ function(spheral_add_pybind11_library package_name)
target_compile_options(${MODULE_NAME} PRIVATE ${SPHERAL_PYB11_TARGET_FLAGS})

install(TARGETS ${MODULE_NAME}
DESTINATION Spheral
DESTINATION ${SPHERAL_SITE_PACKAGES_PATH}/Spheral
)

set_property(GLOBAL APPEND PROPERTY ${module_list_name} ${package_name})
# Set the r-path of the C++ lib such that it is independent of the build dir when installed
set_target_properties(${MODULE_NAME} PROPERTIES INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")

Expand Down
5 changes: 3 additions & 2 deletions cmake/spheral/SpheralInstallPythonFiles.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
# Note, if ENABLE_CXXONLY is set, this function does nothing
#-----------------------------------------------------------------------------------


function(spheral_install_python_files)

if (NOT ENABLE_CXXONLY)
install(FILES ${ARGV}
DESTINATION Spheral)
DESTINATION ${SPHERAL_SITE_PACKAGES_PATH}/Spheral)
install(CODE "execute_process( \
COMMAND ${PYTHON_EXE} -m compileall Spheral \
COMMAND ${PYTHON_EXE} -m compileall DESTINATION ${SPHERAL_SITE_PACKAGES_PATH}/Spheral \
WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})")
endif()

Expand Down
56 changes: 43 additions & 13 deletions cmake/spheral_cxx-config.cmake.in
Original file line number Diff line number Diff line change
@@ -1,17 +1,47 @@

@PACKAGE_INIT@

if(NOT axom_DIR)
set(axom_DIR "@axom_DIR@" CACHE PATH "")
endif()
set(SPHERAL_BLT_DIR "@SPHERAL_BLT_DIR@")
set(SPHERAL_CXX_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@")
set(SPHERAL_CXX_INCLUDE_DIRS "${SPHERAL_CXX_INSTALL_PREFIX}/include")
if(NOT TARGET axom)
find_package(axom REQUIRED QUIET NO_DEFAULT_PATH PATHS ${axom_DIR} ${axom_DIR}/lib ${axom_DIR}/lib/cmake)
endif()
include("${SPHERAL_CXX_INSTALL_PREFIX}/lib/cmake/spheral_cxx-targets.cmake")
if(NOT SPHERAL_FOUND)
#----------------------------------------------------------------------------
# Set user configuration options and features
#----------------------------------------------------------------------------

# Language features
set(SPHERAL_ENABLE_MPI "@ENABLE_MPI@")
set(SPHERAL_ENABLE_OPENMP "@ENABLE_OPENMP@")
set(SPHERAL_ENABLE_CUDA "@ENABLE_CUDA@")
if(NOT axom_DIR)
set(axom_DIR "@axom_DIR@" CACHE PATH "")
endif()

set_property(TARGET Spheral_CXX
APPEND PROPERTY
INTERFACE_INCLUDE_DIRECTORIES ${SPHERAL_CXX_INCLUDE_DIRS})
set(SPHERAL_CXX_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@")
set(SPHERAL_CXX_INCLUDE_DIRS "${SPHERAL_CXX_INSTALL_PREFIX}/include")
if(NOT @ENABLE_CXXONLY@ AND NOT TARGET Python3)
set(python_DIR "@python_DIR@")
set(Python_EXECUTABLE ${python_DIR}/bin/python3)
set(Python3_EXECUTABLE ${python_DIR}/bin/python3)
find_package(Python3 COMPONENTS Interpreter Development)
set(PYTHON_EXE ${Python3_EXECUTABLE})
endif()

if(NOT TARGET axom)
find_package(axom REQUIRED QUIET NO_DEFAULT_PATH PATHS ${axom_DIR} ${axom_DIR}/lib ${axom_DIR}/lib/cmake)
endif()
if(SPHERALC_STANDALONE)
set(CMAKE_C_COMPILER "@CMAKE_C_COMPILER@" CACHE PATH "Spheral C compiler path")
set(CMAKE_CXX_COMPILER "@CMAKE_CXX_COMPILER@" CACHE PATH "Spheral C++ compiler path")
set(CMAKE_Fortran_COMPILER "@CMAKE_Fortran_COMPILER@" CACHE PATH "Spheral C++ compiler path")
set(ENABLE_MPI @ENABLE_MPI@ CACHE BOOL "")
if(SPHERAL_ENABLE_MPI)
set(MPI_C_COMPILER "@MPI_C_COMPILER@" CACHE PATH "")
set(MPI_CXX_COMPILER "@MPI_CXX_COMPILER@" CACHE PATH "")
set(MPI_Fortran_COMPILER "@MPI_Fortran_COMPILER@" CACHE PATH "")
endif()
endif()
include("${SPHERAL_CXX_INSTALL_PREFIX}/lib/cmake/spheral_cxx-targets.cmake")

set_property(TARGET Spheral_CXX
APPEND PROPERTY
INTERFACE_INCLUDE_DIRECTORIES ${SPHERAL_CXX_INCLUDE_DIRS})
set(SPHERAL_FOUND TRUE)
endif()
5 changes: 0 additions & 5 deletions cmake/tpl/zlib.cmake

This file was deleted.

13 changes: 3 additions & 10 deletions docs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
#find_package(Sphinx)
set(SPHINX_FOUND true)
if (NOT DEFINED SPHINX_EXEC)
set(SPHINX_EXEC "${sphinx_DIR}/bin/sphinx-build" CACHE STRING "Path to sphinx documentation generator")
endif()
message("-- Sphinx ${SPHINX_EXEC}")

if(ENABLE_DOCS AND NOT SPHINX_EXEC STREQUAL "SPHINX_EXEC-NOTFOUND")
if(ENABLE_DOCS)
if(NOT DEFINED SPHINX_THEME)
set(SPHINX_THEME sphinx_rtd_theme)
endif()
Expand All @@ -28,8 +21,8 @@ if(ENABLE_DOCS AND NOT SPHINX_EXEC STREQUAL "SPHINX_EXEC-NOTFOUND")
"${BINARY_BUILD_DIR}/conf.py"
@ONLY)

add_custom_target(Spheral_docs ALL
${CMAKE_COMMAND} -E env PYTHONPATH=${SPACK_PYTHONPATH} ${PYTHON_EXE} -m sphinx
add_custom_target(docs ALL
env PYTHONPATH=${SPACK_PYTHONPATH} ${PYTHON_EXE} -m sphinx
-q -b html
-c "${BINARY_BUILD_DIR}"
-d "${SPHINX_CACHE_DIR}"
Expand Down
2 changes: 1 addition & 1 deletion docs/build_guide/external/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This guide is designed to help external users build and install Spheral on non L
:caption: External Building Guide:

quickstart.rst
ubuntu_update.rst
system_packages.rst
cloning.rst
updating.rst
tpls.rst
Expand Down
Loading
Loading