Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixed some issues Hoby found * print out Boost_LIBRARIES (may be null) * set include_dirs if Boost_LIBRARIES is not defined * Fix incorrect data type for non constant array * If we are using cmake >= 3.15, prefer config files over modules for package discovery * include some missing files * update instructions * Add -Wall -Werror flags * make functions static instead of using anonymous namespace to enforce ODR and avoid compiler warning * fix indentation * Put in the 'unused' attribute to get around the gcc 7.3.0 warning about an unused function * Check if LAPACKE is found ONLY if LAPACKE is enabled * set some Pkg_ROOT vars if they are not set * more tweaks to set Boost_ROOT correctly * more tweaks to set Boost_ROOT correctly * fix logic for LAPACKE error output * Set ENABLE_Jali * use target properties instead of global include and library definitions * comment out some definitions that should not be needed if wonton is a properly defined target * no need for ARCHOS * add wonton to library list (in the hopes it will recognize it as a target) * use target properties instead of global include and library definitions * no need for ARCHOS * changes to minimize use of cinch * changes to minimize use of cinch * rework cmake system to use targets and dependencies * rework to use target based system and better exporting of config and targets * renamed and reworked to find dependencies etc * update Jali and cmake versions * move mesh tests into CMakeLists.txt for particular wrappers; clarify library dependencies; use wonton_LIBRARIES instead of wonton_TARGETS * can only set INTERFACE properties on top level wonton INTERFACE type library * Add explicit ENABLE_Jali flag and use Jali_ROOT to indicate where Jali lives * set ENABLE_Jali=True and Jali_ROOT var instead of Jali_DIR * fix arguments for endif * add project(state) so that tests are created under state subdir; cleanup * make jali_state_wrapper test a parallel test running on 1 thread * error in Jali version * fixed more instances of using PUBLIC dependencies instead of INTERFACE for INTERFACE only wonton library * make wonton_support a dependency for each of the subdirectory targets * Thrust specifications have changed * simplify checking for compiler standards and setting MPI dependencies * removed unnecessary header declarations to minimize setting of variables * simplified enforcement of compiler standard * change r2d dir name to r3d * Rework LAPACKE search and linking * fix error that crept into Jali_ROOT filepath * don't allow enabling of jali when MPI is off * USE_LAPACKE changed to ENABLE_LAPACKE to be consistent with other flags * eliminate some debug prints * fix some mismatched parenthetical statements * test invocation of Wonton based thrust declarations and functions * add thrust_test and rework OpenMP dependency definition so that the compile definitions are brought along too * fix FOR_EACH test to use lambda instead of functor * change test_matfuncs to a serial test - making it a parallel test kicked up strange MPI_C++ interface errors * add OMPI_SKIP_MPICXX compile definition and fix source path for installation of config files * directly install header files because we cannot yet set PUBLIC_HEADER property on INTERFACE targets * minor fixes to get the wonton config file to write out correctly * Restore test to serial test * forgot to add wonton_state as dependency of wonton * move the WONTON_LIBRARIES name to the top where the library is being defined * correct the path for the input files so that they are retrieved from the wonton_SOURCE_DIR and not the project they are included in * Make sure the specified THRUST_ROOT dir actually has thrust files * module for finding NVidia Thrust * Find Thrust using package and incorporate the dependency finding into wontonConfig.cmake so downstream packages can also find it * cleanup * write to wontonTargets.cmake to make consistent with wontonConfig.cmake naming convention * change wonton-targets.cmake to wontonTargets.cmake * set the WONTON_LIBRARIES var so it can be exported * fix target_include_directories for Wonton when used as a submodule * fix typo * add the cache variable WONTON_ENABLE_MPI so it gets written into the config file * add MPI as a dependency of wonton_support for building * added to comments * make WONTON_LIBRARIES cache variable so it is visible globally while building * find MPI also if enabled * remove empty variable * fix typo in thrust include dirs * HOST_BACKEND --> DEVICE_BACKEND * use WONTON_ENABLE_THRUST; ENABLE_THRUST is not defined * turn off cinch module path parsing * check for WONTON_ENABLE_THRUST not ENABLE_THRUST and minor tweaks * Make the names of the various ENABLE_OPTION variables (like ENABLE_LAPACKE, WONTON_ENABLE_MPI) consistent * scrap the idea of not having the auto-generated wonton-config.h file in the build dir - we need it * fix the endif clauses * forgot to change the header file name back * force overwrite of critical CACHE variables * fix errors in FleCSI wrappers CMake * more fixes to CMake * remove flecsi from this level * fix typo and variable in FleCSI section * extract FindFleCSI from cinch * Force WONTON_ENABLE_THRUST variable to be overwritten when Thrust is on * Add a HWLOC target and set it up more elaborately as an imported library * Add proper Kokkos package finding mechanism; Prefix all ENABLE_* options with WONTON_ * Fix to avoid compilation warnings when WONTON_ENABLE_FEAT is defined in the header file and as a compile definition * make kokkos a dependency of wonton_support * changed all ENABLE_FEATURE to WONTON_ENABLE_FEATURE * incorporate Kokkos as a TPL * Add Kokkos related variables and find Kokkos * Make Kokkos_LIBRARIES a dependency of wonton_support * account change in option syntax from ENABLE_opt to WONTON_ENABLE_opt * upgrade Jali to 1.1.4 * switch Boost dependency to INTERFACE from PUBLIC * fix test to use right type for counting iterator * remove setting of CMAKE_C_COMPILER AND CMAKE_CXX_COMPILER - pickup from environment * print out Boost_LIBRARIES (may be null) * set include_dirs if Boost_LIBRARIES is not defined * If we are using cmake >= 3.15, prefer config files over modules for package discovery * include some missing files * update instructions * Add -Wall -Werror flags * make functions static instead of using anonymous namespace to enforce ODR and avoid compiler warning * fix indentation * Put in the 'unused' attribute to get around the gcc 7.3.0 warning about an unused function * Check if LAPACKE is found ONLY if LAPACKE is enabled * set some Pkg_ROOT vars if they are not set * more tweaks to set Boost_ROOT correctly * fix logic for LAPACKE error output * fix comment string * replace bare ENABLE_Feature with WONTON_ENABLE_* wherever it was missed * update version number * Fix incorrect guard symbols * Fix clang-tidy warnings * Fix missing header leading to clang error * Force the settings for cache variables * CMake's FindBoost gets unhappy if we set Boost_ROOT; only set BOOST_ROOT CMake's FindBoost gets unhappy if we set Boost_ROOT; only set BOOST_ROOT * Fix unused matrix * Fix inconsistent guard symbol * Fix error-prone initializations * Fix inlining issue * Fix braces around scalar issue * Ignore installation files * Move files and update qualifiers * Minor fixes * Remove unnecessary headers * Fix include guard * Fix sign-comparison warning * Fix headers inclusion ordering * Fix warnings * Fix Boost link issue * Fix last issue * Fix sign-comparison issue * yaml file and script for matrix install of wonton HEAD on varan * add kokkos options * add kokkos as build_type * fix kokkos dir * use BRANCH_NAME environment variable instead of trying to find it ourselves * remove && between shell commands as we already used 'set -e' to exit on error * setup packages and functions for adding tests using wonton_add_unit * add support for use of google test package without cinch * replace cinch_add_unit with wonton_add_unit * removed cinch as submodule * special MPI test driver (google test does not furnish one) * use relative path so that we don't have to fetch googletest from github * moved to CMakeLists.txt at top level * replaced by code from config/project.cmake * fix comment format * add aliases for gtest and gtest_main, rename the function * replace PROJECT_SOURCE_DIRECTORY (which refers to the local subdirectory project) with wonton_SOURCE_DIR which is the top level for the wonton project * remove all references to cinch * Revert "use relative path so that we don't have to fetch googletest from github" This reverts commit c0aa33d. * add flecsi install options * switch googletest submodule path to be relative * fix googletest path * need C language to be enabled to activate FortranC interface for LAPACKE * guard parallel test with if WONTON_ENABLE_MPI statement * include algorithm.h for std::for_each * use SERIAL policy for serial tests * Bump up minor version number in file * Extract macro from 'cinch' * Enable doxygen target generation * Tag and update patch number * Remove 'documentation.cmake' * Include headers as system ones * Fix install directories and flags * Fix internal warnings * Annotate headers as system ones * Split the least square system construction * Allow to compute the gradient using the cached inverse matrix * Retrieve the initial matrix and verify the coordinate system * Solve the algebraic equation by default for single variable * Minor fixes and cleanup * Include right hand side recomputation * Avoid rescaling of the gradient vector * Use a QR decomposition method if no LAPACK * Fix flaw in CMake when enabling LAPACKE * Minor update on matrices construction method * Add an option to invert (A^T.A) or not * Minor fixes * Fix issues found by Portage * Make version parametric in install script * Add tag and increment patch number * update to reflect compilers and settings for HPC * clean up * Added more moments to polygons to address RZ geometry. * matrix yaml files for HPC machines * fix paths for HPC * correct version of intel compiler on varan * Fake commit. * Second step in Rao's implementatino plan. * Templated volume calculation on coordinate system. * Replace #ifdef DEBUG with #ifndef NDEBUG and use static declaration instead of anonymous namespace to honor ODR * Make static method inline * Minimum-intrusive change of constructors. * Explicit handling of missing modules * Fix for failing builds on Snow * Also updating readme builds on Varan * Renaming machine for snow * Remove extra checks from varan builds * Update in-code documentation. Renamed enum. * add alternate form of constructor and eliminate specializations * consolidated cell volume and centroid computation into one * correct the checks on number of vertices * minor fixes to comments * avoid computing approximate cell centroids (aka geometric center) for all cells; calculate it only when the volume of a cell is nearly zero * Update to 1.8.1 Co-authored-by: Danny Shevitz <shevitz@lanl.gov> Co-authored-by: Hoby Rakotoarivelo <hoby@lanl.gov> Co-authored-by: Rao Garimella <rao@abyzou.lanl.gov> Co-authored-by: lipnikov <lipnikov@lanl.gov> Co-authored-by: Eugene Kikinzon <kikinzon@lanl.gov>
- Loading branch information