| dc8efd83 | 31-Mar-2021 |
Leila Ghaffari <49916147+LeilaGhaffari@users.noreply.github.com> |
Fluids - More Regression Tests (#687)
* examples/fluids: Regression tests: Changed the reference files' names and
the flags to associate with the corresponding example (so far
density_current only
Fluids - More Regression Tests (#687)
* examples/fluids: Regression tests: Changed the reference files' names and
the flags to associate with the corresponding example (so far
density_current only)
Changed the files' names
Changed the flags
* examples/fluids: added new regression tests for advection(2d)
* examples/fluids: regression tests: removed the enums and passed defined command-line options for filepath and test tolerance.
Removed solver controls and assigned testtol=1E-11 for explicit cases.
style
examples/fluids: regression tests: fixed the pathfile issue (it needs to be relative)
examples/fluids: Specified a name for each test
examples/fluids: TESTARGS - trying absolute path for the test files
* tests/tap.sh: Print out test names for fluids examples
inspired-by: @jeremylt
tests/tap.sh: drop quotation marks from the printed test names
* tests: specify test name for ceed and nek examples and print the names when there are multiple test arguments
* examples/fluids: remove test_ from test names
* style
* tests/junit.py: Add name for tests with multiple test cases
* examples/ceed/ex1-volume.c: make the naming of the tests consistent
* tests/junit.py: a more compact if statement
helped-by: @jeremylt
* examples/fluids: drop the broken supg test of density_current for now
The stabilization enum is not passed to density_current QFunction hence
the test doesn't work. We need to create a new test when the code is
debugged.
show more ...
|
| e15f9bd0 | 20-Mar-2021 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Error Handling Improvement [fix #696] (#691)
* Operator - add operator/qfunction field compatibility checks
* QFunction - do not allow adding fields to QFunction in use with an operator
* Exam
Error Handling Improvement [fix #696] (#691)
* Operator - add operator/qfunction field compatibility checks
* QFunction - do not allow adding fields to QFunction in use with an operator
* Examples - add some extra exclusion markers in ceed example
* error - add error enum
* error - update error enum names and numbering
* error - use CEED_ERROR_BACKEND in all backend errors
* error - begin classifying interface errors
* error - update backends to use CEED_ERROR_SUCCESS and CeedChkBackend
* error - use new errors in gallery
* error - add some unsaved modifications
* error - improve documentation
* error - define CEED_ERROR_SUCCESS in GPU JiT; we really should have a common header to pipe defines to the JiT code
* error - more error code editing
* error - fix error string
* operator - fix setting field qpts
* basis - add input/output dimension error checking
* python - move basis utility methods to ceed object, no basis required or used
* python - force exit with negative error code
* make style-py
* rust - initial work to add error handling logic
* rust - add ceed.resource method
* rust - add results for methods that may fail
* rust - also format doctests
* minor - drop unused CeedChk()
* error - rename terminal/nonterminal to major/minor
* rust - set ErrorStore as default errorhandler
* python - revert error handing change for python
* python - use success error code from C bindings
* error - only upgrade error code in backend if positive
show more ...
|
| 1070991d | 24-Jan-2021 |
Jed Brown <jed@jedbrown.org> |
Add version macros and CeedGetVersion() [fix #697]
Requested-by: Freddie Witherden <freddie@witherden.org> |
| ded9b81d | 12-Jan-2021 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Rust - add examples (#683)
* Rust - initial version of ex1
Example - move closure
Co-authored-by: Jed Brown <jed@jedbrown.org>
typo fix
Co-authored-by: Jed Brown <jed@jedbrown.org>
mi
Rust - add examples (#683)
* Rust - initial version of ex1
Example - move closure
Co-authored-by: Jed Brown <jed@jedbrown.org>
typo fix
Co-authored-by: Jed Brown <jed@jedbrown.org>
minor tidying
order -> degree
drop operator applicaiton messages
* rust: make top-level workspace and use libceed from path
This allows a single "cargo test" from the top level.
* rust: add version-sync (to help us remember when we publish a crate)
* examples - consistency update
* Rust - add Cargo.lock to top level gitignore
* rust - refactor example to add tests
* Rust - test and style from workspace
* Rust - update year in header
* Rust - add error values to Error, switch to String
* Rust - add input validation in check
* Rust - format volume output in example
* Rust - update example help output
* Rust - example tests rename to simplify
* Rust - split example 1 into 3 parts
* rust: std::sync::Once for CeedRegisterAll()
* Promote CeedRegisterAll() and CeedQFunctionRegisterAll() to User
* Guard calls to CeedInit() to avoid races in parallel testing
* Examples - update rust example to new builder syntax
* Examples - add rust ex2
* Rust - add CEED_STRIDES_BACKEND
* Examples - drop unused restriction in ceed ex2
* Rust - minor documentation update
* Rust - adopt convention of 'dimension-like' values all using usize; reduces casting
* Actions - add Rust code coverage
* Rust - fix usize conversion
* Rust - update casting between i32(C interface) and usize(Rust interface)
* Actions - include Rust doctests
* Actions - Rust doctest coverange only avaliable in nightly
* Rust - drop explict typing of values passed to C get* functions
* Rust - modify version numbers tests, cargo-tarpaulin and cargo have different calling paths in tests
* cargo fmt
* Examples - add separate Rust example quiet mode
* Actions - rustfmt not always avaliable on nightly
* Rust - simplify version tests
* Actions - add a few notes
* CodeCov - try adding gallery to 'fixes'
* CodeCov - drop some codecov noise in examples
* Examples - test all combinations in ex1/ex2
* Rust - test 3d examples without quiet flag
* Actions - use gcc-10 for compatibility in gcov reports
* Examples - test gallery in 1/2/3d in Rust ex
* Gitlab - also report gcov version
* JUnit - adjust indentation
* Gitlab - make it easier to find complier info in logs
* Tests - fix minor styling strangeness in t002
* Actions - only upload rust coverage
* Actions - exclude non-rust files from rust coverage
* Cov - exclude weak symbols code, not useful cov info
* Examples - clean up options creation for tests in Rust examples
* Examples - simplify tolerance for testing Rust examples
* cargo fmt
* Examples - another match
* Examples - common Rust example code in shared local crate
Co-authored-by: Jed Brown <jed@jedbrown.org>
show more ...
|
| ca2d516c | 28-Dec-2020 |
Jed Brown <jed@jedbrown.org> |
tests: enable junit testing of petsc-multigrid with OCCA
OCCA used to skip this test, but it was enabled in tap.sh as part of issue #305 and I'm enabling here for junit (tested on noether and azure)
tests: enable junit testing of petsc-multigrid with OCCA
OCCA used to skip this test, but it was enabled in tap.sh as part of issue #305 and I'm enabling here for junit (tested on noether and azure).
Reported-by: Jeremy L. Thompson <jeremy.thompson@colorado.edu>
show more ...
|
| 37e4ed59 | 28-Dec-2020 |
Jed Brown <jed@jedbrown.org> |
tests/junit.py: fix start time variable misuse |
| 1b685ca3 | 07-Nov-2020 |
jeth8984 <jeth8984@noether> |
junit - fix args parsing for Nek |
| 5dc4928c | 06-Nov-2020 |
jeremylt <thompson.jeremy.luke@gmail.com> |
tests - exclude Nek+OCCA tests |
| ddb811d6 | 02-Oct-2020 |
Will Pazner <will.e.p@gmail.com> |
Update t504 and t523 output with correct field names |
| c9f8acf2 | 05-Oct-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
CI - add hipMAGMA to CI (#641)
* CI - add hipMAGMA to CI
* Magma - add clearer error message for unsupported basis ranges
* make style |
| ee166f75 | 30-Sep-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Tests - delete stray okl file (#640) |
| 187168c7 | 29-Sep-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Jeremy/py debugging (#637)
* Ceed - only store error with parent
* Python - assert state is not in write status
* Vector - add reader check to destructor
* make style
* remove debugging
Jeremy/py debugging (#637)
* Ceed - only store error with parent
* Python - assert state is not in write status
* Vector - add reader check to destructor
* make style
* remove debugging assertion
* Python - minor documentation correctness
* Python - hold reference to data array for USE_POINTER to prevent gc
* Python - hold reference to data array for USE_POINTER to prevent gc for restriction and context
* Python - use None object for initial ref back to ceed objects
* Python - add USE_POINTER to imports as needed
* Junit - update valid error message for writable access lock
* Python - change exception raised test to help gc
show more ...
|
| 9647a07e | 22-Aug-2020 |
David Medina <dmed256@gmail.com> |
OCCA Backend Update (#305)
* [Docs] Update docs for new OCCA backend
* [Fortran] CeedVectorRestoreArray fix
* [Test] Updates t002-ceed test to support query params
* [Make] Adds tidy for cp
OCCA Backend Update (#305)
* [Docs] Update docs for new OCCA backend
* [Fortran] CeedVectorRestoreArray fix
* [Test] Updates t002-ceed test to support query params
* [Make] Adds tidy for cpp files
* [OCCA] Updates OCCA backend
* PR feedback: Update StrideType naming
* PR feedback: Fixed USER_STRIDES vs BACKEND_STRIDES usage
* [OCCA] Add comments to code generation
* [CI] Removes commit from OCCA build
* PR Feedback: Update README
* PR Feedback: Removed compiler warnings
* Fix restriction function changes
* occa: track AssembleLinear -> LinearAssemble
* [OCCA][Vector] Adds takeArray method
* [OCCA][Restriction] Fixes restriction strides
* [OCCA][Operator] Adds point block diagonal registration
* [OCCA][Operator] Fixes
* OCCA - update debug color for visability
* Travis - fix extra fi
* OCCA - adjust kernel, multi component derivatives are expected as [dim][comp][q]
* OCCA - adjust basis kernel args in operator kernel to agree with expected [dim][comp][q] ordeing
* OCCA - fix uninitalized memory in grad transpose 3d kernel
* OCCA - fix Elayout description
* OCCA - fix bad dimensions in basis kernel
* OCCA - fix TakeArray to sync before returning array pointer
* MFEM - print error when test fails
* OCCA - fix 2d grad kernels
* OCCA - flag digonal of composite operators unsupported
* OCCA - fix restoreArray logic
* OCCA - minor cleanup with GPU
* Travis - add 'make info' where able for debugging
* OCCA - explictily test OpenCL mode
* OCCA - drop restrict for ElemRestriction kernels, OpenCL doesn't like it
* OCCA - explicitly test cuda and hip versions of OCCA backend
* OCCA - explicitly test OpenMP mode in OCCA
* Tests - modify check for VLA support for OCCA to catch all OCCA modes
* WIP - test possible OCCA fix for PowerPC
* OCCA - separate CPU modes for testing as well
* Readme - update list of OCCA backend modes
* Makefile - fix unterminated addprefix
* OCCA - enable direct access to OCCA Serial mode
* OCCA - add comments to registration
* Makefile - remove extra )
* OCCA - remove pass by reference C++ syntax for OpenCL compatability
* OCCA - drop use of @restrict for OpenCL
* OCCA - remove OpenCL mode, not fully supported in OCCA (see OCCA issue #166)
* OCCA - fixing rebase issues
* OCCA - Fix implementation of QFunctionContext
* OCCA - move GetContextSize so ierr check actually works
* Travis - use libOCCA instead of jeremylt/occa
* Junit - update OCCA test skip list
* Make - simplify OCCA check for enabled modes
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: Jeremy L. Thompson <jeremy.thompson@colorado.edu>
show more ...
|
| 777ff853 | 14-Aug-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
QFunction Context Data Object (#596)
* Ctx - create context object for QFunction context data
* Context - rename UserContext -> QFunctionContext
* Ctx - add lcov markers
* Ctx - fix leak in
QFunction Context Data Object (#596)
* Ctx - create context object for QFunction context data
* Context - rename UserContext -> QFunctionContext
* Ctx - add lcov markers
* Ctx - fix leak in identity QFunctions
* Hip/Cuda - rename sync functions for vector/context
* Tests - lcov marker update
* QFunction - drop unused function
* Python - fix copy-paste errors
* Ctx - update notes for Fortran usage
* Fortran - drop unneeded cast
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Interface - use void* for SetData interfaces
* Make - use call quiet for NVCC
* Interface - use void* for GetData interfaces
* Make - add quiet call option for examples
* Makefile - create common makefile to reduce duplication/complexity in example makefiles
Co-authored-by: Jed Brown <jed@jedbrown.org>
show more ...
|
| 752c3701 | 28-Jul-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Fix CodeCov Reports (#597)
* Tests - use qfunction headers for Fortran tests to improve bypass gcov issue
* Gitlab - use latest gcc on Noether
* Cuda/Hip - add case in reciprocal for completen
Fix CodeCov Reports (#597)
* Tests - use qfunction headers for Fortran tests to improve bypass gcov issue
* Gitlab - use latest gcc on Noether
* Cuda/Hip - add case in reciprocal for completeness
* Cuda - remove duplicate case
* Makefile - exclude fortran test headers from make style
* Travis - update to Focal
* Cov - adjust style to be consistent and avoid false misses
* Travis - update comments and style
show more ...
|
| d99fa3c5 | 28-Jul-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Op - add interface for multigrid level creation (#579)
* Op - add interface for multigrid level creation
* Op - add implementation for OperatorMultigridLevelCreate
* make style
* make tidy
Op - add interface for multigrid level creation (#579)
* Op - add interface for multigrid level creation
* Op - add implementation for OperatorMultigridLevelCreate
* make style
* make tidy
* Op - add test t550, fix errors
* Tests - add Fortran version of t550
* Tests - add t511 for testing tensor basis multigrid level setup
* make style and tidy
* Tests - fix t55* memory leaks
* Tests - add t552 for non-tensor basis multigrid levels
* CUDA - use CeedIntMax in shared CUDA backend
* Tests - add OCCA test exception for t55*
* Op - add lvector global prolongation multiplicity, simplifies user interface
* Solids - convert example to new interface
* make style
* Tests - convert t550 to multicomponent
* Solids - drop unused ceed_fine
* Python - add new multigrid level interface
* Python - fix operator wrap, use ceed python obj rather than ceed pointer
* Gallery - update comment slightly
* Tests - remove accidental duplicate test
* Multigrid - add size=2 case as well
* Operator - drop unneeded inline
* QFunction - simplify context ownership to match vector
* make style
* Python - update multigrid function signature
* Operator - refactor prolong/restrict qfunctions as scaling qfunctions
* Vector - add testing for reciprocal and add to Fortran/Python interfaces
* CUDA - add VectorReciprocal on device
* Gallery - drop specalized versions for 'Scale', wil fix performance hit later
* Hip - add vector reciprocal
* Operator - add more flexible prologation basis creation interface
* Vec - make sure data is set for VectorReciprocal
* Tests - drop ncomp for t550/1 so kernel is not too large for Magma backend
* Tests - add missing lcov markers
* make style
* Travis - allow ARM job to fail
* Travis - fix intel install
* Travis - try different install dir name for inteloneapi
* Travis - add ifort, ipp packages
* Tests - add missing lcov marker
show more ...
|
| 4d57a9fc | 24-Jul-2020 |
Jed Brown <jed@jedbrown.org> |
make junit: return failure when tests fail |
| eb3a2841 | 20-Jul-2020 |
Jeremy L Thompson <thompson.jeremy.luke@gmail.com> |
Tests - renumber python test t005 |
| 477729cf | 18-Jul-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Ceed - add message storing error handler (#587)
* Ceed - add message storing error handler
* Python - use CeedErrorStore and CeedGetErrorMessage to pass messages from C to Python
* make style
Ceed - add message storing error handler (#587)
* Ceed - add message storing error handler
* Python - use CeedErrorStore and CeedGetErrorMessage to pass messages from C to Python
* make style
* make tidy
* Python - add comment about cffi and vargs
* Ceed - add 'store' as possible env option for CEED_ERROR_HANDLER
* Python - and error handling for creation of ceed context
* Ceed - statically allocate error message array
* Ceed - simplify error message copying and guard against buffer overflow
* Tests - fix small t005 python bug
* Tests - fix small leak in t005
* Ceed - small fix in setting error handler from env
* Tests - add missing lcov markers
show more ...
|
| cd1fe911 | 17-Jul-2020 |
Jeremy L Thompson <thompson.jeremy.luke@gmail.com> |
Tests - add comment explaining double destroy in t000 |
| cc85b9c9 | 14-Jul-2020 |
Jeremy L Thompson <thompson.jeremy.luke@gmail.com> |
Fortran - guard double calls to ceed*destroy in Fortran interface |
| 6227f746 | 14-Jul-2020 |
Jeremy L Thompson <thompson.jeremy.luke@gmail.com> |
Tests - update test descriptions |
| 0c9255df | 14-Jul-2020 |
Jeremy L Thompson <thompson.jeremy.luke@gmail.com> |
Python - fix bad docstring copy-paste |
| 6397b31b | 14-Jul-2020 |
Jeremy L Thompson <thompson.jeremy.luke@gmail.com> |
Python - add operator diagonal assembly to the python interface |
| f2d6a716 | 01-Jul-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
Tests - add memory management note for t109 |