Commit Graph

44 Commits

Author SHA1 Message Date
da1bbec0be set lmp pointer to NULL after delete to avoid using it or deleting it a second time 2025-01-29 23:32:52 -05:00
06bdb7b637 refactor catching exceptions during LAMMPS initialization
this will avoid the nasty segfaults with "cannot have multiple stdout capturers"
instead it will catch and display any exception thrown during init.
2025-01-29 23:09:48 -05:00
e4dcdcd221 skip KokkosOpenMP tests when Kokkos includes GPU support 2024-10-05 03:05:04 -04:00
42dec6fe6e modernize and remove dead code 2024-08-22 21:03:29 -04:00
83297a1071 extend force style testers for bonded interactions to check KOKKOS/OpenMP
selectively imported from PR #4190 by @alphataubio
2024-07-27 21:06:52 -04:00
590c7dcf8f Merge branch 'lammps:develop' into spica-kk 2024-07-25 13:54:44 -04:00
da2bd44b73 modernize and reformat with clang-tidy and clang-format 2024-07-04 11:17:54 -04:00
7e7f3c08f4 make check more specific but accelerator compatible 2024-06-22 20:29:26 -04:00
ca8eb4fb68 update angle spica test 2024-06-08 21:57:24 -04:00
42b4ff4cc5 revert to develop test_angle_style, kokkos_omp test is in kokkos-unit-testing branch 2024-06-08 21:31:31 -04:00
44e13d97c6 removed more whitespace 2024-06-05 19:55:38 -04:00
f2db99193e removed whitespaces 2024-06-05 19:31:12 -04:00
43d94985fa angle-spica.yaml using in.spica and data.spica
in.spica and data.spica based on  in.fourmol and data.fourmol with pair style lj_spica instead of pair style zero
2024-06-05 19:13:16 -04:00
d1978dd136 support writing data files with PairIJ sections for all generic testers 2024-06-04 21:57:18 -04:00
261f0e0bb4 Update test_angle_style.cpp 2024-06-04 21:29:44 -04:00
42a3c754ec fixes 2024-06-04 21:26:58 -04:00
657befa959 second version angle_spica_kokkos and added kokkos_omp test to test_angle_style 2024-06-04 20:24:33 -04:00
9587e92a3c increase numdiff fudge factor so that individual epsilons need to be changed less 2024-01-13 10:33:13 -05:00
e51a44862c add fix numdiff test to check consistency between energy and force for bonded interactions 2024-01-12 18:59:43 -05:00
ddd5cc1a73 avoid segfault on command errors in force style unit tests and print error mesage instead 2023-11-16 17:53:12 -05:00
46768d0ff3 Correctly build argv with nullptr at the end 2023-11-08 09:18:58 -07:00
4220944ace cosmetic 2023-03-08 00:25:08 -05:00
a3d8cca25b add unit test for the extract method of angle styles 2023-01-05 23:01:09 -05:00
3c4b0a0c04 expand homepage checker tool to check a few more folders and apply updates 2022-10-24 10:58:39 -04:00
ab899861d5 apply clang-format 2022-09-10 03:21:28 -04:00
234b9f180a use clang-tidy and clang-format to update/modernize/simplify code 2022-05-31 14:46:57 -04:00
a7084c8fdb Merge remote-tracking branch 'origin/develop' into kokkos_unittests 2022-02-07 13:04:59 -05:00
7ee7d0c570 apply clang-format 2022-01-30 17:18:40 -05:00
32a53a1ae3 Use EXPECT_FORCES() in more testers 2021-11-23 11:46:33 -05:00
62b236a7cd Use platform::path_join in unittest tree and remove redundant code 2021-11-22 15:34:23 -05:00
3d650a6bf7 Add test utility method EXPECT_STRESS() 2021-11-22 15:24:41 -05:00
bb127603ff Use platform::unlink in unittests 2021-11-22 14:40:51 -05:00
1dc25b0e10 rename USER-OMP to OPENMP 2021-06-29 17:48:22 -04:00
2e6a0112d3 update URLs in some more files 2021-05-24 16:19:37 -04:00
190a689354 Merge branch 'master' into gpu-unittest
# Conflicts:
#	unittest/force-styles/test_pair_style.cpp
#	unittest/force-styles/tests/angle-cosine_periodic.yaml
#	unittest/force-styles/tests/mol-pair-born.yaml
#	unittest/force-styles/tests/mol-pair-born_coul_dsf.yaml
#	unittest/force-styles/tests/mol-pair-born_coul_long.yaml
#	unittest/force-styles/tests/mol-pair-born_coul_msm.yaml
#	unittest/force-styles/tests/mol-pair-born_coul_msm_table.yaml
#	unittest/force-styles/tests/mol-pair-born_coul_wolf.yaml
#	unittest/force-styles/tests/mol-pair-morse.yaml
#	unittest/force-styles/tests/mol-pair-morse_smooth_linear.yaml
2021-04-06 14:45:06 -04:00
487c55edf0 simplify and apply clang-format 2021-03-24 11:24:55 -04:00
154b8cb401 remove dead code 2021-03-19 11:42:09 -04:00
205b45423c combine repetitive code into convenience function 2021-03-01 20:07:19 -05:00
74713be4a2 add new key to YAML files: skip_tests 2021-03-01 19:27:11 -05:00
19311d408d use utils::trim() to remove extra whitespace from ctime() output. 2021-02-26 23:10:43 -05:00
adf74b3a22 use https://lammps.sandia.gov based URLs consistently 2020-10-21 16:45:30 -04:00
9c0808e95a update unit tests for move of version string location 2020-09-19 15:00:03 -04:00
47b3039b28 update unit tests, too 2020-09-11 19:24:32 -04:00
24b5cd7dec rename test programs to be consistent with the other programs in the unittest tree 2020-07-12 19:22:14 -04:00