Lines Matching refs:examples
47 These optimization flags are used by all languages (C, C++, Fortran) and this makefile variable can also be set for testing and examples (below).
146 There are multiple supported backends, which can be selected at runtime in the examples:
234 libCEED comes with several examples of its usage, ranging from standalone C codes in the `/examples/ceed` directory to examples based on external packages, such as MFEM, PETSc, and Nek5000.
237 To build the examples, set the `MFEM_DIR`, `PETSC_DIR` (and optionally `PETSC_ARCH`), and `NEK5K_DIR` variables and run:
240 $ cd examples/
243 <!-- running-examples-inclusion -->
246 # libCEED examples on CPU and GPU
255 # MFEM+libCEED examples on CPU and GPU
262 # Nek5000+libCEED examples on CPU and GPU
265 $ ./nek-examples.sh -e bp1 -ceed /cpu/self -b 3
266 $ ./nek-examples.sh -e bp3 -ceed /gpu/cuda -b 3
269 # PETSc+libCEED examples on CPU and GPU
324 Other command line arguments can be found in [examples/petsc](https://github.com/CEED/libCEED/blob/main/examples/petsc/README.md).
326 <!-- running-examples-exclusion -->
507 [binder-link]: https://mybinder.org/v2/gh/CEED/libCEED/main?urlpath=lab/tree/examples/python/tutorial-0-ceed.ipynb