Commit Graph

71 Commits

Author SHA1 Message Date
Karl Hammond 72573987fa I wrote unit tests for all the Fortran interface commands in this pull request 2022-09-14 21:07:32 -05:00
Axel Kohlmeyer 56304fe939
move check for Fortran Compiler validity 2022-09-13 11:24:20 -04:00
Axel Kohlmeyer 7a97b25c8d
must link with -lgfortran when using flang 2022-09-12 17:02:06 -04:00
Axel Kohlmeyer 5b0a9cea99
use ISO_C_BINDING compatible return type 2022-08-06 20:43:04 -04:00
Axel Kohlmeyer a9aa462a60
use alternate way to incorporate the module via "include" in the source code 2022-08-06 18:47:31 -04:00
Axel Kohlmeyer 801d59a9ac
correct MPI detection for Fortran 2022-08-06 18:46:56 -04:00
Axel Kohlmeyer cf942e7d5f
may check for MPI library Fortran support only if MPI is enabled 2022-06-23 15:54:04 -04:00
Axel Kohlmeyer 6475d4b956 Skip Fortran unittests if no Fortran MPI support is found 2022-05-18 07:16:16 -04:00
Axel Kohlmeyer d62e25decc
don't specify default working directory for tests explicitly 2022-01-29 11:10:23 -05:00
Axel Kohlmeyer 7978bf671d
use canonical syntax for adding tests 2022-01-28 21:12:13 -05:00
Axel Kohlmeyer 62ff23abe7
simplify building serial executables by incorporating the STUBS/mpi.o object in LAMMPS library 2022-01-27 15:59:48 -05:00
Axel Kohlmeyer ad81dd3960
recover original new style library target names through ALIAS library definitions 2021-10-22 08:23:49 -04:00
Axel Kohlmeyer d8db9dd3ac
Merge branch 'develop' into multi-config-support
# Conflicts:
#	cmake/Modules/GTest.cmake
2021-10-21 10:26:31 -04:00
Axel Kohlmeyer 27145d2789
catch up on refactoring default destructors that were missed previously 2021-10-14 01:12:04 -04:00
Axel Kohlmeyer 84c945f7fb
Use multi-config compatible way to integrate googletest for unit testing 2021-09-11 04:50:04 -04:00
Axel Kohlmeyer 95f713bd38
skip testing the fortran module if CMake cannot identify the fortran compiler
this avoids compilation failure with the new llvm based flang (aka f18)
2021-06-21 17:25:29 -04:00
Axel Kohlmeyer ba854ec7c3
changes required to cross-compile unit tests for windows 2021-05-23 01:46:14 -04:00
Axel Kohlmeyer 65dc5c0351
work around PGI compiler issues 2020-12-15 14:32:18 -05:00
Axel Kohlmeyer 569a000e6b
reformat unittest sources with clang-format 2020-11-25 16:51:41 -05:00
Axel Kohlmeyer c50a82af78
apply consistent naming scheme for tester source files and executables 2020-09-01 20:16:39 -04:00
Axel Kohlmeyer e44707d5e1
add unittest support for the fortran interface to LAMMPS 2020-08-28 20:56:52 -04:00