Skip to content

Commit

Permalink
Merge pull request #1667 from glotzerlab/release-4.4.0
Browse files Browse the repository at this point in the history
Release 4.4.0
  • Loading branch information
joaander authored Dec 5, 2023
2 parents 7177a51 + 72ed818 commit 0ac922e
Show file tree
Hide file tree
Showing 13 changed files with 70 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 4.3.0
current_version = 4.4.0
commit = False
tag = False
parse = ^(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))(?:\.(?P<number>0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)))?$
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ body:
attributes:
label: HOOMD-blue version
description: What version of HOOMD-blue are you using?
placeholder: 4.3.0
placeholder: 4.4.0
validations:
required: true
- type: markdown
Expand Down
3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,6 @@ Antonia Statt <[email protected]> Antonia Statt <>
Alex Lee <[email protected]> Alex <[email protected]>
Alex Lee <[email protected]> shihkual <[email protected]>
Alex Lee <[email protected]> shihkual <[email protected]>
Simone Ciarella <[email protected]> Ciarella, S <[email protected]>
Simone Ciarella <[email protected]> SCiarella <[email protected]>
Simone Ciarella <[email protected]> SCiarella <[email protected]>
4 changes: 2 additions & 2 deletions BUILDING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Clone using Git_::

$ git clone --recursive https://github.com/glotzerlab/hoomd-blue

Release tarballs are also available as `GitHub release`_ assets: `Download hoomd-4.3.0.tar.gz`_.
Release tarballs are also available as `GitHub release`_ assets: `Download hoomd-4.4.0.tar.gz`_.

.. seealso::

Expand All @@ -158,7 +158,7 @@ Release tarballs are also available as `GitHub release`_ assets: `Download hoomd
Execute ``git submodule update --init`` to fetch the submodules each time you switch branches
and the submodules show as modified.

.. _Download hoomd-4.3.0.tar.gz: https://github.com/glotzerlab/hoomd-blue/releases/download/v4.3.0/hoomd-4.3.0.tar.gz
.. _Download hoomd-4.4.0.tar.gz: https://github.com/glotzerlab/hoomd-blue/releases/download/v4.4.0/hoomd-4.4.0.tar.gz
.. _GitHub release: https://github.com/glotzerlab/hoomd-blue/releases
.. _git book: https://git-scm.com/book
.. _Git: https://git-scm.com/
Expand Down
35 changes: 35 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,41 @@ Change Log
4.x
---

4.4.0 (2024-12-04)
^^^^^^^^^^^^^^^^^^

*Added*

* ``hoomd.md.external.field.Magnetic`` computes forces and torques on particles from an external
magnetic field (`#1637 <https://github.com/glotzerlab/hoomd-blue/pull/1637>`__).
* Tutorial on placing barriers
(`hoomd-examples/#111 <https://github.com/glotzerlab/hoomd-examples/pull/111>`__).

*Fixed*

* Use ``mpirun`` specific local ranks to select GPUs before checking ``SLURM_LOCALID``
(`#1647 <https://github.com/glotzerlab/hoomd-blue/pull/1647>`__).
* Fix typographical errors in ``RevCross`` documentation
(`#1642 <https://github.com/glotzerlab/hoomd-blue/pull/1642>`__).
* Use standards compliant ``thrust::get``
(`#1660 <https://github.com/glotzerlab/hoomd-blue/pull/1660>`__).

*Changed*

* Removed unused code
(`#1646 <https://github.com/glotzerlab/hoomd-blue/pull/1646>`__).
* No longer issue a warning when ``hoomd.md.Integrator`` is used without an integration method
(`#1659 <https://github.com/glotzerlab/hoomd-blue/pull/1659>`__).
* Increase performance of ``Force.forces``, ``Force.torques``, ``Force.energies``, and
``Force.virials`` (`#1654 <https://github.com/glotzerlab/hoomd-blue/pull/1654>`__).

*Deprecated*

* ``num_cpu_threads > 1``. Use ``num_cpu_threads = 1``
(`#1656 <https://github.com/glotzerlab/hoomd-blue/pull/1656>`__).
* ``HPMCIntegrator.depletant_fugacity > 0``
(`#1657 <https://github.com/glotzerlab/hoomd-blue/pull/1657>`__).

4.3.0 (2024-10-24)
^^^^^^^^^^^^^^^^^^

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 @@ add_subdirectory (CMake)

################################
## Version information
set(HOOMD_VERSION_RAW "4.3.0")
set(HOOMD_VERSION_RAW "4.4.0")
string(REGEX MATCH "(.*)\\.(.*)\\.(.*)$" _hoomd_version_match ${HOOMD_VERSION_RAW})
set(HOOMD_VERSION_MAJOR ${CMAKE_MATCH_1})
set(HOOMD_VERSION_MINOR ${CMAKE_MATCH_2})
Expand Down
6 changes: 3 additions & 3 deletions INSTALLING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ Conda package
**HOOMD-blue** is available on conda-forge_ on the *linux-64*, *osx-64*, and *osx-arm64* platforms.
Install the ``hoomd`` package from the conda-forge_ channel into a conda environment::

$ conda install hoomd=4.3.0
$ conda install hoomd=4.4.0

``conda`` auto-detects whether your system has a GPU and attempts to install the appropriate
package. Override this and force the GPU enabled package installation with::

$ export CONDA_OVERRIDE_CUDA="12.0"
$ conda install "hoomd=4.3.0=*gpu*" "cuda-version=12.0"
$ conda install "hoomd=4.4.0=*gpu*" "cuda-version=12.0"

Similarly, you can force CPU only package installation with::

$ conda install "hoomd=4.3.0=*cpu*"
$ conda install "hoomd=4.4.0=*cpu*"

.. note::

Expand Down
17 changes: 17 additions & 0 deletions hoomd/data/typeparam.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,27 +77,31 @@ def __setitem__(self, key, value):
Index types by name:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
langevin.gamma['A'] = 2.0
Set parameters for multiple types:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
langevin.gamma[['B', 'C']] = 3.0
Set type pair parameters with a tuple of names:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
lj.params[('A', 'A')] = dict(epsilon=1.5, sigma=2.0)
Set parameters for multiple pairs (e.g. ('A', 'B') and ('A', 'C')):
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
lj.params[('A', ['B', 'C'])] = dict(epsilon=0, sigma=0)
Expand All @@ -106,6 +110,7 @@ def __setitem__(self, key, value):
'B'), and ('C', 'C')):
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
lj.params[(['B', 'C'], ['B', 'C'])] = dict(epsilon=1, sigma=1)
Expand All @@ -122,11 +127,13 @@ def __getitem__(self, key):
.. rubric:: Examples:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
gamma_A = langevin.gamma['A']
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
lj_epsilon_AB = lj.params[('A', 'B')]['epsilon']
Expand All @@ -137,13 +144,15 @@ def __getitem__(self, key):
returns multiple items in a dictionary:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
gammas = langevin.gamma[['A', 'B']]
is equivalent to:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
gammas = {key: langevin.gamma[key] for key in ['A', 'B']}
Expand All @@ -170,6 +179,7 @@ def get(self, key, default):
.. rubric:: Example:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
gamma_D = langevin.gamma.get('D', default=5.0)
Expand All @@ -188,6 +198,7 @@ def setdefault(self, key, default):
.. rubric:: Example
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
langevin.gamma.setdefault('D', default=5.0)
Expand All @@ -198,6 +209,7 @@ def __eq__(self, other):
"""Test for equality.
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
langevin.gamma == lj.params
Expand All @@ -219,6 +231,7 @@ def default(self):
Set a default value:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
langevin.gamma.default = 2.0
Expand All @@ -227,6 +240,7 @@ def default(self):
keys in that dictionary:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
lj.params.default = dict(epsilon=0)
Expand All @@ -253,6 +267,7 @@ def to_base(self):
.. rubric:: Example:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
plain_dict = lj.params.to_base()
Expand All @@ -265,6 +280,7 @@ def __iter__(self):
.. rubric:: Example:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
for type_pair in lj.params:
Expand All @@ -278,6 +294,7 @@ def __len__(self):
.. rubric:: Example:
.. skip: next if(not hoomd.version.md_built)
.. code-block:: python
n_type_pairs = len(lj.params)
Expand Down
4 changes: 2 additions & 2 deletions hoomd/hpmc/external/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ class CPPExternalPotential(ExternalField):
Your code *must* return a value.
.. _VectorMath.h: https://github.com/glotzerlab/hoomd-blue/blob/\
v4.3.0/hoomd/VectorMath.h
v4.4.0/hoomd/VectorMath.h
.. _BoxDim.h: https://github.com/glotzerlab/hoomd-blue/blob/\
v4.3.0/hoomd/BoxDim.h
v4.4.0/hoomd/BoxDim.h
.. rubric:: Example:
Expand Down
2 changes: 1 addition & 1 deletion hoomd/hpmc/pair/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class CPPPotentialBase(AutotunedObject):
HOOMD-blue source code.
.. _VectorMath.h: https://github.com/glotzerlab/hoomd-blue/blob/\
v4.3.0/hoomd/VectorMath.h
v4.4.0/hoomd/VectorMath.h
Note:
Your code *must* return a value.
Expand Down
4 changes: 2 additions & 2 deletions sphinx-doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
copyright = f'2009-{ year } The Regents of the University of Michigan'
author = 'The Regents of the University of Michigan'

version = '4.3.0'
release = '4.3.0'
version = '4.4.0'
release = '4.4.0'

language = 'en'

Expand Down
2 changes: 1 addition & 1 deletion sphinx-doc/tutorial
Submodule tutorial updated 51 files
+4 −2 .github/dependabot.yml
+3 −3 .github/workflows/test.yml
+1 −0 .gitignore
+6 −29 .pre-commit-config.yaml
+63 −0 .ruff.toml
+11 −11 00-Introducing-HOOMD-blue/02-Performing-Hard-Particle-Monte-Carlo-Simulations.ipynb
+24 −28 00-Introducing-HOOMD-blue/03-Initializing-the-System-State.ipynb
+35 −37 00-Introducing-HOOMD-blue/04-Randomizing-the-System.ipynb
+51 −51 00-Introducing-HOOMD-blue/05-Compressing-the-System.ipynb
+42 −44 00-Introducing-HOOMD-blue/06-Equilibrating-the-System.ipynb
+39 −38 00-Introducing-HOOMD-blue/07-Analyzing-Trajectories.ipynb
+3 −3 01-Introducing-Molecular-Dynamics/01-Molecular-Dynamics-Simulations.ipynb
+30 −31 01-Introducing-Molecular-Dynamics/02-Initializing-a-Random-System.ipynb
+30 −34 01-Introducing-Molecular-Dynamics/03-Compressing-the-System.ipynb
+11 −10 02-Logging/01-Logging-to-a-file.ipynb
+35 −31 02-Logging/02-Saving-Array-Quantities.ipynb
+18 −15 02-Logging/03-Storing-Particle-Shape.ipynb
+12 −12 02-Logging/04-Writing-Formatted-Output.ipynb
+3 −2 03-Parallel-Simulations-With-MPI/00-index.ipynb
+4 −3 03-Parallel-Simulations-With-MPI/lj_domain_error.py
+4 −3 03-Parallel-Simulations-With-MPI/lj_kinetic_energy.py
+7 −5 03-Parallel-Simulations-With-MPI/lj_partition.py
+2 −2 03-Parallel-Simulations-With-MPI/lj_performance.py
+5 −5 03-Parallel-Simulations-With-MPI/lj_trajectory.py
+3 −3 04-Custom-Actions-In-Python/02-An-Initial-Custom-Action.ipynb
+7 −7 04-Custom-Actions-In-Python/03-Custom-Action-Features.ipynb
+69 −62 04-Custom-Actions-In-Python/04-Custom-Updater.ipynb
+34 −37 04-Custom-Actions-In-Python/05-Custom-Writer.ipynb
+42 −38 04-Custom-Actions-In-Python/06-Improving-Performance.ipynb
+1 −0 05-Organizing-and-Executing-Simulations/.gitignore
+31 −16 05-Organizing-and-Executing-Simulations/01-Organizing-Data.ipynb
+51 −165 05-Organizing-and-Executing-Simulations/02-Executing-Simulations.ipynb
+73 −117 05-Organizing-and-Executing-Simulations/03-Continuing-Simulations.ipynb
+76 −77 05-Organizing-and-Executing-Simulations/04-Submitting-Cluster-Jobs.ipynb
+56 −41 05-Organizing-and-Executing-Simulations/project.py
+64 −44 05-Organizing-and-Executing-Simulations/project_partitioned.py
+211 −204 06-Modelling-Rigid-Bodies/01-Introduction-to-Rigid-Bodies.ipynb
+48 −45 06-Modelling-Rigid-Bodies/02-Running-Rigid-Body-Simulations.ipynb
+38 −33 06-Modelling-Rigid-Bodies/03-Preparing-a-General-Body.ipynb
+27 −22 07-Modelling-Patchy-Particles/02-Simulating-a-System-of-Patchy-Particles.ipynb
+6 −16 07-Modelling-Patchy-Particles/create-figures.ipynb
+63 −0 08-Placing-Barriers-in-the-Simulation-Box/00-index.ipynb
+105 −0 08-Placing-Barriers-in-the-Simulation-Box/01-Barriers.ipynb
+689 −0 08-Placing-Barriers-in-the-Simulation-Box/02-Fixed-particles.ipynb
+223 −0 08-Placing-Barriers-in-the-Simulation-Box/03-Wall-geometries.ipynb
+407 −0 08-Placing-Barriers-in-the-Simulation-Box/04-Wall-potential-MD.ipynb
+351 −0 08-Placing-Barriers-in-the-Simulation-Box/05-Wall-potential-HPMC.ipynb
+ 08-Placing-Barriers-in-the-Simulation-Box/Tutorial concept map.pptx
+138 −0 08-Placing-Barriers-in-the-Simulation-Box/create-figures.ipynb
+608 −0 08-Placing-Barriers-in-the-Simulation-Box/invalid-barrier.svg
+611 −0 08-Placing-Barriers-in-the-Simulation-Box/valid-barrier.svg
1 change: 1 addition & 0 deletions sphinx-doc/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ Tutorials
tutorial/05-Organizing-and-Executing-Simulations/00-index
tutorial/06-Modelling-Rigid-Bodies/00-index
tutorial/07-Modelling-Patchy-Particles/00-index
tutorial/08-Placing-Barriers-in-the-Simulation-Box/00-index

0 comments on commit 0ac922e

Please sign in to comment.