Skip to content

Latest commit

 

History

History
860 lines (690 loc) · 46.1 KB

File metadata and controls

860 lines (690 loc) · 46.1 KB

HOOMD-blue Change Log

[TOC]

v1.3.0

Released 2015/12/8

New features

  • Automatically load balanced domain decomposition simulations.
  • Anisotropic particle integrators.
  • Gay-Berne pair potential.
  • Dipole pair potential.
  • Brownian dynamics integrate.brownian
  • Langevin dynamics integrate.langevin (formerly bdnvt)
  • nlist.stencil to compute neighbor lists using stencilled cell lists.
  • Add single value scale, min_image, and make_fraction to data.boxdim
  • analyze.log can optionally not write a file and now supports querying current quantity values.
  • Rewritten wall potentials.
    • Walls are now sums of planar, cylindrical, and spherical half-spaces.
    • Walls are defined and can be modified in job scripts.
    • Walls execute on the GPU.
    • Walls support per type interaction parameters.
    • Implemented for: lj, gauss, slj, yukawa, morse, force_shifted_lj, and mie potentials.
  • External electric field potential: external.e_field

Bug fixes

  • Fixed a bug where NVT integration hung when there were 0 particles in some domains.
  • Check SLURM environment variables for local MPI rank identification
  • Fixed a typo in the box math documentation
  • Fixed a bug where exceptions weren't properly passed up to the user script
  • Fixed a bug in the velocity initialization example
  • Fixed an openmpi fork() warning on some systems
  • Fixed segfaults in PPPM
  • Fixed a bug where compute.thermo failed after reinitializing a system
  • Support list and dict-like objects in init.create_random_polymers.
  • Fall back to global rank to assign GPUs if local rank is not available

Deprecated commands

  • integrate.bdnvt is deprecated. Use integrate.langevin instead.
  • dump.bin and init.bin are now removed. Use XML files for restartable jobs.

Changes that may break existing scripts

  • boxdim.wrap now returns the position and image in a tuple, where it used to return just the position.
  • wall.lj has a new API
  • dump.bin and init.bin have been removed.

v1.2.1

Released 2015/10/22

Bug fixes

  • Fix a crash when adding or removing particles and reinitializing
  • Fix a bug where simulations hung on sm 5.x GPUs with CUDA 7.5
  • Fix compile error with long tests enabled
  • Issue a warning instead of an error for memory allocations greater than 4 GiB.
  • Fix invalid RPATH when building inside zsh.
  • Fix incorrect simulations with integrate.npt_rigid
  • Label mie potential correctly in user documentation

v1.2.0

Released 2015/09/30

New features

  • Performance improvements for systems with large particle size disparity
  • Bounding volume hierarchy (tree) neighbor list computation
  • Neighbor lists have separate r_cut values for each pair of types
  • addInfo callback for dump.pos allows user specified information in pos files

Bug fixes

  • Fix test_pair_set_energy unit test, which failed on numpy < 1.9.0
  • Analyze.log now accepts unicode strings.
  • Fixed a bug where calling restore_snapshot() during a run zeroed potential parameters.
  • Fix segfault on exit with python 3.4
  • Add cite.save() to documentation
  • Fix a problem were bond forces are computed incorrectly in some MPI configurations
  • Fix bug in pair.zbl
  • Add pair.zbl to the documentation
  • Use HOOMD_PYTHON_LIBRARY to avoid problems with modified CMake builds that preset PYTHON_LIBRARY

v1.1.1

Released 2015/07/21

Bug fixes

  • dump.xml(restart=True) now works with MPI execution
  • Added missing documentation for meta.dump_metadata
  • Build all unit tests by default
  • Run all script unit tests through mpirun -n 1

v1.1.0

Released 2015/07/14

New features

  • Allow builds with ninja.
  • Allow K=0 FENE bonds.
  • Allow number of particles types to change after initialization. system.particles.types.add('newType')
  • Allow number of particles to change after initialization.
system.particles.add('A')
del system.particles[0]
  • OPLS dihedral
  • Add phase keyword to analyzers and dumps to make restartable jobs easier.
  • HOOMD_WALLTIME_STOP environment variable to stop simulation runs before they hit a wall clock limit.
  • init.read_xml() Now accepts an initialization and restart file.
  • dump.xml() can now write restart files.
  • Added documentation concepts page on writing restartable jobs.
  • New citation management infrastructure. cite.save() writes .bib files with a list of references to features actively used in the current job script.
  • Snapshots expose data as numpy arrays for high performance access to particle properties.
  • data.make_snapshot() makes a new empty snapshot.
  • analyze.callback() allows multiple python callbacks to operate at different periods.
  • comm.barrier() and comm.barrier_all() allow users to insert barriers into their scripts.
  • Mie pair potential.
  • meta.dump_metadata() writes job metadata information out to a json file.
  • context.initialize() initializes the execution context.
  • Restart option for dump.xml()

Bug fixes

  • Fix slow performance when initializing pair.slj()in MPI runs.
  • Properly update particle image when setting position from python.
  • PYTHON_SITEDIR hoomd shell launcher now calls the python interpreter used at build time.
  • Fix compile error on older gcc versions.
  • Fix a bug where rigid bodies had 0 velocity when restarting jobs.
  • Enable -march=native builds in OS X clang builds.
  • Fix group.rigid() and group.nonrigid().
  • Fix image access from the python data access proxies.
  • Gracefully exit when launching MPI jobs with mixed execution configurations.

Changes that may require updated job scripts

  • context.initialize() must be called before any comm method that queries the MPI rank. Call it as early as possible in your job script (right after importing hoomd_script) to avoid problems.

Deprecated

  • init.create_empty() is deprecated and will be removed in a future version. Use data.make_snapshot() and init.read_snapshot() instead.
  • Job scripts that do not call context.initialize() will result in a warning message. A future version of HOOMD will require that you call context.initialize().

Removed

  • Several option commands for controlling the execution configuration. Replaced with context.initialize.

v1.0.5

Released 2015/05/19

Bug fixes

  • Fix segfault when changing integrators
  • Fix system.box to indicate the correct number of dimensions
  • Fix syntax error in comm.get_rank with --nrank
  • Enable CUDA enabled builds with the intel compiler
  • Use CMake builtin FindCUDA on recent versions of CMake
  • GCC_ARCH env var sets the -march command line option to gcc at configure time
  • Auto-assign GPU-ids on non-compute exclusive systems even with --mode=gpu
  • Support python 3.5 alpha
  • Fix a bug where particle types were doubled with boost 1.58.0
  • Fix a bug where angle_z=true dcd output was inaccurate near 0 angles
  • Properly handle lj.wall potentials with epsilon=0.0 and particles on top of the walls

v1.0.4

Released 2015/04/07

Bug fixes

  • Fix invalid virials computed in rigid body simulations when multi-particle bodies crossed box boundaries
  • Fix invalid forces/torques for rigid body simulations caused by race conditions
  • Fix compile errors on Mac OS X 10.10
  • Fix invalid pair force computations caused by race conditions
  • Fix invalid neighbour list computations caused by race conditions on Fermi generation GPUs

Other

  • Extremely long running unit tests are now off by default. Enable with -DHOOMD_SKIP_LONG_TESTS=OFF
  • Add additional tests to detect race conditions and memory errors in kernels

v1.0.3

Released 2015/03/18

Bug fixes

  • Enable builds with intel MPI
  • Silence warnings coming from boost and python headers

v1.0.2

Released 2015/01/21

Bug fixes

  • Fixed a bug where linear_interp would not take a floating point value for zero
  • Provide more useful error messages when cuda drivers are not present
  • Assume device count is 0 when cudaGetDeviceCount() returns an error
  • Link to python statically when ENABLE_STATIC=on
  • Misc documentation updates

v1.0.1

Released 2014/09/09

Bug fixes

  1. Fixed bug where error messages were truncated and HOOMD exited with a segmentation fault instead (e.g. on Blue Waters)
  2. Fixed bug where plug-ins did not load on Blue Waters
  3. Fixed compile error with gcc4.4 and cuda5.0
  4. Fixed syntax error in read_snapshot()
  5. Fixed a bug where init.read_xml throwing an error (or any other command outside of run()) would hang in MPI runs
  6. Search the install path for hoomd_script - enable the hoomd executable to be outside of the install tree (useful with cray aprun)
  7. Fixed CMake 3.0 warnings
  8. Removed dependancy on tr1/random
  9. Fixed a bug where analyze.msd ignored images in the r0_file
  10. Fixed typos in pair.gauss documentation
  11. Fixed compile errors on Ubuntu 12.10
  12. Fix failure of integrate.nvt to reach target temperature in analyze.log. The fix is a new symplectic MTK integrate.nvt integrator. Simulation results in hoomd v1.0.0 are correct, just the temperature and velocity outputs are off slightly.
  13. Remove MPI from Mac OS X dmg build.
  14. Enable import hoomd_script as ...

Other changes

  1. Added default compile flag -march=native
  2. Support CUDA 6.5
  3. Binary builds for CentOS/RHEL 6, Fedora 20, Ubuntu 14.04 LTS, and Ubuntu 12.04 LTS.

Version 1.0.0

Released 2014/05/25

New features

  • Support for python 3
  • New NPT integrator capable of flexible coupling schemes
  • Triclinic unit cell support
  • MPI domain decomposition
  • Snapshot save/restore
  • Autotune block sizes at run time
  • Improve performance in small simulation boxes
  • Improve performance with smaller numbers of particles per GPU
  • Full double precision computations on the GPU (compile time option must be enabled, binary builds provided on the download page are single precision)
  • Tabulated bond potential bond.table
  • Tabulated angle potential angle.table
  • Tabulated dihedral potental dihedral.table
  • update.box_resize now accepts period=None to trigger an immediate update of the box without creating a periodic updater
  • update.box_resize now replaces None arguments with the current box parameters
  • init.create_random and init.create_random_polymers can now create random configurations in triclinc and 2D boxes
  • init.create_empty can now create triclinic boxes
  • particle, bond, angle, dihedral, and impropers types can now be named in init.create_empty
  • system.replicate command replicates the simulation box

Bug fixes

  • Fixed a bug where init.create_random_polymers failed when lx,ly,lz were not equal.
  • Fixed a bug in init.create_random_polymers and init.create_random where the separation radius was not accounted for correctly
  • Fixed a bug in bond.* where random crashes would occur when more than one bond type was defined
  • Fixed a bug where dump.dcd did not write the period to the file

Changes that may require updated job scripts

  • integrate.nph: A time scale tau_p for the relaxation of the barostat is now required instead of the barostat mass W of the previous release. The time scale is the relaxation time the barostat would have at an average temperature T_0 = 1, and it is related to the internally used (Andersen) Barostat mass W via W = d N T_0 tau_p^2, where d is the dimensionsality and N the number of particles.
  • sorter and nlist are now modules, not variables in the __main__ namespace.
  • Data proxies function correctly in MPI simulations, but are extremely slow. If you use init.create_empty, consider separating the generation step out to a single rank short execution that writes an XML file for the main run.
  • update.box_resize(Lx=...) no longer makes cubic box updates, instead it will keep the current Ly and Lz. Use the L=... shorthand for cubic box updates.
  • All init.* commands now take data.boxdim objects, instead of hoomd.boxdim (or 3-tuples). We strongly encourage the use of explicit argument names for data.boxdim(). In particular, if hoomd.boxdim(123) was previously used to create a cubic box, it is now required to use data.boxdim(L=123) (CORRECT) instead of data.boxdim(123) (INCORRECT), otherwise a box with unit dimensions along the y and z axes will be created.
  • system.dimensions can no longer be set after initialization. System dimensions are now set during initialization via the data.boxdim interface. The dimensionality of the system can now be queried through system.box.
  • system.box no longer accepts 3-tuples. It takes data.boxdim objects.
  • system.dimensions no longer exists. Query the dimensionality of the system from system.box. Set the dimensionality of the system by passing an appropriate data.boxdim to an init method.
  • init.create_empty no longer accepts n_*_types. Instead, it now takes a list of strings to name the types.

Deprecated

  • Support for G80, G200 GPUs.
  • dump.bin and read.bin. These will be removed in v1.1 and replaced with a new binary format.

Removed

  • OpenMP mult-core execution (replaced with MPI domain decomposition)
  • tune.find_optimal_block_size (replaced by Autotuner)

Version 0.11.3

Released 2013/05/10

Bug fixes

  • Fixed a bug where charge.pppm could not be used after init.reset()
  • Data proxies can now set body angular momentum before the first run()
  • Fixed a bug where PPPM forces were incorrect on the GPU

Version 0.11.2

Released 2012/12/19

New features

  • Block sizes tuned for K20

Bug fixes

  • Warn user that PPPM ignores rigid body exclusions
  • Document that proxy iterators need to be deleted before init.reset()
  • Fixed a bug where body angular momentum could not be set
  • Fixed a bug where analyze.log would report nan for the pressure tensor in nve and nvt simulations

Version 0.11.1

Released 2012/11/2

New features

  • Support for CUDA 5.0
  • Binary builds for Fedora 16 and OpenSUSE 12.1
  • Automatically specify /usr/bin/gcc to nvcc when the configured gcc is not supported

Bug fixes

  • Fixed a compile error with gcc 4.7
  • Fixed a bug where PPPM forces were incorrect with neighborlist exclusions
  • Fixed an issue where boost 1.50 and newer were not detected properly when BOOST_ROOT is set
  • Fixed a bug where accessing force data in python prevented init.reset() from working
  • Fixed a bug that prevented pair.external from logging energy
  • Fixed a unit test that failed randomly

Version 0.11.0

2012-07-27

New features

  1. Support for Kepler GPUs (GTX 680)
  2. NPH integration (integrate.nph)
  3. Compute full pressure tensor
  4. Example plugin for new bond potentials
  5. New syntax for bond coefficients: bond.bond_coeff.set('type', params)
  6. New external potential: external.periodic applies a periodic potential along one direction (uses include inducing lamellar phases in copolymer systems)
  7. Significant performance increases when running analyze.log, analyze.msd, update.box_resize, update.rescale_temp, or update.zero_momentum with a small period
  8. Command line options may now be overwritten by scripts, ex: options.set_gpu(2)
  9. Added --user command line option to allow user defined options to be passed into job scripts, ex: --user="-N=5 -phi=0.56"
  10. Added table.set_from_file method to enable reading table based pair potentials from a file
  11. Added --notice-level command line option to control how much extra information is printed during a run. Set to 0 to disable, or any value up to 10. At 10, verbose debugging information is printed.
  12. Added --msg-file command line option which redirects the message output to a file
  13. New pair potential pair.force_shifted_lj : Implements http://dx.doi.org/10.1063/1.3558787

Bug fixes

  1. Fixed a bug where FENE bonds were sometimes computed incorrectly
  2. Fixed a bug where pressure was computed incorrectly when using pair.dpd or pair.dpdlj
  3. Fixed a bug where using OpenMP and CUDA at the same time caused invalid memory accesses
  4. Fixed a bug where RPM packages did not work on systems where the CUDA toolkit was not installed
  5. Fixed a bug where rigid body velocities were not set from python
  6. Disabled OpenMP builds on Mac OS X. HOOMD-blue w/ openmp enabled crashes due to bugs in Apple's OpenMP implementation.
  7. Fixed a bug that allowed users to provide invalid rigid body data and cause a seg fault.
  8. Fixed a bug where using PPPM resulted in error messages on program exit.

API changes

  1. Bond potentials rewritten with template evaluators
  2. External potentials use template evaluators
  3. Complete rewrite of ParticleData - may break existing plugins
  4. Bond/Angle/Dihedral data structures rewritten
    • The GPU specific data structures are now generated on the GPU
  5. DPDThermo and DPDLJThermo are now processed by the same template class
  6. Headers that cannot be included by nvcc now throw an error when they are
  7. CUDA 4.0 is the new minimum requirement
  8. Rewrote BoxDim to internally handle minimum image conventions
  9. HOOMD now only compiles ptx code for the newest architecture, this halves the executable file size
  10. New Messenger class for global control of messages printed to the screen / directed to a file.

Testing changes

  1. Automated test suite now performs tests on OpenMPI + CUDA builds
  2. Valgrind tests added back into automated test suite
  3. Added CPU test in bd_ridid_updater_tests
  4. ctest -S scripts can now set parallel makes (with cmake > 2.8.2)

Version 0.10.1

2012-02-10

  1. Add missing entries to credits page
  2. Add dist_check option to neighbor list. Can be used to force neighbor list builds at a specified frequency (useful in profiling runs with nvvp).
  3. Fix typos in ubuntu compile documentation
  4. Add missing header files to hoomd.h
  5. Add torque to the python particle data access API
  6. Support boost::filesystem API v3
  7. Expose name of executing gpu, n_cpu, hoomd version, git sha1, cuda version, and compiler version to python
  8. Fix a bug where multiple nvt_rigid or npt_rigid integrators didn't work correctly
  9. Fix missing pages in developer documentation

Version 0.10.0

2011-12-14

New features

  1. Added pair.dpdlj which uses the DPD thermostat and the Lennard-Jones potential. In previous versions, this could be accomplished by using two pair commands but at the cost of reduced performance.
  2. Additional example scripts are now present in the documentation. The example scripts are cross-linked to the commands that are used in them.
  3. Most dump commands now accept the form: dump.ext(filename="filename.ext") which immediately writes out filename.ext.
  4. Added vis parameter to dump.xml which enables output options commonly used in files written for the purposes of visulization. dump.xml also now accepts parameters on the instantiation line. Combined with the previous feature, dump.xml(filename="file.xml", vis=True) is now a convenient short hand for what was previously

xml = dump.xml()
xml.set_params(position = True, mass = True, diameter = True, \
                         type = True, bond = True, angle = True, \
                         dihedral = True, improper = True, charge = True)
xml.write(filename="file.xml")
  1. Specify rigid bodies in XML input files
  2. Simulations that contain rigid body constraints applied to groups of particles in BDNVT, NVE, NVT, and NPT ensembles.
    • integrate.bdnvt_rigid
    • integrate.nve_rigid
    • integrate.nvt_rigid
    • integrate.npt_rigid
  3. Energy minimization of rigid bodies (integrate.mode_minimize_rigid_fire)
  4. Existing commands are now rigid-body aware
    • update.rescale_temp
    • update.box_resize
    • update.enforce2d
    • update.zero_momentum
  5. NVT integration using the Berendsen thermostat (integrate.berendsen)
  6. Bonds, angles, dihedrals, and impropers can now be created and deleted with the python data access API.
  7. Attribution clauses added to the "HOOMD-blue license":http://codeblue.umich.edu/hoomd-blue/doc/page_license.html

Changes that may break existing job scripts

  1. The wrap option to dump.dcd has been changed to unwrap_full and its meaning inverted. dump.dcd now offers two options for unwrapping particles, unwrap_full fully unwraps particles into their box image and unwrap_rigid unwraps particles in rigid bodies so that bodies are not broken up across a box boundary.

Bug/fixes small enhancements

  1. Fixed a bug where launching hoomd on mac os X 10.5 always resulted in a bus error.
  2. Fixed a bug where DCD output restricted to a group saved incorrect data.
  3. force.constant may now be applied to a group of particles, not just all particles
  4. Added C++ plugin example that demonstrates how to add a pair potential in a plugin
  5. Fixed a bug where box.resize would always transfer particle data even in a flat portion of the variant
  6. OpenMP builds re-enabled on Mac OS X
  7. Initial state of integrate.nvt and integrate.npt changed to decrease oscillations at startup.
  8. Fixed a bug where the polymer generator would fail to initialize very long polymers
  9. Fixed a bug where images were passed to python as unsigned ints.
  10. Fixed a bug where dump.pdb wrote coordinates in the wrong order.
  11. Fixed a rare problem where a file written by dump.xml would not be read by init.read_xml due to round-off errors.
  12. Increased the number of significant digits written out to dump.xml to make them more useful for ad-hoc restart files.
  13. Potential energy and pressure computations that slow performance are now only performed on those steps where the values are actually needed.
  14. Fixed a typo in the example C++ plugin
  15. Mac build instructions updated to work with the latest version of macports
  16. Fixed a bug where set_period on any dump was ineffective.
  17. print_status_line now handles multiple lines
  18. Fixed a bug where using bdnvt tally with per type gammas resulted in a race condition.
  19. Fix an issue where ENABLE_CUDA=off builds gave nonsense errors when --mode=gpu was requested.
  20. Fixed a bug where dumpl.xml could produce files that init.xml would not read
  21. Fixed a typo in the example plugin
  22. Fix example that uses hoomd as a library so that it compiles.
  23. Update maintainer lines
  24. Added message to nlist exclusions that notifies if diameter or body exclusions are set.
  25. HOOMD-blue is now hosted in a git repository
  26. Added bibtex bibliography to the user documentation
  27. Converted user documentation examples to use doxygen auto cross-referencing \example commands
  28. Fix a bug where particle data is not released in dump.binary
  29. ENABLE_OPENMP can now be set in the ctest builds
  30. Tuned block sizes for CUDA 4.0
  31. Removed unsupported GPUS from CUDA_ARCH_LIST

Version 0.9.2

2011-04-04

Note: only major changes are listed here.

New features

  1. New exclusion option: Particles can now be excluded from the neighbor list based on diameter consistent with pair.slj.
  2. New pair coeff syntax: Coefficients for multiple type pairs can be specified conveniently on a single line.

coeff.set(['A', 'B', 'C', 'D'], ['A', 'B', 'C', 'D'], epsilon=1.0)
  1. New documentation: HOOMD-blue's system of units is now fully documented, and every coefficient in the documentation is labeled with the appropriate unit.
  2. Performance improvements: Performance has been significantly boosted for simulations of medium sized systems (5,000-20,000 particles). Smaller performance boosts were made to larger runs.
  3. CUDA 3.2 support: HOOMD-blue is now fully tested and performance tuned for use with CUDA 3.2.
  4. CUDA 4.0 support: HOOMD-blue compiles with CUDA 4.0 and passes initial tests.
  5. New command: tune.r_buff performs detailed auto-tuning of the r_buff neighborlist parameter.
  6. New installation method: RPM, DEB, and app bundle packages are now built for easier installation
  7. New command: charge.pppm computes the full long range electrostatic interaction using the PPPM method

Bug/fixes small enhancements

  1. Fixed a bug where the python library was linked statically.
  2. Added the PYTHON_SITEDIR setting to allow hoomd builds to install into the native python site directory.
  3. FIRE energy minimization convergence criteria changed to require both energy and force to converge
  4. Clarified that groups are static in the documentation
  5. Updated doc comments for compatibility with Doxygen#7.3
  6. system.particles.types now lists the particle types in the simulation
  7. Creating a group of a non-existant type is no longer an error
  8. Mention XML file format for walls in wall.lj documentation
  9. Analyzers now profile themselves
  10. Use "\n" for newlines in dump.xml - improves performance when writing many XML files on a NFS file system
  11. Fixed a bug where the neighbor list build could take an exceptionally long time (several seconds) to complete the first build.
  12. Fixed a bug where certain logged quantities always reported as 0 on the first step of the simulation.
  13. system.box can now be used to read and set the simulation box size from python
  14. Numerous internal API updates
  15. Fixed a bug the resulted in incorrect behavior when using integrate.npt on the GPU.
  16. Removed hoomd launcher shell script. In non-sitedir installs, ${HOOMD_ROOT}/bin/hoomd is now the executable itself
  17. Creating unions of groups of non-existent types no longer produces a seg fault
  18. hoomd now builds on all cuda architectures. Modify CUDA_ARCH_LIST in cmake to add or remove architectures from the build
  19. hoomd now builds with boost#46.0
  20. Updated hoomd icons to maize/blue color scheme
  21. hoomd xml file format bumped to#3, adds support for charge.
  22. FENE and harmonic bonds now handle 0 interaction parameters and 0 length bonds more gracefully
  23. The packaged plugin template now actually builds and installs into a recent build of hoomd

Version 0.9.1

2010-10-08

Note: only major changes are listed here.

New features

  1. New constraint: constrain.sphere constrains a group of particles to the surface of a sphere
  2. New pair potential/thermostat: pair.dpd implements the standard DPD conservative, random, and dissipative forces
  3. New pair potential: pair.dpd_conservative applies just the conservative DPD potential
  4. New pair potential: pair.eam implements the Embedded Atom Method (EAM) and supports both alloy and FS type computations.
  5. Faster performance: Cell list and neighbor list code has been rewritten for performance.
    • In our benchmarks, performance increases ranged from 10-50% over HOOMD-blue 0.9.0. Simulations with shorter cutoffs tend to attain a higher performance boost than those with longer cutoffs.
    • We recommended that you re-tune r_buff values for optimal performance with 0.9.1.
    • Due to the nature of the changes, identical runs may produce different trajectories.
  6. Removed limitation: The limit on the number of neighbor list exclusions per particle has been removed. Any number of exclusions can now be added per particle. Expect reduced performance when adding excessive numbers of exclusions.

Bug/fixes small enhancements

  1. Pressure computation is now correct when constraints are applied.
  2. Removed missing files from hoomd.h
  3. pair.yukawa is no longer referred to by "gaussian" in the documentation
  4. Fermi GPUs are now prioritized over per-Fermi GPUs in systems where both are present
  5. HOOMD now compiles against CUDA 3.1
  6. Momentum conservation significantly improved on compute#x hardware
  7. hoomd plugins can now be installed into user specified directories
  8. Setting r_buff=0 no longer triggers exclusion list updates on every step
  9. CUDA 2.2 and older are no longer supported
  10. Workaround for compiler bug in 3.1 that produces extremely high register usage
  11. Disabled OpenMP compile checks on Mac OS X
  12. Support for compute 2.1 devices (such as the GTX 460)

Version 0.9.0

2010-05-18

Note: only major changes are listed here.

New features

  1. New pair potential: Shifted LJ potential for particles of varying diameters (pair.slj)
  2. New pair potential: Tabulated pair potential (pair.table)
  3. New pair potential: Yukawa potential (pair.yukawa)
  4. Update to pair potentials: Most pair potentials can now accept different values of r_cut for different type pairs. The r_cut specified in the initial pair.*** command is now treated as the default r_cut, so no changes to scripts are necessary.
  5. Update to pair potentials: Default pair coeff values are now supported. The parameter alpha for lj now defaults to#0, so there is no longer a need to specify it for a majority of simulations.
  6. Update to pair potentials: The maximum r_cut needed for the neighbor list is now determined at the start of each run(). In simulations where r_cut may decrease over time, increased performance will result.
  7. Update to pair potentials: Pair potentials are now specified via template evaluator classes. Adding a new pair potential to hoomd now only requires a small amount of additional code.
  8. Plugin API : Advanced users/developers can now write, install, and use plugins for hoomd without needing to modify core hoomd source code
  9. Particle data access: User-level hoomd scripts can now directly access the particle data. For example, one can change all particles in the top half of the box to be type B:

top = group.cuboid(name="top", zmin=0)
for p in top:
    p.type = 'B'
. *All* particle data including position, velocity, type, ''et cetera'', can be read and written in this manner. Computed forces and energies can also be accessed in a similar way.
  1. New script command: init.create_empty() can be used in conjunction with the particle data access above to completely initialize a system within the hoomd script.
  2. New script command: dump.bin() writes full binary restart files with the entire system state, including the internal state of integrators.
    • File output can be gzip compressed (if zlib is available) to save space
    • Output can alternate between two different output files for safe crash recovery
  3. New script command: init.read_bin() reads restart files written by dump.bin()
  4. New option: run() now accepts a quiet option. When True, it eliminates the status information printouts that go to stdout.
  5. New example script: Example 6 demonstrates the use of the particle data access routines to initialize a system. It also demonstrates how to initialize velocities from a gaussian distribution
  6. New example script: Example 7 plots the pair.lj potential energy and force as evaluated by hoomd. It can trivially be modified to plot any potential in hoomd.
  7. New feature: Two dimensional simulations can now be run in hoomd: #259
  8. New pair potential: Morse potential for particles of varying diameters (pair.morse)
  9. New command: run_upto will run a simulation up to a given time step number (handy for breaking long simulations up into many independent jobs)
  10. New feature: HOOMD on the CPU is now accelerated with OpenMP.
  11. New feature: integrate.mode_minimize_fire performs energy minimization using the FIRE algorithm
  12. New feature: analyze.msd can now accept an xml file specifying the initial particle positions (for restarting jobs)
  13. Improved feature: analyze.imd now supports all IMD commands that VMD sends (pause, kill, change trate, etc.)
  14. New feature: Pair potentials can now be given names, allowing multiple potentials of the same type to be logged separately. Additionally, potentials that are disabled and not applied to the system dynamics can be optionally logged.
  15. Performance improvements: Simulation performance has been increased across the board, but especially when running systems with very low particle number densities.
  16. New hardware support: 0.9.0 and newer support Fermi GPUs
  17. Deprecated hardware support: 0.9.x might continue run on compute#1 GPUs but that hardware is no longer officially supported
  18. New script command: group.tag_list() takes a python list of particle tags and creates a group
  19. New script command: compute.thermo() computes thermodynamic properties of a group of particles for logging
  20. New feature: dump.dcd can now optionally write out only those particles that belong to a specified group

Changes that will break jobs scripts written for 0.8.x

  1. Integration routines have changed significantly to enable new use cases. Where scripts previously had commands like:

integrate.nve(dt=0.005)
they now need

all = group.all()
integrate.mode_standard(dt=0.005)
integrate.nve(group=all)
. Integrating only specific groups of particles enables simulations to fix certain particles in place or integrate different parts of the system at different temperatures, among many other possibilities.
  1. sorter.set_params no longer takes the ''bin_width'' argument. It is replaced by a new ''grid'' argument, see the documentation for details.
  2. conserved_quantity is no longer a quantity available for logging. Instead log the nvt reservoir energy and compute the total conserved quantity in post processing.

Bug/fixes small enhancements

  1. Fixed a bug where boost#38 is not found on some machines
  2. dump.xml now has an option to write particle accelerations
  3. Fixed a bug where periods like 1e6 were not accepted by updaters
  4. Fixed a bug where bond.fene forces were calculated incorrectly between particles of differing diameters
  5. Fixed a bug where bond.fene energies were computed incorrectly when running on the GPU
  6. Fixed a bug where comments in hoomd xml files were not ignored as they aught to be: #331
  7. It is now possible to prevent bond exclusions from ever being added to the neighbor list: #338
  8. init.create_random_polymers can now generate extremely dense systems and will warn the user about large memory usage
  9. variant.linear_interp now accepts a user-defined zero (handy for breaking long simulations up into many independent jobs)
  10. Improved installation and compilation documentation
  11. Integration methods now silently ignore when they are given an empty group
  12. Fixed a bug where disabling all forces resulted in some forces still being applied
  13. Integrators now behave in a reasonable way when given empty groups
  14. Analyzers now accept a floating point period
  15. run() now aborts immediately if limit_hours=0 is specified.
  16. Pair potentials that diverge at r=0 will no longer result in invalid simulations when the leading coefficients are set to zero.
  17. integrate.bdnvt can now tally the energy transferred into/out of the "reservoir", allowing energy conservation to be monitored during bd simulation runs.
  18. Most potentials now prevent NaN results when computed for overlapping particles
  19. Stopping a simulation from a callback or time limit no longer produces invalid simulations when continued
  20. run() commands limited with limit_hours can now be set to only stop on given timestep multiples
  21. Worked around a compiler bug where pair.morse would crash on Fermi GPUs
  22. ULF stability improvements for G200 GPUs.

Version 0.8.2

2009-09-10

Note: only major changes are listed here.

New features

  1. Quantities that vary over time can now be specified easily in scripts with the variant.linear_interp command.
  2. Box resizing updater (update.box_resize) command that uses the time varying quantity command to grow or shrink the simulation box.
  3. Individual run() commands can be limited by wall-clock time
  4. Angle forces can now be specified
  5. Dihedral forces can now be specified
  6. Improper forces can now be specified
  7. 1-3 and 1-4 exclusions from the cutoff pair force can now be chosen
  8. New command line option: --minimize-cpu-usage cuts the CPU usage of HOOMD down to 10% of one CPU core while only decreasing overall performance by 10%
  9. Major changes have been made in the way HOOMD chooses the device on which to run (all require CUDA 2.2 or newer)
    • there are now checks that an appropriate NVIDIA drivers is installed
    • running without any command line options will now correctly revert to running on the CPU if no capable GPUs are installed
    • when no gpu is explicitly specified, the default choice is now prioritized to choose the fastest GPU and one that is not attached to a display first
    • new command line option: --ignore-display-gpu will prevent HOOMD from executing on any GPU attached to a display
    • HOOMD now prints out a short description of the GPU(s) it is running on
    • on linux, devices can be set to compute-exclusive mode and HOOMD will then automatically choose the first free GPU (see the documentation for details)
  10. nlist.reset_exclusions command to control the particles that are excluded from the neighbor list

Bug/fixes small enhancements

  1. Default block size change to improve stability on compute#3 devices
  2. ULF workaround on GTX 280 now works with CUDA 2.2
  3. Standalone benchmark executables have been removed and replaced by in script benchmarking commands
  4. Block size tuning runs can now be performed automatically using the python API and results can be saved on the local machine
  5. Fixed a bug where GTX 280 bug workarounds were not properly applied in CUDA 2.2
  6. The time step read in from the XML file can now be optionally overwritten with a user-chosen one
  7. Added support for CUDA 2.2
  8. Fixed a bug where the WCA forces included in bond.fene had an improper cutoff
  9. Added support for a python callback to be executed periodically during a run()
  10. Removed demos from the hoomd downloads. These will be offered separately on the webpage now to keep the required download size small.
  11. documentation improvements
  12. Significantly increased performance of dual-GPU runs when build with CUDA 2.2 or newer
  13. Numerous stability and performance improvements
  14. Temperatures are now calculated based on 3N-3 degrees of freedom. See #283 for a more flexible system that is coming in the future.
  15. Emulation mode builds now work on systems without an NVIDIA card (CUDA 2.2 or newer)
  16. HOOMD now compiles with CUDA 2.3
  17. Fixed a bug where uninitialized memory was written to dcd files
  18. Fixed a bug that prevented the neighbor list on the CPU from working properly with non-cubic boxes
  19. There is now a compile time hack to allow for more than 4 exclusions per particle
  20. Documentation added to aid users in migrating from LAMMPS
  21. hoomd_script now has an internal version number useful for third party scripts interfacing with it
  22. VMD#8.7 is now found by the live demo scripts
  23. live demos now run in vista 64-bit
  24. init.create_random_polymers can now create polymers with more than one type of bond

Version 0.8.1

2009-03-24

Note: only major changes are listed here.

New features

  1. Significant performance enhancements
  2. New build option for compiling on UMich CAC clusters: ENABLE_CAC_GPU_ID compiles HOOMD to read in the $CAC_GPU_ID environment variable and use it to determine which GPUs to execute on. No --gpu command line required in job scripts any more.
  3. Particles can now be assigned a non-unit mass
  4. init.reset() command added to allow for the creation of a looped series of simulations all in python
  5. dump.pdb() command for writing PDB files
  6. pair.lj now comes with an option to shift the potential energy to 0 at the cutoff
  7. pair.lj now comes with an opiton to smoothly switch both the potential and force to 0 at the cutoff with the XPLOR smoothing function
  8. Gaussian pair potential computation added (pair.gauss)
  9. update and analyze commands can now be given a function to determine a non-linear rate to run at
  10. analyze.log, and dump.dcd can now append to existing files

Changes that will break scripts from 0.8.0

  1. dump.mol2() has been changed to be more consistent with other dump commands. In order to get the same result as the previous behavior, replace

 dump.mol2(filename="file.mol2")

with


 mol2 = dump.mol2()
 mol2.write(filename="file.mol2")
  1. Grouping commands have been moved to their own package for organizational purposes. group_all() must now be called as group.all() and similarly for tags and type.

Bug/fixes small enhancements

  1. Documentation updates
  2. DCD file writing no longer crashes HOOMD in windows
  3. !FindBoost.cmake is patched upstream. Use CMake 2.6.3 if you need BOOST_ROOT to work correctly
  4. Validation tests now run with --gpu_error_checking
  5. ULF bug workarounds are now enabled only on hardware where they are needed. This boosts performance on C1060 and newer GPUs.
  6. !FindPythonLibs now always finds the shared python libraries, if they exist
  7. "make package" now works fine on mac os x
  8. Fixed erroneously reported dangerous neighbor list builds when using --mode=cpu
  9. Small tweaks to the XML file format.
  10. Numerous performance enhancements
  11. Workaround for ULF on compute#1 devices in place
  12. dump.xml can now be given the option "all=true" to write all fields
  13. total momentum can now be logged by analyze.log
  14. HOOMD now compiles with boost#38 (and hopefully future versions)
  15. Updaters can now be given floating point periods such as 1e5
  16. Additional warnings are now printed when HOOMD is about to allocate a large amount of memory due to the specification of an extremely large box size
  17. run() now shows up in the documentation index
  18. Default sorter period is now 100 on CPUs to improve performance on chips with small caches

Version 0.8.0

2008-12-22

Note: only major changes are listed here.

New features

  1. Addition of FENE bond potential
  2. Addition of update.zero_momentum command to zero a system's linear momentum
  3. Brownian dynamics integration implemented
  4. Multi-GPU simulations
  5. Particle image flags are now tracked. analyze.msd command added to calculate the mean squared displacement.

Changes that will break scripts from 0.7.x

  1. analyze.log quantity names have changed

Bug/fixes small enhancements

  1. Performance of the neighbor list has been increased significantly on the GPU (overall performance improvements are approximately 10%)
  2. Profile option added to the run() command
  3. Warnings are now correctly printed when negative coefficients are given to bond forces
  4. Simulations no longer fail on G200 cards
  5. Mac OS X binaries will be provided for download: new documentation for installing on Mac OS x has been written
  6. Two new demos showcasing large systems
  7. Particles leaving the simulation box due to bad initial conditions now generate an error
  8. win64 installers will no longer attempt to install on win32 and vice-versa
  9. neighborlist check_period now defaults to 1
  10. The elapsed time counter in run() now continues counting time over multiple runs.
  11. init.create_random_polymers now throws an error if the bond length is too small given the specified separation radii
  12. Fixed a bug where a floating point value for the count field in init.create_random_polymers produced an error
  13. Additional error checking to test if particles go NaN
  14. Much improved status line printing for identifying hoomd_script commands
  15. Numerous documentation updates
  16. The VS redistributable package no longer needs to be installed to run HOOMD on windows (these files are distributed with HOOMD)
  17. Now using new features in doxygen#5.7 to build pdf user documentation for download.
  18. Performance enhancements of the Lennard-Jones pair force computation, thanks to David Tarjan
  19. A header prefix can be added to log files to make them more gnuplot friendly
  20. Log quantities completely revamped. Common quantities (i.e. kinetic energy, potential energy can now be logged in any simulation)
  21. Particle groups can now be created. Currently only analyze.msd makes use of them.
  22. The CUDA toolkit no longer needs to be installed to run a packaged HOOMD binary in windows.
  23. User documentation can now be downloaded as a pdf.
  24. Analyzers and updaters now count time 0 as being the time they were created, instead of time step 0.
  25. Added job test scripts to aid in validating HOOMD
  26. HOOMD will now build with default settings on a linux/unix-like OS where the boost static libraries are not installed, but the dynamic ones are.

Version 0.7.1

2008-09-12

  1. Fixed bug where extremely large box dimensions resulted in an argument error - ticket:118
  2. Fixed bug where simulations ran incorrectly with extremely small box dimensions - ticket:138

Version 0.7.0

2008-08-12

Note: only major changes are listed here.

  1. Stability and performance improvements.
  2. Cleaned up the hoomd_xml file format.
  3. Improved detection of errors in hoomd_xml files significantly.
  4. Users no longer need to manually specify HOOMD_ROOT, unless their installation is non-standard
  5. Particle charge can now be read in from a hoomd_xml file
  6. Consistency changes in the hoomd_xml file format: HOOMD 0.6.0 XML files are not compatible. No more compatibility breaking changes are planned after 0.7.0
  7. Enabled parallel builds in MSVC for faster compilation times on multicore systems
  8. Numerous small bug fixes
  9. New force compute for implementing walls
  10. Documentation updates
  11. Support for CUDA 2.0
  12. Bug fixed allowing simulations with no integrator
  13. Support for boost#35.0
  14. Cleaned up GPU code interface
  15. NVT integrator now uses tau (period) instead of Q (the mass of the extra degree of freedom).
  16. Added option to NVE integration to limit the distance a particle moves in a single time step
  17. Added code to dump system snapshots in the DCD file format
  18. Particle types can be named by strings
  19. A snapshot of the initial configuration can now be written in the .mol2 file format
  20. The default build settings now enable most of the optional features
  21. Separated the user and developer documentation
  22. Mixed polymer systems can now be generated inside HOOMD
  23. Support for CMake 2.6.0
  24. Wrote the user documentation
  25. GPU selection from the command line
  26. Implementation of the job scripting system
  27. GPU can now handle neighbor lists that overflow
  28. Energies are now calculated
  29. Added a logger for logging energies during a simulation run
  30. Code now actually compiles on Mac OS X
  31. Benchmark and demo scripts now use the new scripting system
  32. Consistent error message format that is more visible.
  33. Multiple types of bonds each with the own coefficients are now supported
  34. Added python scripts to convert from HOOMD's XML file format to LAMMPS input and dump files
  35. Fixed a bug where empty xml nodes in input files resulted in an error message
  36. Fixed a bug where HOOMD seg faulted when a particle left the simulation , vis=True)* is now a convenient short hand for what was previously box now works fine on mac os x
  37. Fixed erroneously reported dangerous neighbor list builds when using --mode=cpu
  38. Small tweaks to the XML file format.
  39. Numerous performance enhancements
  40. Workaround for ULF on compute#1 devices in place
  41. dump.xml can now be given the option