| /libCEED/examples/nek/ |
| H A D | README.md | 6 It is assumed to exist at `../../../Nek5000` (a sibling to the libCEED directory) or at a path defi… 24 You can also build the Nek5000 libCEED examples by invoking `nek-examples.sh` script. 26 ./nek-examples.sh -m 38 You can run the Nek5000 libCEED examples by invoking `nek-examples.sh` script. 41 ./nek-examples.sh -c <ceed_backend> -e <example_name> \ 42 -n <mpi_ranks> -b <box_geometry> 47 -h|-help Print this usage information and exit 48 -c|-ceed Ceed backend to be used for the run (optional, default: /cpu/self) 49 -e|-example Example name (optional, default: bp1) 50 -n|-np Specify number of MPI ranks for the run (optional, default: 1) [all …]
|
| H A D | nek-examples.sh | 4 # the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights 8 # libraries and APIs for efficient high-order finite element and spectral 12 # The CEED research is supported by the Exascale Computing Project (17-SC-20-SC) 48 if [[ "${#BASH_ARGV[@]}" -ne "$#" ]]; then 72 -h|-help Print this usage information and exit 73 -c|-ceed Ceed backend to be used for the run (optional, default: /cpu/self) 74 -e|-example Example name (optional, default: bp1) 75 -n|-np Specify number of MPI ranks for the run (optional, default: 1) 76 -t|-test Run in test mode (not on by default) 77 -b|-box Box case in boxes sub-directory found along with this script (default: 2x2x2) [all …]
|
| /libCEED/examples/mfem/ |
| H A D | Makefile | 1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors 2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 # SPDX-License-Identifier: BSD-2-Clause 9 -include $(COMMON) 11 OPT ?= -O -g 13 # Ceed directory 15 CEED_FLAGS ?= -I$(CEED_DIR)/include $(OPT) 16 CEED_LIBS ?= -Wl,-rpath,$(abspath $(CEED_DIR)/lib) -L$(CEED_DIR)/lib -lceed 18 # Use an MFEM build directory or an MFEM install directory 22 MFEM_DEF = -DMFEM_DIR="\"$(abspath $(MFEM_DIR))\"" [all …]
|
| /libCEED/rust/libceed-sys/ |
| H A D | README.md | 1 # libceed-sys: unsafe bindings to libCEED 7 libCEED is a low-level API for for the efficient high-order discretization methods developed by the… 8 While our focus is on high-order finite elements, the approach is mostly algebraic and thus applica… 15 libceed-sys = "0.12.0" 21 libceed-sys = { git = "https://github.com/CEED/libCEED", branch = "main" } 26 * `system`: use libceed from a system directory (otherwise, install from source) 30 To develop libCEED, use `cargo build` in the `rust/libceed-sys` directory to install a local copy a… 32 …tom flags for the C project, we recommend using `make -C c-src configure` to cache arguments in `c… 44 …omewhere that can be found by pkg-config, then you'll need to set `LD_LIBRARY_PATH` to the appropr… 48 export LD_LIBRARY_PATH=$CEED_DIR/target/debug/build/libceed-sys-d1ea22c6e1ad3f23/out/lib [all …]
|
| /libCEED/doc/sphinx/source/ |
| H A D | conf.py | 2 # -*- coding: utf-8 -*- 5 # sphinx-quickstart on Tue Jan 7 18:59:28 2020. 7 # This file is execfile()d with the current directory set to its 16 # If extensions (or modules to document with autodoc) are in another directory, 17 # add these directories to sys.path here. If the directory is relative to the 31 # -- General configuration ------------------------------------------------ 60 # The following, if true, allows figures, tables and code-blocks to be 64 # Add any paths that contain templates here, relative to this directory. 99 # List of patterns, relative to source directory, that match files and 118 # sphinxcontrib-bibtex 2.0 requires listing all bibtex files here [all …]
|
| H A D | gpu.md | 10 The filepath may also be a relative path with respect to a root directory set with {c:func}`CeedAdd… 23 …edVector` and `CeedQFunctionContext` have read-only and read-write accessors, and `CeedVector` all… 24 Read-only access of `CeedVector` and `CeedQFunctionContext` memory spaces must be respected for to … 25 Write-only access of `CeedVector` memory spaces asserts that all data in the `CeedVector` is invali… 27 `CeedQFunction` assume that all input arrays are read-only and all output arrays are write-only and… 28 …er` have read-write access for `CeedQFunctionContext` data, unless {c:func}`CeedQFunctionSetContex… 30 The `/cpu/self/memcheck` backends explicitly verify read-only and write-only memory access assumpti…
|
| /libCEED/ |
| H A D | Doxyfile | 20 # doxygen -x [configFile] 24 # doxygen -x_noenv [configFile] 26 #--------------------------------------------------------------------------- 28 #--------------------------------------------------------------------------- 31 # file that follow. The default is UTF-8 which is also the encoding used for all 35 # The default value is: UTF-8. 37 DOXYFILE_ENCODING = UTF-8 40 # double-quotes, unless you are using Doxywizard) that should identify the 62 # the logo to the output directory. 69 # left blank the current directory will be used. [all …]
|
| H A D | .gitlab-ci.yml | 1 # ---------------------------------------------------------------------------------------- 3 # ---------------------------------------------------------------------------------------- 5 - test:cpu-and-tidy 6 - test:gpu-and-float 13 # ---------------------------------------------------------------------------------------- 15 # ---------------------------------------------------------------------------------------- 16 noether-asan: 17 stage: test:cpu-and-tidy 19 - cpu 24 - export COVERAGE=0 CC=gcc CXX=g++ FC=gfortran [all …]
|
| H A D | README.md | 3 [![GitHub Actions][github-badge]][github-link] 4 [![GitLab-CI][gitlab-badge]][gitlab-link] 5 [![Code coverage][codecov-badge]][codecov-link] 6 [![BSD-2-Clause][license-badge]][license-link] 7 [![Documentation][doc-badge]][doc-link] 8 [![JOSS paper][joss-badge]][joss-link] 9 [![Binder][binder-badge]][binder-link] 13 libCEED provides fast algebra for element-based discretizations, designed for performance portabili… 15 While our focus is on high-order finite elements, the approach is mostly algebraic and thus applica… 17 One of the challenges with high-order methods is that a global sparse matrix is no longer a good re… [all …]
|
| H A D | .readthedocs.yml | 2 # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details 8 os: ubuntu-24.04 13 - librsvg2-bin 16 - npx playwright install 17 - npm install -g @mermaid-js/mermaid-cli 19 # Build documentation in the docs/ directory with Sphinx 26 - pdf 31 - requirements: doc/sphinx/requirements.txt
|
| /libCEED/doc/ |
| H A D | README.md | 10 pip install --user -r doc/sphinx/requirements.txt # only needed once 18 …e to libCEED's User Manual, Sphinx needs to be [installed](http://www.sphinx-doc.org/en/master/usa… 20 …on Doxygen's XML output (via the `breathe` plugin). Build these files in the `xml/` directory via: 29 make -C doc/sphinx html 32 which will HTML docs in the [doc/sphinx/build](./sphinx/build) directory. Use 35 make -C doc/sphinx latexpdf 39 This requires the `rsvg-convert` utility, which is likely available from your package manager under… 44 make -C doc/sphinx help 52 pip install --user -r doc/sphinx/requirements.txt 61 pip install -r doc/sphinx/requirements.txt # install dependencies inside VENV
|
| /libCEED/examples/ |
| H A D | Makefile | 2 # the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights 6 # libraries and APIs for efficient high-order finite element and spectral 10 # The CEED research is supported by the Exascale Computing Project (17-SC-20-SC) 18 CEED_FLAGS ?= -I$(CEED_DIR)/include 19 CEED_LIBS ?= -Wl,-rpath,$(CEED_DIR)/lib -L$(CEED_DIR)/lib -lceed 21 # Use an MFEM build directory or an MFEM install directory 37 make CEED_DIR=$(CEED_DIR) -C ceed all 40 make CEED_DIR=$(CEED_DIR) MFEM_DIR=$(MFEM_DIR) -C mfem all 44 # such as when calling `make prove-all -j2` for the top level Makefile. 46 +make CEED_DIR=$(CEED_DIR) NEK5K_DIR=$(NEK5K_DIR) MPI=$(MPI) -C nek bps [all …]
|
| H A D | index.md | 6 in the {file}`examples/` directory. 7 …ps://mfem.org), and [Nek5000](https://nek5000.mcs.anl.gov/), as well as more substantial mini-apps.
|
| H A D | README.md | 12 <!-- bps-inclusion --> 14 …EED) uses Bakeoff Problems (BPs) to test and compare the performance of high-order finite element … 20 :::{list-table} 21 :header-rows: 1 23 * - User code 24 - Supported BPs 25 * - `deal.II` 26 - * BP1 (scalar mass operator) with $Q=P+1$ 32 * - `mfem` 33 - * BP1 (scalar mass operator) with $Q=P+1$ [all …]
|
| /libCEED/tests/junit-xml/junit_xml/ |
| H A D | __init__.py | 2 # -*- coding: UTF-8 -*- 22 <?xml version="1.0" encoding="utf-8"?> 25 package="testdb" tests="4" timestamp="2012-11-15T01:02:29"> 27 <property name="assert-passed" value="1"/> 29 <testcase classname="testdb.directory" name="1-passed-test" time="10"/> 30 <testcase classname="testdb.directory" name="2-failed-test" time="20"> 35 <testcase classname="package.directory" name="3-errord-test" time="15"> 40 <testcase classname="package.directory" name="3-skipped-test" time="0"> 45 <testcase classname="testdb.directory" name="3-passed-test" time="10"> 46 <system-out> [all …]
|
| /libCEED/examples/python/ |
| H A D | setup_qfunctions.py | 5 # Get CEED directory 20 extra_compile_args = ["-O3", "-march=native", "-std=c11"]
|
| /libCEED/examples/ceed/ |
| H A D | Makefile | 1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors 2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 # SPDX-License-Identifier: BSD-2-Clause 8 OPT ?= -O -g 10 # Ceed directory 12 CEED_FLAGS ?= -I$(CEED_DIR)/include -std=c11 $(OPT) 13 CEED_LIBS ?= -Wl,-rpath,$(abspath $(CEED_DIR)/lib) -L$(CEED_DIR)/lib -lceed -lm 24 # Remove built-in rules 29 $(LINK.c) $(CEED_FLAGS) $(CEED_LDFLAGS) $< -o $@ $(CEED_LIBS) 32 rm -f *~ $(EXAMPLES) [all …]
|
| /libCEED/examples/rust-qfunctions/ |
| H A D | Makefile | 1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors 2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 # SPDX-License-Identifier: BSD-2-Clause 8 OPT ?= -O -g 10 # Ceed directory 12 CEED_FLAGS ?= -I$(CEED_DIR)/include -std=c11 $(OPT) 13 CEED_LIBS ?= -Wl,-rpath,$(abspath $(CEED_DIR)/lib) -L$(CEED_DIR)/lib -lceed -L$(CEED_DIR)/examples/… 24 # Remove built-in rules 28 ex1-volume: ex1-volume.c 29 …cargo +nightly build --release --manifest-path ex1-volume-rs/Cargo.toml --config ex1-volume-rs/.ca… [all …]
|
| /libCEED/backends/magma/tuning/ |
| H A D | README.md | 1 # MAGMA Backend Autotuning (Non-tensor Basis) 3 The `magma` backend uses specialized GPU kernels for a non-tensor basis with 18 python generate_tuning.py -arch a100 -max-nb 32 -build-cmd "make" -ceed "/gpu/cuda/magma" 21 The `-build-cmd` parameter specifies the command which should be used to compile 24 call to `make configure` has configured the build. Finally, the `-ceed` 29 the basis application for a given backend. Run `make tuning` from this directory 37 `ceed_magma_queue_sync` in `ceed-magma.h` should be set to
|
| /libCEED/benchmarks/ |
| H A D | README.md | 3 This directory contains benchmark problems for performance evaluation of libCEED 10 benchmark.sh -c /cpu/self -r petsc-bpsraw.sh -b bp1 -n 16 -p 16 12 where the option `-c <specs-list>` specifies a list of libCEED specs to 13 benchmark, `-b <bp-list>` specifies a list of CEED benchmark problems to run, 14 `-n 16` is the total number of processors and `-p 16` is the number 20 benchmark.sh -c "/cpu/self/ref/serial /cpu/self/ref/blocked" -r petsc-bpsraw.sh -b "bp1 bp3" -n "16… 23 The results from the benchmarks are written to files named `*-output.txt`. 25 For a short help message, use the option `-h`. 27 When running the tests `petsc-bpsraw.sh`, the following 29 * `max_dofs_node=<number>`, e.g. `max_dofs_node=1000000` - this sets the upper [all …]
|
| /libCEED/examples/fluids/ |
| H A D | stdoutParsing.py | 2 # Produced at the Lawrence Livermore National Laboratory. LLNL-CODE-734707. 6 # libraries and APIs for efficient high-order finite element and spectral 10 # The CEED research is supported by the Exascale Computing Project 17-SC-20-SC, 32 ---------- 33 file : Path-like object 37 ------- 61 # Directory location of log files
|
| /libCEED/rust/libceed/ |
| H A D | README.md | 3 …CEED/actions/workflows/rust-test-with-style.yml/badge.svg)](https://github.com/CEED/libCEED/action… 6 …o [libCEED](https://libceed.org), which is a performance-portable library for extensible element-b… 29 fn main() -> libceed::Result<()> { 44 …d in the [libCEED repository](https://github.com/CEED/libCEED) under the `examples/rust` directory. 52 cargo doc --features=katexit 55 ## License: BSD-2-Clause
|
| /libCEED/examples/solids/src/ |
| H A D | cl-options.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 11 #include "../include/cl-options.h" 16 // ----------------------------------------------------------------------------- 18 // ----------------------------------------------------------------------------- 27 …PetscCall(PetscOptionsString("-ceed", "CEED resource specifier", NULL, app_ctx->ceed_resource, app… in ProcessCommandLineOptions() 28 sizeof(app_ctx->ceed_resource), &ceed_flag)); in ProcessCommandLineOptions() 30 PetscCall(PetscStrncpy(app_ctx->output_dir, ".", 2)); // Default - current directory in ProcessCommandLineOptions() 31 …tscCall(PetscOptionsString("-output_dir", "Output directory", NULL, app_ctx->output_dir, app_ctx->… in ProcessCommandLineOptions() [all …]
|
| /libCEED/examples/deal.II/ |
| H A D | bps.h | 1 // --------------------------------------------------------------------- 12 // the top level directory of deal.II. 16 // --------------------------------------------------------------------- 76 this->n_q_points_1d = (type <= BPType::BP4) ? (fe_degree + 2) : (fe_degree + 1); in BPInfo() 78 this->n_components = in BPInfo() 112 * Perform matrix-vector product
|
| H A D | bps-cpu.h | 1 // --------------------------------------------------------------------- 12 // the top level directory of deal.II. 16 // --------------------------------------------------------------------- 88 * Matrix-vector product. 120 this->initialize_dof_vector(diagonal); in compute_inverse_diagonal() 140 i = (std::abs(i) > 1.0e-10) ? (1.0 / i) : 1.0; in compute_inverse_diagonal() 149 do_cell_integral_local(FEEvaluation<dim, -1, 0, n_components, Number> &phi) const in do_cell_integral_local() 177 FEEvaluation<dim, -1, 0, n_components, Number> phi(matrix_free, range); in do_cell_integral_range()
|