Commit Graph
31 Commits
Author SHA1 Message Date
Veselin Dobrev 8150aea355 In unit tets makefile, check for cuda using MFEM_USE_CUDA
instead of comparing MFEM_CXX == nvcc.

This resolves an issue where the cuda tests are not build and
run when MFEM_CXX uses the full path to nvcc.
2020-03-22 14:24:13 -07:00
Tzanio KolevandJean-Sylvain CAMIER 8976af5991 Update tests/unit/makefile
Co-Authored-By: Jean-Sylvain CAMIER <camierjs@gmail.com>
2020-03-10 19:18:02 -07:00
Tzanio 96b5307913 Fix for the tests/unit makefile 2020-03-10 19:05:13 -07:00
camierjs 80600ae5d0 WIP parallel/serial test_sedov 2020-03-09 20:25:19 -07:00
Julian Andrej f4ce87cd80 Attempt to fix the parallel unit tests 2020-03-09 15:07:06 -07:00
Tzanio 58872c9e7b Merge branch 'master' into okina-mmu
Conflicts:
	fem/datacollection.cpp
	tests/unit/CMakeLists.txt
2020-03-04 15:19:33 -08:00
Veselin Dobrev 8f617a5916 Two minor tweaks. 2020-03-02 23:49:49 -08:00
Tzanio ca55ef0217 The release number for mfem-4.1 is LLNL-CODE-806117 2020-03-02 17:18:46 -08:00
Veselin Dobrev c5b04eb87e Fix the out-of-source build and tests. 2020-02-25 17:15:42 -08:00
camierjs 47fbe4cbb0 Fix tests/unit/makefile when MFEM_DIR is set 2020-02-25 10:54:19 -08:00
Tzanio 2caa222edf A number of changes to switch the code from LGPL-2.1 to BSD-3:
- Updated LICENSE, README, CHANGELOG and CONTRIBUTING.md
- Removed COPYRIGHT, added NOTICE
- Updated the headers in all source files, makefiles, etc.
2020-02-23 11:16:46 -08:00
camierjs e1fc03fbc4 Fix tests/unit SRC prefix for sedov tests 2020-02-20 10:07:53 -08:00
camierjs 2280204e4d Renamed sedov tests and simplify lazy mm ctrl setup 2020-02-01 14:35:24 -08:00
camierjs 0cd79077ae 'uvm' as cuda device option, test unit now use MFEM_MPI_NP 2020-01-28 15:25:02 -08:00
Veselin Dobrev 7242ec2663 A few small edits:
- a few tweaks in the CMake build system
- break a few long lines in tests/unit/makefile
- fix a check in DataCollection::SetCompression
2020-01-27 20:31:28 -08:00
camierjs 0825ea7140 Merge branch 'master' into okina-mmu 2020-01-23 16:41:42 -08:00
Adrien M. Bernede 8cc5d8dc91 Replacing googlecode with github 2020-01-16 15:02:22 -08:00
camierjs b71e5ebd15 UVM CuMallocManaged fix, all tests; debug w/o devices only. 2019-12-16 17:44:13 -08:00
camierjs cd23752656 Re-enable cross debug/cuda tests 2019-12-12 15:16:36 -08:00
camierjs d117979f56 Debug & Cleanup 2019-11-26 19:08:40 -08:00
camierjs 102eea832e Cleanup 2019-11-15 18:08:33 -08:00
camierjs 62a620a600 Standalone Sedov unit test, cpu, debug, cuda, cuda+debug, cuda+uvm & MPI 2019-11-15 17:57:16 -08:00
camierjs 7c9266f97f tests/unit/unit_tests_dev for CPU and CUDA 2019-11-15 13:31:48 -08:00
camierjs 12df5de1d9 Sedov unit test seq/par 2019-11-14 18:24:32 -08:00
Tzanio 1cf8bdeb5d Better way to handle MFEM_LINK_FLAGS 2019-03-26 17:14:25 -07:00
Tzanio 66e769d6a5 - Remove asserts
- Introduce MFEM_LINK_FLAGS to handle the fact that nvcc compiler cannot link with -x=cu
- Fixed building of 'make cuda; make all; make test'
2019-03-25 18:20:43 -07:00
Veselin Dobrev ffaa2ed259 Few small updates related to the renamed unit test executable. 2018-11-30 22:06:27 -08:00
Veselin Dobrev 6a2d288ece In tests/unit/makefile, always use the full path to the source
files - this is needed as a workaround for an issue in Coveralls
when run in Travis CI.
2018-11-30 21:22:16 -08:00
Veselin Dobrev 62182060e9 In tests/unit, define target 'test' in the GNU makefile, similar
to the makefiles in the examples and miniapps directories.

In the top-level makefile:
* the target 'all' will also build the unit tests
* the target 'test' will also run the unit tests
* removed the target 'alltest' (now it is the same as 'test')

In .travis.yml, since the 'test' target will run the unit tests,
remove the special Travis CI build that just runs the unit tests.
2018-11-30 17:28:07 -08:00
Veselin Dobrev 1a0976dc17 Add support for building and running the unit tests in
out-of-source builds with GNU make.

Clean the unit tests directory when 'make clean' is invoked at
the top level.
2018-11-29 22:23:47 -08:00
Aaron Fisher beb5994616 Renamed the test dirs and fixed some text that had an old version of the directories. 2018-11-09 16:28:51 -08:00