Commit Graph
180 Commits
Author SHA1 Message Date
camierjs 3e6d242b03 WIP non-square J for sdim=3 and dim=2 2019-06-07 16:00:19 -07:00
Veselin Dobrev edbe2affc7 Update version numbers to 4.0.1 -- a new development version. 2019-05-25 08:20:15 -07:00
Tzanio 4d900b0c5f Preparing for v4.0 release 2019-05-24 18:50:01 -07:00
Tzanio 1a69dcff78 Replaced FIXMEs with TODO or NOTE 2019-05-24 14:23:39 -07:00
Tzanio 52696ab6ce Added an internal "hpc" target to the makefile which builds with MPI and
all currently available backends.

We may choose to advertise this later, but for now it is mostly for
developers and testing.
2019-05-24 09:28:02 -07:00
Tzanio 3d88be85bc Removed MFEM_USE_MM -- it is no longer necessary 2019-05-21 19:18:50 -07:00
Veselin Dobrev 40378a046b Introduce a new Memory class for handling host + device allocations
and transfers.

The Memory class is now used by some MFEM classes (like Array and
Vector) which can be used on the Device. Such classes now provide
methods to access the underlying Memory object, e.g. GetMemory.

Updated ex1/ex1p and ex6/ex6p to not need to enable/disable the
Device at specific points -- the Device is now enabled just at the
start. Also, the same examples can now run on Device (e.g. -d cuda)
without the partial assembly option (-pa) -- full assembly will
be still done on CPU but the sparse matrix action and vector
operations will be done using the Device.

Reverted changes in class DenseMatrix related to using the Device.
At this point, DenseMatrix operations are only used for small matrices
and using the Device in this case is not a good option.
2019-05-16 14:53:39 -07:00
Tzanio Kolev ffc2dfc70b Merge pull request #862 from mfem/okina-cmake
Okina-CMake: CUDA, OCCA, RAJA + MPI [okina-cmake]
2019-04-24 13:54:24 -07:00
Tzanio Kolev d996ee2d39 Merge pull request #868 from mfem/okina-nodrv
Remove CU driver calls [okina-nodrv]
2019-04-24 13:54:02 -07:00
Veselin Dobrev a7303349e0 Add checks that the memory manager is enabled when CUDA is enabled. 2019-04-22 16:26:46 -07:00
Veselin Dobrev bc876e1c64 Remove the CUDA driver from the GNU make build system. 2019-04-22 15:14:18 -07:00
Veselin Dobrev 8a8d9419d1 Some small modifications in the build systems. 2019-04-19 20:51:16 -07:00
Veselin Dobrev 90b5e07681 In the main makefile, install *.okl files in a separate loop to
avoid error messages.
2019-04-15 19:47:20 -07:00
Veselin Dobrev b875632aee Some tweaks and fixes in the build system. 2019-04-06 14:12:51 -07:00
Veselin Dobrev d9d72b60af Some small adjustments. 2019-04-05 16:28:55 -07:00
Johann Dahm 1ebd40ddac Minor syntax change 2019-04-05 16:07:00 -07:00
Johann Dahm 092537d84c Merge branch 'okina' into openmp-warning-dev 2019-04-05 15:42:33 -07:00
Johann Dahm c5a5a4b85a Fix merge conflict 2019-04-05 15:37:22 -07:00
Johann Dahm e357792bf0 Merge branch 'okina' into openmp-warning-dev 2019-04-05 16:18:14 -06:00
Johann Dahm 5a49b720ba Fix MFEM_USE_OPENMP=YES usage 2019-04-05 14:19:28 -07:00
camierjs b56af2f3bd Revert overriding MFEM_DIR with MFEM_REAL_DIR 2019-04-05 13:37:21 -07:00
dmed256 ccd9b0280e Use MFEM_INSTALL_DIR to find occa kernel locations 2019-04-05 11:12:23 -07:00
Johann Dahm 9354023ce2 Add back MFEM_USE_OPENMP option and fix build 2019-04-04 23:35:53 -07:00
Johann Dahm 3e73f0b4a3 Silence recursive make commands 2019-04-04 20:38:21 -07:00
Johann Dahm 49d6033f5c Fix build 2019-04-04 20:36:35 -07:00
Johann Dahm a2614ad20f MFEM_USE_OPENMP -> MFEM_USE_LEGACY_OPENMP 2019-04-04 20:26:38 -07:00
Johann Dahm 8409f6e819 Revert "Renamed the old OpenMP support option to MFEM_LEGACY_USE_OPENP, so"
This reverts commit 575f351419.
2019-04-04 20:25:45 -07:00
Johann Dahm 0bcb24bc92 Merge branch 'openmp-warning-dev' of github.com:mfem/mfem into openmp-warning-dev 2019-04-04 20:07:55 -07:00
Johann Dahm 1397a87417 Print after lib target and add color 2019-04-04 19:53:35 -07:00
Tzanio 575f351419 Renamed the old OpenMP support option to MFEM_LEGACY_USE_OPENP, so
MFEM_LEGACY_OPENMP can be used for OpenMP support in the Okina kernels.
2019-04-04 19:50:46 -07:00
Tzanio 1cf8bdeb5d Better way to handle MFEM_LINK_FLAGS 2019-03-26 17:14:25 -07:00
Tzanio 1da188807e Travis test 2019-03-25 22:08:08 -07:00
Tzanio 8e257aba4d Properly export MFEM_LINK_FLAGS 2019-03-25 21:42:46 -07:00
Tzanio 52e0553880 Use MPI_LIB, etc. only in parallel CUDA mode 2019-03-25 21:21:28 -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
camierjs 7cff79add8 Merge branch 'okina-cleanup-dev' of github.com:mfem/mfem into okina-cleanup-dev 2019-03-25 11:24:33 -07:00
camierjs fd348ed49b makefile cuda, pcuda, cudebug and pcudebug targets 2019-03-25 11:18:07 -07:00
Tzanio 2a9272be5a some styling 2019-03-23 12:16:18 -07:00
camierjs e11ba95021 makefile pcuda target
Re-introduce DeviceVector3 class
Remove the mutable from MFEM_FORALL
Simplified the dtensor class
2019-03-22 18:42:28 -07:00
Tzanio b8d03dba88 Support 'make cuda' 2019-03-21 17:10:22 -07:00
camierjs f41a0e90a9 Makefile cross-compiler, examples 1, 1p, 6, 6p and Laghos on GPU+MPI 2019-03-15 18:28:35 -07:00
camierjs 9bbc8a93d1 RAJA include/library configuration 2019-03-13 17:13:52 -07:00
Johann Dahm 38d19e760e Add makefile-style deprecation warning 2019-03-12 18:58:27 -07:00
camierjs e4d79d0020 Delete fem/kernels subdir 2019-03-06 18:40:18 -08:00
camierjs 74d5338d3e Move in fem: geom_pa, doftoquad => bilininteg_ext 2019-03-06 12:35:01 -08:00
camierjs 39d98cdb2c Merge branch 'okina' into okina-integ 2019-02-19 09:23:03 -08:00
Jean-Sylvain CAMIER c8e0dea6e3 Merge pull request #727 from mfem/artv3/okina-raja
Okina - RAJA (seq, omp, cuda) backend [artv3/okina-raja]
2019-02-14 09:01:29 -08:00
artv3 edc795534c makefile will now create needed directories 2019-02-13 13:05:07 -08:00
Tzanio 668a5ddaa3 make style 2019-02-06 13:11:13 -08:00
Tzanio 14e536bea8 make style in DIRS/kernels 2019-01-28 14:40:49 -08:00