Commit 56f1ae0
authored
Add PME for GIST (#889)
* Start adding a new class, GIST_PME, that will inherit from
Ewald_ParticleMesh and implement GIST-related PME stuff
* Add recip and self6 calcs
* Add long range correction for gist
* Add direct space sum routine.
* Bring HelPME up to PR #54
* Expose sumq and vdw_recip_term via functions
* Add some per-atom vdw stuff needed for PME_GIST
* Expose more of Ewald to inheriting classes
* Expose more of Ewald_ParticleMesh for inherting classes. Add
implementation of ErfcFxn
* Add direct space calcs
* Make switch function available to inheriting classes
* Fix exclusion array type
* GIST with LJPME not ready for primetime
* Add PmeOptions class.
* Add help keywords. Ensure all variables are initialized.
* Add functions to return private vars
* Add Init for Ewald_ParticleMesh with PmeOptions
* Start adding PME to GIST. Initialize some uninitialized vars
* Create non-inlined version of adjust for GIST_PME
* Make LJ PME keywords a separate function for things that do not support
it
* Start adding PME GIST data sets
* LJ PME not yet allowed for GIST
* Ensure energy calc is done for any occupied voxel (occupancy > 0 instead
of > 1).
* Update tip4p and tip5p tests for occupancy threshold change
* Finish PME init
* Add debug level. Do PME init and setup.
* Add solute/water id and solute index arrays
* Start adding actual PME calc. Need to save whether atom is solvent or
solute separate from atom_voxel since we now might care about whether
solute is on or off the grid.
* atom_voxel_ and atomIsSolute_ arrays will be accessed by atom #
* Add PME solute grid assignment
* Un-comment the pme calc function
* Do the order calc for CUDA as well - not sure why that was behind the ifdef
* Enable pme calc
* Add avg voxel energy calc for pme data
* Print out sums - they seem to be only for debug
* Start adding separate avg routine for non pme energy
* Use new averaging routine
* Add nopme keywords
* Add orthogonal pme test
* Fix default lj pme assignment
* Add non-orthogonal test
* Add info comparisons
* Move DEBYE_EA to Constants
* Add separate PME printout for testing
* Add headers for PME output
* Dipole calc should be done whether or not we skip energy
* Remove duplicated code
* Add code docs
* Print options when using pme
* Add regular ewald options.
* Rename ; will use for all Ewald
* Change to EwaldOptions
* Use EwaldOptions in PME
* Use Ewald_Regular
* Use EwaldOptions
* ewcoefflj keyword can turn on LJ pme
* Have GIST PME use EwaldOptions. Update depends
* Fix up help for energy. Pass LJ switch width for regular ewald
* Remove old code
* Fix printout of LJ options; now all in EwaldOptions
* Reenable some timers
* Move var closer to where it is set
* Start fixing openmp
* Add more internal arrays
* Internal arrays are per atom, not voxel...
* Add doc
* Ensure direct arrays are zeroed out.
* Ensure contributions from other threads are summed into 0 arrays
* atom_voxel was unused
* Add access to internal arrays
* Add function to return energy on a specified atom
* Use reworked GIST_PME. Make numthreads a class variable
* Comment out some unused stuff.
* Remove old code. Add Ewald timing to output
* The PME GIST grid arrays do not need to be threaded
* Hide some debug info. Fix citation in output
* Minor version bump for GIST nw_total > 0 fix and addition of PME
* doeij does not work with PME, trap it. Also make doeij with cuda an
error.
* Fix spacing
* Make function const
* Was accidentally doing the order calculation twice.
* Do not run the PME tests for cuda. Slightly increase the test tolerance
for GPU.
* Try to fix CUDA compile. Need a better way to determine arch flags...
* Add list of cuda flags.
* Try a better way to set up the shader model flags
* Add shader model cuda version check
* Remove old configure logic
* Consolidate direct space energy calc into one function. Add adjust
energy kernel. Use adjust energy kernel. Make PME GIST output file v3 because of additional PME columns
* Compare PME GIST output if present. Not uploading it because its too big
for GitHub
* Make GIST PME off the default for now until the output stabilizes.
* Fix help option
* Fix GIST and energy command entries
* Protect when no LIBPME
* Add tolerance to the info comparisons.
* Break up giant apt-get install command into separate ones to make it easier to debug
* These are better described as to-do
* Try to DL and build our own netcdf
* Try to make sure netcdf binaries are in the PATH. Try to fix cmake
variable names.
* Make var point to actual library
* Cmake build seems to have problems with the static netcdf compile. Try
using .so instead.1 parent 113407f commit 56f1ae0
File tree
35 files changed
+875496
-3600
lines changed- .github/workflows
- doc
- src
- test
- Test_GIST_Order
- Test_GIST
35 files changed
+875496
-3600
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
57 | 51 | | |
58 | 52 | | |
59 | 53 | | |
| |||
68 | 62 | | |
69 | 63 | | |
70 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
95 | | - | |
| 98 | + | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
101 | | - | |
| 105 | + | |
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
| |||
1204 | 1209 | | |
1205 | 1210 | | |
1206 | 1211 | | |
1207 | | - | |
1208 | | - | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
1209 | 1224 | | |
1210 | 1225 | | |
1211 | 1226 | | |
| |||
1688 | 1703 | | |
1689 | 1704 | | |
1690 | 1705 | | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
1691 | 1765 | | |
1692 | 1766 | | |
1693 | 1767 | | |
| |||
1696 | 1770 | | |
1697 | 1771 | | |
1698 | 1772 | | |
1699 | | - | |
| 1773 | + | |
1700 | 1774 | | |
1701 | 1775 | | |
1702 | 1776 | | |
| 1777 | + | |
| 1778 | + | |
1703 | 1779 | | |
1704 | | - | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
1705 | 1786 | | |
| 1787 | + | |
1706 | 1788 | | |
1707 | 1789 | | |
1708 | 1790 | | |
1709 | | - | |
1710 | | - | |
1711 | | - | |
1712 | | - | |
1713 | | - | |
1714 | | - | |
1715 | | - | |
1716 | | - | |
1717 | | - | |
1718 | | - | |
1719 | | - | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
1727 | | - | |
1728 | | - | |
1729 | | - | |
1730 | | - | |
1731 | | - | |
1732 | | - | |
1733 | | - | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
1734 | 1813 | | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
1735 | 1818 | | |
1736 | | - | |
1737 | 1819 | | |
1738 | 1820 | | |
1739 | 1821 | | |
| |||
0 commit comments