Victor A. Paludetto Magri
8017ce459b
Fix segfault on HYPRE_SStructGraphDestroy ( #617 )
...
This PR fixes a segmentation fault on HYPRE_SStructGraphDestroy. The error occurred when the number of graph entries added to the SStructGraph via HYPRE_SStructGraphAddEntries was larger than 1000.
2022-04-06 21:12:41 -07:00
Victor A. Paludetto Magri
e16167fe46
Fix copyright ( #615 )
...
This PR updates Copyright headers from "Copyright 1998-2019 ..." to "Copyright (c) 1998 ..."
2022-04-05 16:19:51 -07:00
Victor A. Paludetto Magri
6fd043c9c2
(S)Struct IO on GPUs ( #599 )
...
This PR extends the (semi)-struct matrix/vector IO functions added on #583 with GPU support. Additionally:
* Fix regression tests on Lassen.
* Read data values into host memory
* Update Umatrix read algorithm when the ParCSRMatrix is expected to live on the device
* Reset deallocated pointers at hypre_IJMatrixDestroyParCSR to NULL
* Clone rownnz info if present on a CSRMatrix
* Reduce memory transfer and remove unused variables
* Fix bug with -print option
* Build rownnz info also when the ParCSRMatrix is in assembled state
* Remove a few instances of "return ierr"
* Refactor (s)struct IO - code works with cuda and without UM
* Add executables to gitignore
2022-03-13 20:14:23 -07:00
Victor A. Paludetto Magri
33a5051398
Add SStruct IO functions ( #583 )
...
This PR adds support for native print/read functions of SStructMatrix and SStructVector. Other important changes are:
* Add public functions for reading StructMatrix and StructVector.
* Add a new set of regression tests called "io" to the TEST_sstruct folder.
2022-02-17 18:06:23 -08:00
Ruipeng Li
8ba048c0b5
Forced regeneration of softlinks in shared library builds. ( #574 )
...
This PR (copied from #573 ) added -f to softlink generation to all the makefiles.
2022-02-07 16:54:44 -08:00
Wayne Mitchell
4232108a4d
Add SYCL support ( #431 )
...
This sets up basic infrastructure (e.g. memory management, device setup, etc.)
and implements the boxloops and structure solvers in sycl.
2021-11-22 16:54:22 -08:00
Rob Falgout
805ee77be8
Adding source file indentation with astyle ( #498 )
...
This PR adds automatic indentation using Artistic Style (astyle). The script config/astyle-apply.sh runs the indentation using the configuration file config/astylerc. The script also runs headers in all of the directories that automatically generate internal _hypre_*.h header files. Much of this was borrowed from the MFEM project. A pre-commit git hook was also added.
2021-11-08 19:26:59 -08:00
Rob Falgout
1d9411c7ab
Fix make clean ( #387 )
...
Fixed Makefile clean targets to explicitly remove '*.obj' files. The previous approach had the potential to delete developer files that were not intended to be removed.
2021-05-27 17:33:19 -07:00
Sarah Osborn
8a41a42c8d
Cmake cuda updates ( #349 )
...
Add CUDA options to CMake.
* Add CUDA options to CMake, including adding CUDA_SRCS to each sub-directory's CMake list
* Changes so that HYPRE_config.h from CMake is consistent with configure
* Fix to license commenting style
* Add CUDA + CMake tests for building on lassen
2021-05-19 15:39:57 -05:00
Ruipeng Li
67a0bdeab9
Hip support ( #298 )
...
This PR (by @pbauman #297 ) is a primary step in adding HIP support.
Co-authored-by: Paul T. Bauman <ptbauman@gmail.com>
2021-03-10 09:17:15 -08:00
Ruipeng Li
4630047ad3
HYPRE_USING_GPU ( #295 )
...
This PR (by @pbauman #292 ) takes instances of #if defined(HYPRE_USING_CUDA) || defined(HYPRE_USING_DEVICE_OPENMP) and changes them to #if defined(HYPRE_USING_GPU).
Co-authored-by: Paul T. Bauman <ptbauman@gmail.com>
2021-03-05 16:35:03 -08:00
Ruipeng Li
51e5a4c6de
SStruct interface without UVM ( #170 )
...
In this PR, we removed the dependency of UVM when building with CUDA for the SStruct solvers, and added a "memory tracker" to help debugging memory leak or misuse.
2021-02-09 11:21:39 -08:00
Rob Falgout
be18e595ae
Remove the global partition code from hypre ( #273 )
...
This PR removes the global partition code from hypre.
2021-02-08 15:16:29 -08:00
Ruipeng Li
5eb6e965e9
changes per Rob's advice
2020-06-16 18:00:50 -07:00
Ruipeng Li
aad671be81
separation of C/C++ headers, and all the adjustment from it
2020-06-14 19:35:54 -07:00
Ruipeng Li
0c37e65d54
a minor change
2020-05-19 14:23:50 -07:00
Ruipeng Li
97631a5059
fixed compiler warning
2020-03-08 13:57:06 -07:00
Ruipeng Li
51f085b233
minor changes
2020-03-05 12:57:00 -08:00
Ruipeng Li
c4e6cdc080
for running regression tests with GPU setup/assembly
2020-03-04 17:25:13 -08:00
Ruipeng Li
f491d130f1
Merge branch 'master' of https://github.com/hypre-space/hypre into amg-setup
...
Conflicts:
src/IJ_mv/HYPRE_IJ_mv.h
src/parcsr_ls/HYPRE_parcsr_ls.h
src/parcsr_ls/_hypre_parcsr_ls.h
src/parcsr_ls/par_amg.h
src/parcsr_ls/par_amg_setup.c
src/parcsr_ls/par_coarsen.c
src/parcsr_ls/par_cycle.c
src/parcsr_ls/par_interp.c
src/parcsr_ls/par_mgr.h
src/parcsr_ls/par_mgr_setup.c
src/parcsr_ls/par_mgr_solve.c
src/parcsr_ls/par_strength.c
src/parcsr_mv/par_csr_matrix.c
src/test/ij.c
2020-02-27 14:41:09 -08:00
Ruipeng Li
1afd4a09a9
memory model, exec policy, etc
2020-02-24 22:16:18 -08:00
Ruipeng Li
45588b2189
Merge branch 'master' of https://github.com/hypre-space/hypre into amg-setup
...
Conflicts:
src/parcsr_ls/par_amg_setup.c
2020-01-27 12:36:52 -08:00
Rob Falgout
0156434134
Adding system interface reference to new API tab in User Manual
2020-01-17 18:37:36 -08:00
Peter Hill
4bb6d3d7c8
CMake: Remove unused HYPRE_SOURCES
2020-01-10 11:02:18 +00:00
Peter Hill
a708f8b335
CMake: first pass at using target-based approach
2020-01-10 11:02:18 +00:00
Ruipeng Li
6c51a90eea
memory tracker; do not save the size in device malloc anymore; prototype of TRealloc changed!
2019-12-02 10:50:11 -08:00
Ruipeng Li
4c15015b8d
changes after regression tests
2019-11-12 16:57:05 -08:00
Ruipeng Li
3d9f90e8c8
revoke all format changes
2019-11-05 14:14:00 -08:00
Ruipeng Li
abee12a098
only format changes [typos, trailing whitespaces, tabs]
2019-11-05 11:11:23 -08:00
Ruipeng Li
0af952509c
Merge branch 'master' of https://github.com/hypre-space/hypre into amg-setup
...
Conflicts:
src/CMakeLists.txt
src/config/configure.in
src/parcsr_ls/HYPRE_parcsr_ls.h
src/parcsr_ls/_hypre_parcsr_ls.h
src/parcsr_ls/aux_interp.c
src/parcsr_ls/par_amg.c
src/parcsr_ls/par_amg_setup.c
src/parcsr_ls/par_coarsen.c
src/parcsr_ls/par_cycle.c
src/parcsr_ls/par_interp.c
src/parcsr_ls/par_strength.c
src/parcsr_mv/_hypre_parcsr_mv.h
src/parcsr_mv/par_csr_assumed_part.c
src/parcsr_mv/par_csr_communication.c
src/parcsr_mv/par_csr_communication.h
src/parcsr_mv/par_csr_matop.c
src/parcsr_mv/par_csr_matrix.c
src/parcsr_mv/par_csr_matrix.h
src/seq_mv/csr_matrix.c
src/seq_mv/seq_mv.h
src/utilities/_hypre_utilities.h
src/utilities/hypre_memory.h
src/utilities/protos.h
2019-09-25 15:36:06 -07:00
Sarah Virginia Osborn
1da9b8009d
Each subdirectory now contains its own cmake list.
2019-08-15 09:20:19 -07:00
Ruipeng Li
8e8eb4f5cb
Merge branch 'master' of https://github.com/hypre-space/hypre into amg-setup
...
Conflicts:
src/IJ_mv/IJMatrix_parcsr.c
src/parcsr_ls/par_nongalerkin.c
src/seq_mv/csr_matrix.c
src/utilities/_hypre_utilities.h
src/utilities/binsearch.c
src/utilities/gpuErrorCheck.c
src/utilities/gpuErrorCheck.h
src/utilities/gpuMem.c
src/utilities/gpuMem.h
src/utilities/hypre_cuda_reducer.h
src/utilities/hypre_nvtx.h
src/utilities/hypre_reducesum.c
src/utilities/protos.h
2019-07-22 15:36:07 -07:00
Rob Falgout
30576915e3
Reran headers scripts
2019-07-07 19:54:48 -07:00
Rob Falgout
48c9f0b972
Changed all of the headers
2019-07-07 19:26:24 -07:00
Ruipeng Li
026b14cf7e
code refactor
2019-06-04 16:31:31 -07:00
Ulrike Yang
84d50104d9
Added HYPRE_BigInts in various places
2019-02-15 15:04:27 -08:00
Falgout, Rob
88efcc6ccc
Merge pull request #18 in HYPRE/hypre from ~OXBERRY1/hypre:fix-configure-shared-libs-on-macs-dev to master
...
* commit 'c5db8367db7873cabe2d7e60a577eb1eb158f364':
build system: patch to build macOS shared libs
2018-09-13 10:06:39 -07:00
Geoffrey Malcolm Oxberry
c5db8367db
build system: patch to build macOS shared libs
2018-09-12 17:27:08 -07:00
Ruipeng Li
26e339c8d4
Merge branch 'boxvalues' of ssh://mybitbucket.llnl.gov:7999/hypre/hypre into new_raja_dev
...
Conflicts:
src/sstruct_mv/sstruct_matrix.c
src/sstruct_mv/sstruct_vector.c
2018-09-07 17:56:47 -07:00
Ruipeng Li
20523a5662
fix bug with a hypre_TFree(,**). **should be HYPRE_MEMORY_SHARED
2018-09-04 15:49:25 -07:00
Ruipeng Li
30684c21e6
1. configure 2. remove all managed memory needs in Struct 3. redid reduction 4. a lot more
2018-08-29 17:07:28 -07:00
Ruipeng Li
f8f76c8feb
1. fixed issues with raja 2. working on configure options
2018-07-14 10:59:16 -07:00
Joseph M. Koning
329a31af98
Merge branch 'master' into origin/openmp_raja
2018-06-18 12:22:44 -07:00
Rob Falgout
201dc36734
This version of SetBoxValues2-with-GPU runs the tux autotests cleanly.
...
There may be some issues on GPUs that will need to be fixed.
2018-03-23 10:49:03 -07:00
Rob Falgout
1694ad83e4
Merge branch 'master' into boxvalues
...
There are still a few issues to fix, but this is a first cut at merging the
memory model and other GPU changes with the SetBoxValues2 changes.
2018-03-22 10:05:38 -07:00
Joseph M. Koning
97f274de74
Alter #ifdafe HYPRE_USING_OPENMP to #if defined(HYPRE_USING_OPENMP) &&
...
!defined(HYPRE_USE_RAJA)
2018-03-02 14:33:16 -08:00
Rob Falgout
26cad86684
Forgot to remove an incorrect comment in UMatrixSetBoxValues
2018-02-25 16:34:16 -08:00
Rob Falgout
a27d3cdde3
Added comments to SStructUMatrixSetBoxValues related to IJSetValues2 implementation
2018-02-25 16:30:40 -08:00
Rob Falgout
fc600295d7
Fixed a memory leak in new SetBoxValues2. Regression tests are clean now.
2018-02-25 15:44:34 -08:00
Rob Falgout
7456d2d9ff
Finished SetBoxValues2 implementation. Running additional tests.
2018-02-24 18:29:43 -08:00