Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
978 commits
Select commit Hold shift + click to select a range
c7154be
Fix the openmp clang issue.
YounesN Dec 16, 2022
a9a6298
Adding sudo to the apt command.
YounesN Dec 16, 2022
9c755c7
Merge pull request #480 from GOMC-WSU/style
LSchwiebert Dec 22, 2022
465dc1c
Pull main branch patches into the development branch
LSchwiebert Dec 23, 2022
f88a827
Fix file format
LSchwiebert Dec 23, 2022
4c8fb3e
Merge pull request #482 from GOMC-WSU/update-patches
jpotoff Dec 27, 2022
ac1d424
Left justify output headings
LSchwiebert Jan 8, 2023
6a38e8d
Merge branch 'headings' of https://github.com/GOMC-WSU/GOMC into head…
LSchwiebert Jan 8, 2023
3e63a85
Merge pull request #484 from GOMC-WSU/headings
GregorySchwing Jan 8, 2023
29a0e02
Move code that should be outside an if block
LSchwiebert Jan 16, 2023
fad51a4
Merge pull request #485 from GOMC-WSU/energy
LSchwiebert Jan 20, 2023
43f4de7
Fix #486 Resolve OOB read in IsMoleculeInBox when not found
LSchwiebert Feb 4, 2023
0d5a188
Merge pull request #487 from GOMC-WSU/OOB-access
jpotoff Feb 8, 2023
26b481e
Change bad MP moves from error to warning
LSchwiebert Mar 29, 2023
791783d
Improve build process and minor build-related code updates
LSchwiebert Apr 26, 2023
bf4a10b
Correct EOL
LSchwiebert Apr 26, 2023
199a8eb
Fix a minor memory leak
LSchwiebert May 5, 2023
03a6064
Make sure the correct abs() function is used with floats
LSchwiebert May 5, 2023
6844205
Fix memory leak in PrintHardwareInfo()
LSchwiebert May 6, 2023
73023ec
Use standard library abs
LSchwiebert May 6, 2023
0a79f72
Include file for patch of the Difference function
LSchwiebert May 6, 2023
a19721e
Clean up of PRNG.h comments and some small function changes
LSchwiebert May 8, 2023
ccfb13a
Avoid gcc compiler strangeness by not using prng calls as parameters
LSchwiebert May 8, 2023
50cab00
Merge pull request #497 from GOMC-WSU/abs-stdlib
GregorySchwing May 9, 2023
db8be8d
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into r…
LSchwiebert May 9, 2023
48fa348
Update for recent code changes
LSchwiebert May 9, 2023
23e1de0
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert May 9, 2023
19f3e0b
Merge pull request #494 from GOMC-WSU/free-dirname
jpotoff May 9, 2023
6d6cd53
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into r…
LSchwiebert May 9, 2023
a711862
clang format changes
LSchwiebert May 9, 2023
d467f79
Update Mersenne Twister calls to resolve gcc compiler issue
LSchwiebert May 9, 2023
1a95468
Remove typo to fix clang compiler error
LSchwiebert May 9, 2023
9490665
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert May 9, 2023
c8656ac
Update for consistency
LSchwiebert May 13, 2023
e31e3a9
Add support for Clang on Linux
LSchwiebert May 17, 2023
585a54e
Merge pull request #499 from GOMC-WSU/rotation-move
jpotoff May 18, 2023
0d1facd
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert May 22, 2023
7fa1e74
Restore to development version
LSchwiebert May 23, 2023
a5bf65a
Check all restart files to make sure Restart is true
LSchwiebert Jun 4, 2023
1ab760d
Update FFSetup.cpp
jpotoff Jun 13, 2023
012eaa3
Merge pull request #501 from GOMC-WSU/restart
LSchwiebert Jun 14, 2023
bff8c90
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Jun 14, 2023
1b98c93
comment out clang tidy and ensure src has subvolume before exiting on…
GregorySchwing Jun 16, 2023
0aacff4
Use omp sections to remove redundant memset/memcpy calls
LSchwiebert Jun 25, 2023
bf04333
Merge pull request #502 from GOMC-WSU/jpotoff-patch-1
GregorySchwing Jun 27, 2023
b9554ad
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Jun 27, 2023
1fd5284
Merge pull request #504 from GOMC-WSU/omp-sections
jpotoff Jun 27, 2023
5f941bb
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Jun 27, 2023
3f35a19
update SWITCH and LRC ERROR condition
jpotoff Jul 24, 2023
dfbbd92
Merge pull request #506 from jpotoff/development
GregorySchwing Jul 25, 2023
c28d871
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Jul 25, 2023
414a644
Fixes the gcc compiler issues but not linker
LSchwiebert Aug 12, 2023
b43e807
Final changes to resolve GPU linking issues
LSchwiebert Aug 14, 2023
d3342d8
Update GOMC Website in Readme file
LSchwiebert Aug 14, 2023
523b9f3
Update web link for CMake
LSchwiebert Aug 14, 2023
2bc9c6c
Remove unused use_tidy variable. Just set CMake flag
LSchwiebert Aug 14, 2023
6b28702
Clean up README.md per Codacy style
LSchwiebert Aug 14, 2023
4f9d4fa
README.md clean up per Codacy Style guidelines
LSchwiebert Aug 14, 2023
dde4892
README.md clean up per Codacy Style guidelines
LSchwiebert Aug 14, 2023
3f21ee9
Change OpenMP pragma for compatibility with old Intel compilers
LSchwiebert Aug 27, 2023
1587a19
Change OpenMP pragma for compatibility with old Intel compilers
LSchwiebert Aug 27, 2023
f1f45e2
Change OpenMP pragmas for compatibility with older Intel compilers
LSchwiebert Aug 27, 2023
01087f2
update console output
jpotoff Aug 30, 2023
162e1ce
Free the GPU variables allocated for the Exp6 Forcefield
LSchwiebert Sep 2, 2023
c82d302
Merge pull request #511 from jpotoff/development
LSchwiebert Sep 4, 2023
fa1b2f0
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Sep 4, 2023
e8341b2
Merge pull request #508 from GOMC-WSU/brownian-patch
jpotoff Sep 6, 2023
fc56ad1
Merge pull request #513 from GOMC-WSU/FFExp6
jpotoff Sep 6, 2023
ead59f2
Merge pull request #503 from GregorySchwing/bugfix
jpotoff Sep 6, 2023
1bb817f
Merge branch 'development' into build-issues
LSchwiebert Sep 10, 2023
ef9494b
Fix issue #514: Output correct block average values first time after …
LSchwiebert Sep 12, 2023
8f427ea
Merge pull request #517 from GOMC-WSU/BlockAvg
jpotoff Sep 13, 2023
c23a326
Update CMakeLists.txt for handling clang-tidy
LSchwiebert Sep 19, 2023
6d61334
Merge branch 'build-issues' of https://github.com/GOMC-WSU/GOMC into …
LSchwiebert Sep 19, 2023
8d16bf0
Remove Endian Tests since Endian.h is no longer used in GOMC
LSchwiebert Sep 21, 2023
411ed83
Standardize guards on header files. Add some missing ones.
LSchwiebert Sep 21, 2023
f84bc9d
Improve patch to work with GTest
LSchwiebert Sep 21, 2023
11d44cd
Print error message if CUDA does not support this compiler
LSchwiebert Sep 21, 2023
850848f
Build test executables only for specified ensembles
LSchwiebert Sep 21, 2023
823c6e4
Warning instead Status message for compiler incompatible with CUDA
LSchwiebert Sep 22, 2023
b62c64b
Standardize guards on header files
LSchwiebert Sep 22, 2023
17ee84d
Fix syntax error in CMakeLists.txt for warning message
LSchwiebert Sep 22, 2023
198f222
Merge pull request #518 from GOMC-WSU/FFExp6
jpotoff Sep 26, 2023
d3da126
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Sep 26, 2023
0073a56
Allows GEMC simulations to control which boxes run MP moves
LSchwiebert Nov 22, 2023
bbfcdb6
Address warning with wrong type for informational messages
LSchwiebert Nov 22, 2023
ff3f67a
Merge pull request #521 from GOMC-WSU/MP-Flags
jpotoff Nov 27, 2023
28a4664
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Nov 28, 2023
b690cb7
Remove link time optimization from the build process
LSchwiebert Jan 8, 2024
a77254a
first commit
GregorySchwing Feb 17, 2024
a6e5b24
Everything except FFParticle, ect
GregorySchwing Feb 17, 2024
8b87774
ok should be testable
GregorySchwing Feb 18, 2024
2457d82
read wolf alpha
GregorySchwing Feb 18, 2024
aa4639e
init wolf
GregorySchwing Feb 18, 2024
e38eb2d
Add calibration infra
GregorySchwing Feb 19, 2024
975159a
straigtforward implementation of wolf calc
GregorySchwing Feb 19, 2024
885b507
actually call wco
GregorySchwing Feb 19, 2024
517159b
wrapping up cal
GregorySchwing Feb 19, 2024
5d24c58
Calc on first step
GregorySchwing Feb 19, 2024
f88fabc
update ewald ptr after swapping
GregorySchwing Feb 19, 2024
126616b
was missing qqFactor in BoxSelf
GregorySchwing Feb 19, 2024
52f2811
dont use sample in WolfCal
GregorySchwing Feb 19, 2024
1554f5d
Update readme with docker build instructions. will add a section to …
GregorySchwing Feb 20, 2024
c4f42f7
all 8 methods.
GregorySchwing Feb 22, 2024
e6ae7b2
methodized simple corr
GregorySchwing Feb 22, 2024
3bee7a0
for some reason no difference between dsp and dsf?
GregorySchwing Feb 22, 2024
d24156c
done
GregorySchwing Feb 23, 2024
3a282b8
indent
GregorySchwing Feb 23, 2024
d51e57b
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into M…
LSchwiebert Mar 9, 2024
81424f6
GPU
GregorySchwing Mar 9, 2024
21f4c6d
energy closer. need to do last function
GregorySchwing Mar 9, 2024
6eb795f
all functions are done except for the actual code
GregorySchwing Mar 9, 2024
c148953
energy done
GregorySchwing Mar 9, 2024
3cebbaa
energy done
GregorySchwing Mar 9, 2024
6172338
Change tail correction variable name to match development patch
LSchwiebert Mar 10, 2024
5b2a065
remove 35 arch
GregorySchwing Mar 10, 2024
9b54802
Revert "remove 35 arch"
GregorySchwing Mar 12, 2024
c341870
actually use simple self
GregorySchwing Mar 22, 2024
118e917
Remove Intel LLVM Compiler detection until CUDA supports it
LSchwiebert Mar 28, 2024
0bc3977
Clean up some #define statements and comments on the #endif for heade…
LSchwiebert Mar 28, 2024
8173bdd
Resolve Codacy-detected error for builds with test
LSchwiebert Mar 28, 2024
fbf6c9f
Handle ensemble names when building the test configs
LSchwiebert Mar 28, 2024
21f20ce
Extend and optimize implementation of the XYZ operators
LSchwiebert May 14, 2024
c913717
Reduce max volume adjustment to avoid negative box dimensions
LSchwiebert May 18, 2024
36a5b25
Reduce max volume adjustment to avoid underflowing the box volume
LSchwiebert May 18, 2024
0a97b18
Build CUDA code for GPU executables
LSchwiebert Jul 8, 2024
55726de
Don't include GPU calls in CPU builds
LSchwiebert Jul 8, 2024
afe876d
Don't call RotationMatrix::UniformRandom with prng() calls as functio…
LSchwiebert Jul 10, 2024
c99f658
Remove old UniformRandom function calls
LSchwiebert Jul 10, 2024
3c7b0bb
Fix calls to Mersenne Twister for CBMC functions
LSchwiebert Jul 12, 2024
124ff98
Fix grammar in comment
LSchwiebert Aug 7, 2024
6b2a8ea
Remove duplicate dihedrals with the same periodicity and issue a warning
LSchwiebert Aug 7, 2024
02bfcf6
Generate error instead of warning if duplicates have different parame…
LSchwiebert Aug 8, 2024
61d0398
Also check for duplicate Bonds, Angles, etc. and minor code cleanup
LSchwiebert Aug 21, 2024
34c80ab
Enhance patch to print filename in warnings
LSchwiebert Aug 23, 2024
0dd9bcd
Update new warning messages
LSchwiebert Aug 24, 2024
a3a7c1c
Update warning message for duplicated dihedrals
LSchwiebert Aug 24, 2024
f332038
Fix log message for Intra-MEMC1 move
LSchwiebert Oct 12, 2024
8f05a7f
Explicitly call std library sqrt function
LSchwiebert Oct 28, 2024
d3dd0e7
Fix typo in comment
LSchwiebert Nov 19, 2024
aab3c02
Add entries to print newer OpenMP versions
LSchwiebert Nov 23, 2024
a505e46
Merge pull request #530 from GOMC-WSU/duplicate-dihedral
LSchwiebert Nov 27, 2024
e6073f4
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Nov 27, 2024
69b4ebc
Patch to handle older OpenMP versions
LSchwiebert Nov 30, 2024
64eba6e
Updates to build on Windows with Visual Studio
LSchwiebert Nov 30, 2024
64f8f80
Clarify Windows build
LSchwiebert Dec 1, 2024
713622a
Updates to resolve MSVC warnings and improve MSVC build flags
LSchwiebert Dec 3, 2024
aeb47e5
Merge pull request #532 from GOMC-WSU/MEMC-patch
HamiedAsadi Dec 5, 2024
6bd545e
Merge pull request #524 from GOMC-WSU/basictypes
LSchwiebert Dec 5, 2024
f451add
Pass more forcefield parameters to the GPU for consistent values
LSchwiebert Dec 13, 2024
57181f0
Reformat source files using clang format
LSchwiebert Dec 13, 2024
9563e13
Pass more forcefield parameters to the GPU for consistency
LSchwiebert Dec 13, 2024
b0b0b3f
Reformat per clang formatting rules
LSchwiebert Dec 13, 2024
2017878
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Dec 13, 2024
a27ca12
Merge pull request #535 from GOMC-WSU/forcefield-params
HamiedAsadi Dec 13, 2024
303f1f7
Merge pull request #527 from GOMC-WSU/mersenne-twister
HamiedAsadi Dec 13, 2024
0e3f3e6
Update for latest development branch patches
LSchwiebert Dec 19, 2024
5c65edf
Set address sanitizer MSVC flag only for MSVC builds
LSchwiebert Jan 6, 2025
4bd3279
Recognize newer OpenMP version date-codes
LSchwiebert Jan 20, 2025
ec61655
Terminate GOMC (with an error message) if the initial configuration h…
LSchwiebert Jan 20, 2025
a3138bf
Reformat updated code and revise comment
LSchwiebert Jan 20, 2025
66e0f2b
Fix printf format to match variable types
LSchwiebert Jan 22, 2025
cef510c
Merge pull request #537 from GOMC-WSU/openmp-versions
jpotoff Jan 27, 2025
c7a79c5
Merge pull request #536 from GOMC-WSU/bad-config
jpotoff Jan 27, 2025
24a694b
Merge pull request #538 from GOMC-WSU/development
jpotoff Jan 27, 2025
84d57cb
Update with the latest Development branch patches
LSchwiebert Jan 28, 2025
66e603a
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into v…
LSchwiebert Feb 5, 2025
173ff86
Update ExchangeVolume with the same enhanced warning message
LSchwiebert Feb 5, 2025
1506116
Change patch to avoid situations where a relatively low volume would …
LSchwiebert Feb 7, 2025
b4e88c4
Improve comments related to patch
LSchwiebert Feb 7, 2025
9320eea
fix MEMC3-liq
jpotoff Feb 10, 2025
88fd6a2
Merge branch 'MEMC_Liq' of https://github.com/GOMC-WSU/GOMC into MEMC…
jpotoff Feb 10, 2025
044edee
Update MoleculeExchange3Liq.h
jpotoff Feb 13, 2025
7fe11fd
Format MEMC3-Liq move code per clang format
LSchwiebert Feb 13, 2025
bb9bc75
Reformat a multiline comment for improved readability
LSchwiebert Feb 13, 2025
4a18fe2
Print clearer logfile information on CPU cores and OpenMP threads
LSchwiebert May 2, 2025
4241ee1
Inline some commonly used MinImage functions for performance
LSchwiebert May 22, 2025
7595e94
Improve Box Dimensions output formatting for large box sizes
LSchwiebert May 22, 2025
35878bb
Resolve warnings on virtual functions only partially overridden
LSchwiebert Jun 3, 2025
0576d48
Call correct template function for Brownian Motion MP rotation with n…
LSchwiebert Jun 10, 2025
7100189
Call correct template function for Brownian Motion MP rotation with n…
LSchwiebert Jun 10, 2025
cb3253c
Reset fp format to previous settings after printing energies in debug…
LSchwiebert Jul 25, 2025
6e9108a
Choose better CUDA debug flags
LSchwiebert Jul 25, 2025
55b0d48
Avoid subnormal values in DCRotations and Random PickWeighted
LSchwiebert Jul 25, 2025
c99b25f
Merge pull request #540 from GOMC-WSU/brownian-patch
LSchwiebert Aug 18, 2025
4b36ec8
Merge pull request #526 from GOMC-WSU/volume-adjust
LSchwiebert Aug 18, 2025
79f2931
Make architecture-specific optimizations optional instead of default
LSchwiebert Aug 18, 2025
9a89d3a
Fix extraneous text that broke build
LSchwiebert Aug 18, 2025
a666007
Merge branch 'development' into MEMC_Liq
LSchwiebert Aug 18, 2025
0d5faa4
Merge pull request #539 from GOMC-WSU/MEMC_Liq
LSchwiebert Aug 18, 2025
6a4b578
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Aug 18, 2025
5744dae
Fix list of options when parsing commandline flags
LSchwiebert Aug 19, 2025
8908fcb
Resolve compiler warnings when not compiling with MPI
LSchwiebert Aug 22, 2025
41bbc01
Change to support CUDA 13
LSchwiebert Aug 22, 2025
10d4c49
Reformat per clang format
LSchwiebert Aug 22, 2025
72b375f
Clear CUDA flag if no GPU builds selected
LSchwiebert Aug 22, 2025
42af70a
Require C++17
LSchwiebert Aug 22, 2025
e9f7b0d
Set CMake CUDA architectures based on CUDA version
LSchwiebert Aug 22, 2025
d1bb968
Set GPU architectures based on CUDA version
LSchwiebert Aug 23, 2025
79e3c21
Enable unsupported intel compilers with CUDA
LSchwiebert Aug 23, 2025
9610de0
Streamline setting of CUDA compiler flags
LSchwiebert Aug 28, 2025
9cf8fb4
Better test for CUDA compiler version for GPU builds
LSchwiebert Aug 31, 2025
63ea302
Fix Codacy code warnings
LSchwiebert Sep 1, 2025
f87471f
Update to cereal 1.3.2 and include only needed cereal files
LSchwiebert Sep 6, 2025
3ffb2ef
Rename cereal folder without version and move up in lib folder
LSchwiebert Sep 6, 2025
7b6c7b9
Free three additional GPU variables
LSchwiebert Sep 23, 2025
e10a971
Fix erroneous improvement to LJ weight calculations
LSchwiebert Sep 23, 2025
2c7b317
Remove unnecessary setting of ljweights in BuildOld
LSchwiebert Sep 23, 2025
a260ac6
Ensure Steps/sec gets written with the console output
LSchwiebert Sep 24, 2025
38b3632
Include -lineinfo flag when building for CUDA profiling
LSchwiebert Sep 26, 2025
05a749a
Patches to enable profiling builds
LSchwiebert Sep 29, 2025
af282bd
Fix processing of GOMC-supplied profiling event list
LSchwiebert Sep 29, 2025
c310079
Partial fix of breaking MPI build
LSchwiebert Sep 30, 2025
ff1c529
Make intel use more precise arithmetic
LSchwiebert Oct 1, 2025
fe7ea69
Update to Random123 Version 1.14 with our patch for CUDA
LSchwiebert Oct 1, 2025
803dcf5
Revise intel compiler flags to prevent overly aggressive math optimiz…
LSchwiebert Oct 2, 2025
a4d20c8
Remove architecture specific flags that don't support AMD processors
LSchwiebert Oct 2, 2025
cdf3801
Choice GPU based on number of SMs and minor code cleanup
LSchwiebert Oct 2, 2025
de6e42a
Minor code cleanup for enabling NVTX profiling
LSchwiebert Oct 2, 2025
e5c1d2f
Cleanup per new version of clang format
LSchwiebert Oct 3, 2025
9c95c00
Don't swap reciprocal vectors if reciprocal energy unchanged
LSchwiebert Oct 3, 2025
156dbde
Remove unneeded computations when overlap has been detected
LSchwiebert Oct 3, 2025
d4a9e66
Sort CMake file list in alphabetical order
LSchwiebert Oct 6, 2025
bf5e233
Fix typos in comments
LSchwiebert Oct 6, 2025
9b7b43d
Improved short circuit of computation when overlap detected
LSchwiebert Oct 6, 2025
4f9e517
Revised formatting per new release of clang format
LSchwiebert Oct 6, 2025
25e03d8
Revert bad code optimization in PickWeighted and use signed int loop …
LSchwiebert Oct 6, 2025
3947fa7
Remove header file <limits> that is no longer needed
LSchwiebert Oct 8, 2025
f22a0cd
Change version number to 2.80 in anticipation of next release
LSchwiebert Oct 13, 2025
62103c4
Update Readme with pointers to the examples repo and some clarifications
LSchwiebert Oct 13, 2025
e0e39c1
compiles
GregorySchwing Oct 20, 2025
1f9f8bf
added checkpointfreq
GregorySchwing Oct 20, 2025
6501787
fix how tests are built
GregorySchwing Oct 20, 2025
332fbf2
mpi tests build
GregorySchwing Oct 20, 2025
2743c64
fix codacy
GregorySchwing Oct 21, 2025
4a2b871
only set variable in mpi constructor
GregorySchwing Oct 21, 2025
ba40dce
Merge pull request #541 from GregorySchwing/pt_fix
LSchwiebert Oct 21, 2025
a6e1369
Update MPI package find per CMake deprecated function warning
LSchwiebert Oct 24, 2025
483f7f5
Remove redundant metamakeMPI shell script
LSchwiebert Oct 24, 2025
f9bef63
Reformat per clang format
LSchwiebert Oct 24, 2025
07d3c5a
Merge branch 'wolf_fitz' into build-issues
GregorySchwing Oct 28, 2025
a1e61f0
Revert "Merge branch 'wolf_fitz' into build-issues"
GregorySchwing Oct 28, 2025
3bbd703
fix: (#523) final energy output omission correction
cachebag Nov 10, 2025
725802c
Merge pull request #543 from cachebag/fix/fstep-output
hmehryar Nov 18, 2025
16c1818
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Nov 20, 2025
1739273
Merge branch 'build-issues' of https://github.com/GOMC-WSU/GOMC into …
LSchwiebert Nov 20, 2025
fa285ff
Update change log and copyright notice for new release
LSchwiebert Nov 28, 2025
a4c3a54
Clean up Codacy warnings
LSchwiebert Nov 28, 2025
e03c7e7
Update per clang-format
LSchwiebert Nov 28, 2025
5a63f41
Merge pull request #507 from GOMC-WSU/build-issues
LSchwiebert Dec 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Install clang-openmp
run: sudo apt install -y libomp-14-dev
- name: metamake
run: ./metamake.sh
45 changes: 32 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
# Change Log
All notable changes to this project will be documented in this file.

## [2.80] - 12/03/2025
+ Added Molecule Exchange move for two liquid boxes.
+ Add support for CUDA version 13 and earlier.
+ Upgraded to C++17.
+ Build for any CUDA architecture compatible with the corresponding CUDA version.
+ Improve OpenMP calls.
+ Performance improvements, including some GPU calls.
+ Enable non-integer values for MIE potential.
+ Upgrade Random123 to version 1.14 and cereal to version 1.3.2.
+ More error checking of incompatible configuration parameters.
+ Improvements to the build process with some new options.
+ Consolidate MPI builds into the metamake.sh script.
+ Many bug fixes, including some small memory leaks and other memory management issues.
+ Upgraded our CMake to 3.18.

## [2.75] - 11/02/2022
+ Added support for the Non-equilibrium Molecule Transfer move.
+ Numerous bug fixes.

## [2.70] - 10/13/2020
+ This release forcues on GPU performance improvements
+ This release focuses on GPU performance improvements
+ Using Random123 to be able to generate the same random number on GPU and port Translation and Rotation of molecules to the GPU
+ Upgraded to C++14
+ Lots of bug fixes
Expand All @@ -19,7 +38,7 @@ All notable changes to this project will be documented in this file.
+ Fixed a warning due to ignoring return value of fscanf

## [2.50] - 1/20/2020
+ Addes support for force biased multiparticle move
+ Added support for force biased multiparticle move
+ Added support for free energy calculations using TI and FEP methods
+ Support for multiple simulation with different temperatures using MPI
+ Added support for Exponential-6 forcefield
Expand All @@ -37,7 +56,7 @@ All notable changes to this project will be documented in this file.
+ Added an error message when charges detected and ewald was set to false (#99)
+ Fixed compiling issue on Visual Studio (#110)
+ Fixed the issue where GOMC did not read CHARMM parameter files missing Urey-Bradley terms (#147)
+ Reduced GOMC reposity size
+ Reduced GOMC repository size

## [2.40] - 3/15/2019
+ Added support for Cyclic molecules.
Expand All @@ -56,7 +75,7 @@ All notable changes to this project will be documented in this file.

## [2.31] - 5/21/2018
+ Compiling problem fixed on CYGWIN
+ Fix to the error checking of volume exchange if simulation volume became negative
+ Fix to the error checking of volume exchange if simulation volume became negative.
+ Fix the equation to impose fix angle if the angle is less than 90. Generate error if constrained angle is not possible.
+ Fixed a bug where move timings were 0 in windows.
+ Fixed the issue where input files imported from NVT to NPT had zero volume, default value of 500 will be assigned in those cases.
Expand All @@ -66,21 +85,21 @@ All notable changes to this project will be documented in this file.
+ Cleaned up the code and removed any memory leaks and bugs.
+ Redesigned Ewald, EwaldCached, and NoEwald to be more efficient and allocate less memory.
+ Added an error when multiple atoms have zero coordinates.
+ Added an error when resorvoir is empty and should print an error message and exit.
+ Added an error when reservoir is empty and should print an error message and exit.
+ Fixed some typo in output.
+ Fix a bug where seed number output and input was not the same size, so we changed int to uint while reading to avoid overflow. They both use uint now.
+ Increase memory allocation for NPT simulation in Ewald.
+ Fixed a bug in PickWeighted() function where it was return a value larger than the array.
+ Printing individual timing information for each move.
+ To avoid getting large energy we are recalculating the total system at equilbrium step.
+ To avoid getting large energy we are recalculating the total system at equilibrium step.
+ Print CBMC information including first atom trial, secondary atom trials, angle trials, and dihedral trials.
+ Fix a bug where in windows the clock() function was returning a wrong value
+ Fix compiler warning for macOS in ConfigSetup file

## [2.20] - 1/2/2018
+ Non orthogonal implementation
+ Removed CUB library from our source code and we will automatically download CUB library before compiling (newest version all the time!).
+ Removed compute_20 and compute_21 since they are depricated and CUDA 9 will generate fatal error.
+ Removed compute_20 and compute_21 since they are deprecated and CUDA 9 will generate fatal error.
+ Fixed a problem where the input reader will skip random_seed because there was a "info" print in an "else if" and would block anything after that.
+ Fixed a bug in MoveSettings where two for loops where not initialized.
+ Fixed a bug where in simulation of polar molecules, if any atom of the molecule has no VDW parameter (e.g. water), there is a chance that during insertion, atom of opposite charge will overlap and generate a very large energy value. Current mechanism of avoiding overlap is not working properly
Expand All @@ -92,7 +111,7 @@ All notable changes to this project will be documented in this file.

## [2.1] - 9/4/2017
+ Adsorption
+ Fixed the bug where GPU and CPU total energy calculations where slighty different.
+ Fixed the bug where GPU and CPU total energy calculations where slightly different.
+ Removed some unused variables
+ Removed some warnings
+ Fixed pow function ambiguity in some compilers like clang
Expand All @@ -114,13 +133,13 @@ All notable changes to this project will be documented in this file.
+ Bug Fixes

## [1.7] - 04/21/2016
+ Fix the bug of free Ewald class, which returns memory segmentation fault if ewald is not activated.
+ Fix the bug of free Ewald class, which returns memory segmentation fault if Ewald is not activated.
TO DO: IntraSwap does not work properly. The bug is going to be fixed.


##[1.6] - 04/01/2016
+ IntraSwap is added into the code.
+ Blockoutput, fluctoutput are modified to print out ewald energies.
+ Blockoutput, fluctoutput are modified to print out Ewald energies.
+ Tests of this modification are not done yet.

## [1.7] - 03/24/2016
Expand Down Expand Up @@ -150,12 +169,12 @@ TO DO: IntraSwap does not work properly. The bug is going to be fixed.
+ Update CPUSide.cpp, move hist into the ifdef of GCMC. Target at the floating operation issue returned by NVT and GEMC simulations.

##[1.00] Ewald branch - 12/8/2015
+ Improve the initialization of Ewald's parameters, so that non-ewald simulation can also run on ewald code without crashing.
+ Improve the initialization of Ewald's parameters, so that non-Ewald simulation can also run on Ewald code without crashing.
+ CMakeList.txt file is added.

##[1.00] - 12/4/2015
+ Added Examples of water and DME for NVT and GCMC
+ Added bin/linux, which contains all executable files for linux
+ Added Examples of water and DME for NVT and GCMC.
+ Added bin/linux, which contains all executable files for linux.

## [1.0] - 10/18/2015
+ Changes for input file system.
Expand Down
51 changes: 26 additions & 25 deletions CMake/FileLists.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ set(sources
src/BondAdjacencyList.cpp
src/BoxDimensions.cpp
src/BoxDimensionsNonOrth.cpp
src/CalculateEnergy.cpp
src/CBMC.cpp
src/CellList.cpp
src/Checkpoint.cpp
src/CheckpointOutput.cpp
src/CheckpointSetup.cpp
src/ConfigSetup.cpp
src/ConsoleOutput.cpp
src/Coordinates.cpp
src/CPUSide.cpp
src/CalculateEnergy.cpp
src/Checkpoint.cpp
src/CheckpointOutput.cpp
src/CheckpointSetup.cpp
src/DCDlib.cpp
src/EnPartCntSampleOutput.cpp
src/ExtendedSystem.cpp
src/ExtendedSystemOutput.cpp
src/Ewald.cpp
src/EwaldCached.cpp
src/ExtendedSystem.cpp
src/ExtendedSystemOutput.cpp
src/FFConst.cpp
src/FFDihedrals.cpp
src/FFParticle.cpp
Expand All @@ -39,8 +39,8 @@ set(sources
src/OutputVars.cpp
src/ParallelTemperingPreprocessor.cpp
src/ParallelTemperingUtilities.cpp
src/PDBSetup.cpp
src/PDBOutput.cpp
src/PDBSetup.cpp
src/PRNGSetup.cpp
src/PSFOutput.cpp
src/Random123Wrapper.cpp
Expand All @@ -51,16 +51,16 @@ set(sources
src/cbmc/DCCrankShaftAng.cpp
src/cbmc/DCCrankShaftDih.cpp
src/cbmc/DCCyclic.cpp
src/cbmc/DCGraph.cpp
src/cbmc/DCFreeCycle.cpp
src/cbmc/DCFreeCycleSeed.cpp
src/cbmc/DCFreeHedron.cpp
src/cbmc/DCFreeHedronSeed.cpp
src/cbmc/DCFreeCycleSeed.cpp
src/cbmc/DCLinkedHedron.cpp
src/cbmc/DCLinkedCycle.cpp
src/cbmc/DCGraph.cpp
src/cbmc/DCHedron.cpp
src/cbmc/DCHedronCycle.cpp
src/cbmc/DCLinear.cpp
src/cbmc/DCLinkedCycle.cpp
src/cbmc/DCLinkedHedron.cpp
src/cbmc/DCOnSphere.cpp
src/cbmc/DCRotateCOM.cpp
src/cbmc/DCRotateOnAtom.cpp
Expand Down Expand Up @@ -90,10 +90,10 @@ set(headers
src/EnergyTypes.h
src/EnPartCntSampleOutput.h
src/EnsemblePreprocessor.h
src/ExtendedSystem.h
src/ExtendedSystemOutput.h
src/Ewald.h
src/EwaldCached.h
src/ExtendedSystem.h
src/ExtendedSystemOutput.h
src/FFAngles.h
src/FFBonds.h
src/FFConst.h
Expand Down Expand Up @@ -153,21 +153,20 @@ set(headers
src/cbmc/DCCyclic.h
src/cbmc/DCData.h
src/cbmc/DCFreeCycle.h
src/cbmc/DCFreeCycleSeed.h
src/cbmc/DCFreeHedron.h
src/cbmc/DCFreeHedronSeed.h
src/cbmc/DCFreeCycleSeed.h
src/cbmc/DCLinkedHedron.h
src/cbmc/DCLinkedCycle.h
src/cbmc/DCGraph.h
src/cbmc/DCHedron.h
src/cbmc/DCHedronCycle.h
src/cbmc/DCLinear.h
src/cbmc/DCLinkedCycle.h
src/cbmc/DCLinkedHedron.h
src/cbmc/DCOnSphere.h
src/cbmc/DCRotateCOM.h
src/cbmc/DCRotateOnAtom.h
src/cbmc/DCSingle.h
src/cbmc/TrialMol.h
src/moves/NeMTMC.h
src/moves/CrankShaft.h
src/moves/IntraMoleculeExchange1.h
src/moves/IntraMoleculeExchange2.h
Expand All @@ -176,11 +175,14 @@ set(headers
src/moves/IntraTargetedSwap.h
src/moves/MoleculeExchange1.h
src/moves/MoleculeExchange2.h
src/moves/MoleculeExchange2Liq.h
src/moves/MoleculeExchange3.h
src/moves/MoleculeExchange3Liq.h
src/moves/MoleculeTransfer.h
src/moves/MoveBase.h
src/moves/MultiParticle.h
src/moves/MultiParticleBrownianMotion.h
src/moves/NeMTMC.h
src/moves/Regrowth.h
src/moves/Rotation.h
src/moves/TargetedSwap.h
Expand All @@ -191,35 +193,34 @@ set(libHeaders
lib/AlphaNum.h
lib/BasicTypes.h
lib/BitLib.h
lib/Endian.h
lib/CircuitFinder.h
lib/FloydWarshallCycle.h
lib/GeomLib.h
lib/Lambda.h
lib/NumLib.h
lib/StrLib.h
lib/StrStrmLib.h
lib/VectorLib.h
lib/CircuitFinder.h
lib/FloydWarshallCycle.h)
lib/VectorLib.h)

set(libSources
lib/AlphaNum.cpp
lib/CircuitFinder.cpp
lib/FloydWarshallCycle.cpp)

set(cudaHeaders
src/GPU/ConstantDefinitionsCUDAKernel.cuh
src/GPU/CalculateMinImageCUDAKernel.cuh
src/GPU/CalculateEnergyCUDAKernel.cuh
src/GPU/CalculateForceCUDAKernel.cuh
src/GPU/CalculateEwaldCUDAKernel.cuh
src/GPU/CalculateForceCUDAKernel.cuh
src/GPU/CalculateMinImageCUDAKernel.cuh
src/GPU/ConstantDefinitionsCUDAKernel.cuh
src/GPU/CUDAMemoryManager.cuh
src/GPU/TransformParticlesCUDAKernel.cuh
src/GPU/VariablesCUDA.cuh)

set(cudaSources
src/GPU/CalculateEnergyCUDAKernel.cu
src/GPU/CalculateForceCUDAKernel.cu
src/GPU/CalculateEwaldCUDAKernel.cu
src/GPU/CalculateForceCUDAKernel.cu
src/GPU/ConstantDefinitionsCUDAKernel.cu
src/GPU/CUDAMemoryManager.cu
src/GPU/TransformParticlesCUDAKernel.cu)
Expand Down
43 changes: 31 additions & 12 deletions CMake/GOMCCPUSetup.cmake
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
#EnsemblePreprocessor defines NVT = 1, GEMC = 2, GCMC = 3, NPT = 4
#NPT (Isothermal-Isobaric) Ensemble

set(NPT_flags "-DENSEMBLE=4")
set(NPT_name "GOMC_CPU_NPT")

#Grand Canonical Monte Carlo
set(GC_flags "-DENSEMBLE=3")
set(GC_name "GOMC_CPU_GCMC")
#NVT (Canonical) Ensemble
set(NVT_flags "-DENSEMBLE=1")
set(NVT_name "GOMC_CPU_NVT")

#Gibbs Ensemble Monte Carlo
set(GE_flags "-DENSEMBLE=2")
set(GE_name "GOMC_CPU_GEMC")

#NVT (Canonical) Ensemble
set(NVT_flags "-DENSEMBLE=1")
set(NVT_name "GOMC_CPU_NVT")
#Grand Canonical Monte Carlo
set(GC_flags "-DENSEMBLE=3")
set(GC_name "GOMC_CPU_GCMC")

set(CMAKE_CXX_STANDARD 14)
#NPT (Isothermal-Isobaric) Ensemble
set(NPT_flags "-DENSEMBLE=4")
set(NPT_name "GOMC_CPU_NPT")

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED true)

if(ENSEMBLE_NVT)
add_executable(NVT ${sources} ${headers} ${libHeaders} ${libSources})
# Set compiler and linker flags for each compiler
target_compile_options(NVT
PUBLIC $<$<COMPILE_LANGUAGE:CXX>:${CMAKE_COMP_FLAGS}>)
target_link_options(NVT
PUBLIC $<$<LINK_LANGUAGE:CXX>:${CMAKE_LINK_FLAGS}>)
set_target_properties(NVT PROPERTIES
OUTPUT_NAME ${NVT_name}
COMPILE_FLAGS "${NVT_flags}")
Expand All @@ -35,6 +40,11 @@ endif()

if(ENSEMBLE_GEMC)
add_executable(GEMC ${sources} ${headers} ${libHeaders} ${libSources})
# Set compiler and linker flags for each compiler
target_compile_options(GEMC
PUBLIC $<$<COMPILE_LANGUAGE:CXX>:${CMAKE_COMP_FLAGS}>)
target_link_options(GEMC
PUBLIC $<$<LINK_LANGUAGE:CXX>:${CMAKE_LINK_FLAGS}>)
set_target_properties(GEMC PROPERTIES
OUTPUT_NAME ${GE_name}
COMPILE_FLAGS "${GE_flags}")
Expand All @@ -49,6 +59,11 @@ endif()

if(ENSEMBLE_GCMC)
add_executable(GCMC ${sources} ${headers} ${libHeaders} ${libSources})
# Set compiler and linker flags for each compiler
target_compile_options(GCMC
PUBLIC $<$<COMPILE_LANGUAGE:CXX>:${CMAKE_COMP_FLAGS}>)
target_link_options(GCMC
PUBLIC $<$<LINK_LANGUAGE:CXX>:${CMAKE_LINK_FLAGS}>)
set_target_properties(GCMC PROPERTIES
OUTPUT_NAME ${GC_name}
COMPILE_FLAGS "${GC_flags}")
Expand All @@ -63,6 +78,11 @@ endif()

if(ENSEMBLE_NPT)
add_executable(NPT ${sources} ${headers} ${libHeaders} ${libSources})
# Set compiler and linker flags for each compiler
target_compile_options(NPT
PUBLIC $<$<COMPILE_LANGUAGE:CXX>:${CMAKE_COMP_FLAGS}>)
target_link_options(NPT
PUBLIC $<$<LINK_LANGUAGE:CXX>:${CMAKE_LINK_FLAGS}>)
set_target_properties(NPT PROPERTIES
OUTPUT_NAME ${NPT_name}
COMPILE_FLAGS "${NPT_flags}")
Expand All @@ -74,4 +94,3 @@ if(ENSEMBLE_NPT)
target_link_libraries(NPT ${MPI_LIBRARIES})
endif()
endif()

Loading