diff --git a/.cmake-format.py b/.cmake-format.py deleted file mode 100644 index 9e40c673f2..0000000000 --- a/.cmake-format.py +++ /dev/null @@ -1,241 +0,0 @@ -# ---------------------------------- -# Options affecting listfile parsing -# ---------------------------------- -with section("parse"): - - # Specify structure for custom cmake functions - additional_commands = { 'foo': { 'flags': ['BAR', 'BAZ'], - 'kwargs': {'DEPENDS': '*', 'HEADERS': '*', 'SOURCES': '*'}}} - - # Override configurations per-command where available - override_spec = {} - - # Specify variable tags. - vartags = [] - - # Specify property tags. - proptags = [] - -# ----------------------------- -# Options affecting formatting. -# ----------------------------- -with section("format"): - - # Disable formatting entirely, making cmake-format a no-op - disable = False - - # How wide to allow formatted cmake files - line_width = 80 - - # How many spaces to tab for indent - tab_size = 2 - - # If true, lines are indented using tab characters (utf-8 0x09) instead of - # space characters (utf-8 0x20). In cases where the layout would - # require a fractional tab character, the behavior of the fractional - # indentation is governed by - use_tabchars = False - - # If is True, then the value of this variable indicates how - # fractional indentions are handled during whitespace replacement. If set to - # 'use-space', fractional indentation is left as spaces (utf-8 0x20). If set - # to `round-up` fractional indentation is replaced with a single tab character - # (utf-8 0x09) effectively shifting the column to the next tabstop - fractional_tab_policy = 'use-space' - - # If an argument group contains more than this many sub-groups (parg or kwarg - # groups) then force it to a vertical layout. - max_subgroups_hwrap = 2 - - # If a positional argument group contains more than this many arguments, then - # force it to a vertical layout. - max_pargs_hwrap = 6 - - # If a cmdline positional group consumes more than this many lines without - # nesting, then invalidate the layout (and nest) - max_rows_cmdline = 2 - - # If true, separate flow control names from their parentheses with a space - separate_ctrl_name_with_space = False - - # If true, separate function names from parentheses with a space - separate_fn_name_with_space = False - - # If a statement is wrapped to more than one line, than dangle the closing - # parenthesis on its own line. - dangle_parens = False - - # If the trailing parenthesis must be 'dangled' on its on line, then align it - # to this reference: `prefix`: the start of the statement, `prefix-indent`: - # the start of the statement, plus one indentation level, `child`: align to - # the column of the arguments - dangle_align = 'prefix' - - # If the statement spelling length (including space and parenthesis) is - # smaller than this amount, then force reject nested layouts. - min_prefix_chars = 4 - - # If the statement spelling length (including space and parenthesis) is larger - # than the tab width by more than this amount, then force reject un-nested - # layouts. - max_prefix_chars = 10 - - # If a candidate layout is wrapped horizontally but it exceeds this many - # lines, then reject the layout. - max_lines_hwrap = 2 - - # What style line endings to use in the output. - line_ending = 'unix' - - # Format command names consistently as 'lower' or 'upper' case - command_case = 'canonical' - - # Format keywords consistently as 'lower' or 'upper' case - keyword_case = 'unchanged' - - # A list of command names which should always be wrapped - always_wrap = [] - - # If true, the argument lists which are known to be sortable will be sorted - # lexicographicall - enable_sort = True - - # If true, the parsers may infer whether or not an argument list is sortable - # (without annotation). - autosort = False - - # By default, if cmake-format cannot successfully fit everything into the - # desired linewidth it will apply the last, most agressive attempt that it - # made. If this flag is True, however, cmake-format will print error, exit - # with non-zero status code, and write-out nothing - require_valid_layout = False - - # A dictionary mapping layout nodes to a list of wrap decisions. See the - # documentation for more information. - layout_passes = {} - -# ------------------------------------------------ -# Options affecting comment reflow and formatting. -# ------------------------------------------------ -with section("markup"): - - # What character to use for bulleted lists - bullet_char = '*' - - # What character to use as punctuation after numerals in an enumerated list - enum_char = '.' - - # If comment markup is enabled, don't reflow the first comment block in each - # listfile. Use this to preserve formatting of your copyright/license - # statements. - first_comment_is_literal = False - - # If comment markup is enabled, don't reflow any comment block which matches - # this (regex) pattern. Default is `None` (disabled). - literal_comment_pattern = None - - # Regular expression to match preformat fences in comments default= - # ``r'^\s*([`~]{3}[`~]*)(.*)$'`` - fence_pattern = '^\\s*([`~]{3}[`~]*)(.*)$' - - # Regular expression to match rulers in comments default= - # ``r'^\s*[^\w\s]{3}.*[^\w\s]{3}$'`` - ruler_pattern = '^\\s*[^\\w\\s]{3}.*[^\\w\\s]{3}$' - - # If a comment line matches starts with this pattern then it is explicitly a - # trailing comment for the preceeding argument. Default is '#<' - explicit_trailing_pattern = '#<' - - # If a comment line starts with at least this many consecutive hash - # characters, then don't lstrip() them off. This allows for lazy hash rulers - # where the first hash char is not separated by space - hashruler_min_length = 10 - - # If true, then insert a space between the first hash char and remaining hash - # chars in a hash ruler, and normalize its length to fill the column - canonicalize_hashrulers = True - - # enable comment markup parsing and reflow - enable_markup = False - -# ---------------------------- -# Options affecting the linter -# ---------------------------- -with section("lint"): - - # a list of lint codes to disable - disabled_codes = [] - - # regular expression pattern describing valid function names - function_pattern = '[0-9a-z_]+' - - # regular expression pattern describing valid macro names - macro_pattern = '[0-9A-Z_]+' - - # regular expression pattern describing valid names for variables with global - # (cache) scope - global_var_pattern = '[A-Z][0-9A-Z_]+' - - # regular expression pattern describing valid names for variables with global - # scope (but internal semantic) - internal_var_pattern = '_[A-Z][0-9A-Z_]+' - - # regular expression pattern describing valid names for variables with local - # scope - local_var_pattern = '[a-z][a-z0-9_]+' - - # regular expression pattern describing valid names for privatedirectory - # variables - private_var_pattern = '_[0-9a-z_]+' - - # regular expression pattern describing valid names for public directory - # variables - public_var_pattern = '[A-Z][0-9A-Z_]+' - - # regular expression pattern describing valid names for function/macro - # arguments and loop variables. - argument_var_pattern = '[a-z][a-z0-9_]+' - - # regular expression pattern describing valid names for keywords used in - # functions or macros - keyword_pattern = '[A-Z][0-9A-Z_]+' - - # In the heuristic for C0201, how many conditionals to match within a loop in - # before considering the loop a parser. - max_conditionals_custom_parser = 2 - - # Require at least this many newlines between statements - min_statement_spacing = 1 - - # Require no more than this many newlines between statements - max_statement_spacing = 2 - max_returns = 6 - max_branches = 12 - max_arguments = 5 - max_localvars = 15 - max_statements = 50 - -# ------------------------------- -# Options affecting file encoding -# ------------------------------- -with section("encode"): - - # If true, emit the unicode byte-order mark (BOM) at the start of the file - emit_byteorder_mark = False - - # Specify the encoding of the input file. Defaults to utf-8 - input_encoding = 'utf-8' - - # Specify the encoding of the output file. Defaults to utf-8. Note that cmake - # only claims to support utf-8 so be careful when using anything else - output_encoding = 'utf-8' - -# ------------------------------------- -# Miscellaneous configurations options. -# ------------------------------------- -with section("misc"): - - # A dictionary containing any per-command configuration overrides. Currently - # only `command_case` is supported. - per_command = {} - diff --git a/CMakeLists.txt b/CMakeLists.txt index d2b42c1399..989c1d7f7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,8 +26,8 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.24") cmake_policy(SET CMP0135 NEW) endif() -# Project SUNDIALS (initially only C supported) -# sets PROJECT_SOURCE_DIR and PROJECT_BINARY_DIR variables. +# Project SUNDIALS (initially only C supported) sets PROJECT_SOURCE_DIR and +# PROJECT_BINARY_DIR variables. project(SUNDIALS C) # Specify the location of additional CMAKE modules @@ -119,9 +119,9 @@ endif() # Organize targets into folders when using an IDE set_property(GLOBAL PROPERTY USE_FOLDERS ON) -# Get correct build paths automatically, but expose LIBDIR and -# INCLUDEDIR as a regular cache variable so that a user can more -# easily see what they were set to by GNUInstallDirs. +# Get correct build paths automatically, but expose LIBDIR and INCLUDEDIR as a +# regular cache variable so that a user can more easily see what they were set +# to by GNUInstallDirs. include(GNUInstallDirs) mark_as_advanced(CLEAR CMAKE_INSTALL_LIBDIR) mark_as_advanced(CLEAR CMAKE_INSTALL_INCLUDEDIR) @@ -193,8 +193,8 @@ include(SundialsSetupTPLs) include(SundialsBuildOptionsPost) # =============================================================== -# At this point all the configuration options are set. -# Setup the sundials_config.h. +# At this point all the configuration options are set. Setup the +# sundials_config.h. # =============================================================== include(SundialsSetupConfig) @@ -240,9 +240,8 @@ install(FILES "${PROJECT_BINARY_DIR}/include/sundials/sundials_config.h" # install shared Fortran 2003 modules if(BUILD_FORTRAN_MODULE_INTERFACE) - # While the .mod files get generated for static and shared - # libraries, they are identical. So only install one set - # of the .mod files. + # While the .mod files get generated for static and shared libraries, they are + # identical. So only install one set of the .mod files. if(BUILD_STATIC_LIBS) install(DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}_STATIC/ DESTINATION ${Fortran_INSTALL_MODDIR}) diff --git a/benchmarks/CMakeLists.txt b/benchmarks/CMakeLists.txt index 9892ed36a5..090c1f5b26 100644 --- a/benchmarks/CMakeLists.txt +++ b/benchmarks/CMakeLists.txt @@ -28,9 +28,9 @@ if(ENABLE_ALL_WARNINGS) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter") endif() -#---------------------------------------- +# ---------------------------------------- # Add specific benchmarks -#---------------------------------------- +# ---------------------------------------- if(ENABLE_MPI) add_subdirectory(diffusion_2D) diff --git a/benchmarks/diffusion_2D/mpi_gpu/CMakeLists.txt b/benchmarks/diffusion_2D/mpi_gpu/CMakeLists.txt index c86f8dff91..bedab66e97 100644 --- a/benchmarks/diffusion_2D/mpi_gpu/CMakeLists.txt +++ b/benchmarks/diffusion_2D/mpi_gpu/CMakeLists.txt @@ -69,12 +69,9 @@ foreach(test_tuple ${tests}) add_executable(${target} ${sources}) - # if("${backend}" STREQUAL "USE_CUDA") - # sundials_add_benchmark(${target} ${target} diffusion_2D - # ENABLE_GPU - # NUM_CORES ${SUNDIALS_BENCHMARK_NUM_GPUS} - # ) - #endif() + # if("${backend}" STREQUAL "USE_CUDA") sundials_add_benchmark(${target} + # ${target} diffusion_2D ENABLE_GPU NUM_CORES ${SUNDIALS_BENCHMARK_NUM_GPUS} ) + # endif() if("${backend}" STREQUAL "USE_HIP") sundials_add_benchmark(${target} ${target} diffusion_2D ENABLE_GPU diff --git a/benchmarks/nvector/openmp/CMakeLists.txt b/benchmarks/nvector/openmp/CMakeLists.txt index 2548c4e953..5315d83b0a 100644 --- a/benchmarks/nvector/openmp/CMakeLists.txt +++ b/benchmarks/nvector/openmp/CMakeLists.txt @@ -16,10 +16,10 @@ message(STATUS "Added OpenMP NVECTOR benchmark") -# Set-up linker flags and link libraries -# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}") -# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") -# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_C_FLAGS}") +# Set-up linker flags and link libraries set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} +# ${OpenMP_C_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} +# ${OpenMP_CXX_FLAGS}") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} +# ${OpenMP_C_FLAGS}") sundials_add_nvector_benchmark( nvector_openmp_benchmark diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index ed9a018cfb..45990b05da 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -15,7 +15,8 @@ # --------------------------------------------------------------- # We need this to ensure the installed templates have MPI when ENABLE_MPI=TRUE, -# at least until we convert all of the templates to use the SUNDIALS CMake target. +# at least until we convert all of the templates to use the SUNDIALS CMake +# target. # =================================================================== # Configure compilers for installed examples diff --git a/examples/arkode/CXX_parallel/CMakeLists.txt b/examples/arkode/CXX_parallel/CMakeLists.txt index 0da7c773ff..317a8e1de9 100644 --- a/examples/arkode/CXX_parallel/CMakeLists.txt +++ b/examples/arkode/CXX_parallel/CMakeLists.txt @@ -37,8 +37,8 @@ macro(build_examples examples_to_build lang) set(example_target "${example_target}.${example_defines}") endif() - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example_target}) set_source_files_properties(${example} PROPERTIES LANGUAGE ${lang}) @@ -111,8 +111,9 @@ endmacro() # Examples to build and install # ----------------------------- -# Example lists are tuples "name\;compile defs\;args\;nodes\;tasks\;type\;float precision" -# where the type develop is for examples excluded from 'make test' in releases. +# Example lists are tuples "name\;compile defs\;args\;nodes\;tasks\;type\;float +# precision" where the type develop is for examples excluded from 'make test' in +# releases. # List of headers to install (appended to below) set(ARKODE_headers) @@ -253,20 +254,17 @@ if(EXAMPLES_INSTALL) endif() # For now do not install the RAJA examples because they need to built as CUDA - # code when RAJA is built with CUDA - # if(serial_raja_examples) - # list(APPEND examples_to_install "${serial_raja_examples}") - # list(APPEND _sundials_targets nvecmpiplusx) - - # if((RAJA_BACKENDS MATCHES "TARGET_OPENMP") OR (RAJA_BACKENDS MATCHES "OPENMP")) - # set(EXAMPLES_FIND_PACKAGE "find_package(OpenMP REQUIRED)\n") - # endif() - - # if(RAJA_NEEDS_THREADS) - # set(EXAMPLES_FIND_PACKAGE "${EXAMPLES_FIND_PACKAGE}find_package(Threads REQUIRED)\n") - # endif() + # code when RAJA is built with CUDA if(serial_raja_examples) list(APPEND + # examples_to_install "${serial_raja_examples}") list(APPEND _sundials_targets + # nvecmpiplusx) + + # if((RAJA_BACKENDS MATCHES "TARGET_OPENMP") OR (RAJA_BACKENDS MATCHES + # "OPENMP")) set(EXAMPLES_FIND_PACKAGE "find_package(OpenMP REQUIRED)\n") # endif() + # if(RAJA_NEEDS_THREADS) set(EXAMPLES_FIND_PACKAGE + # "${EXAMPLES_FIND_PACKAGE}find_package(Threads REQUIRED)\n") endif() endif() + sundials_install_examples( arkode examples_to_install diff --git a/examples/arkode/CXX_parhyp/CMakeLists.txt b/examples/arkode/CXX_parhyp/CMakeLists.txt index 61312ce17b..71a31956cd 100644 --- a/examples/arkode/CXX_parhyp/CMakeLists.txt +++ b/examples/arkode/CXX_parhyp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for ARKODE C++ parhyp examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(ARKODE_examples @@ -44,8 +44,8 @@ foreach(example_tuple ${ARKODE_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.cpp) @@ -110,8 +110,8 @@ if(EXAMPLES_INSTALL) examples2string(ARKODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -123,8 +123,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/arkode/CXX_parhyp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/arkode/CXX_serial/CMakeLists.txt b/examples/arkode/CXX_serial/CMakeLists.txt index e53b0547a1..23121d3ae2 100644 --- a/examples/arkode/CXX_serial/CMakeLists.txt +++ b/examples/arkode/CXX_serial/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for ARKODE serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(ARKODE_examples diff --git a/examples/arkode/CXX_superludist/CMakeLists.txt b/examples/arkode/CXX_superludist/CMakeLists.txt index 56a42bc66c..8c5196eccf 100644 --- a/examples/arkode/CXX_superludist/CMakeLists.txt +++ b/examples/arkode/CXX_superludist/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for ARKODE C++ SuperLU_DIST examples # ----------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases list(APPEND ARKODE_examples "ark_brusselator1D_FEM_sludist.cpp\;1\;1\;develop") diff --git a/examples/arkode/CXX_xbraid/CMakeLists.txt b/examples/arkode/CXX_xbraid/CMakeLists.txt index e3d2d4ce5f..24b8d5442c 100644 --- a/examples/arkode/CXX_xbraid/CMakeLists.txt +++ b/examples/arkode/CXX_xbraid/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for ARKODE C++ XBraid examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(ARKODE_examples @@ -50,8 +50,8 @@ foreach(example_tuple ${ARKODE_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files @@ -110,8 +110,8 @@ if(ENABLE_HYPRE AND HYPRE_FOUND) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files @@ -183,8 +183,8 @@ if(EXAMPLES_INSTALL) examples2string(ARKODE_examples_hypre EXAMPLES_HYPRE) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -196,8 +196,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/arkode/CXX_xbraid) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) diff --git a/examples/arkode/C_manyvector/CMakeLists.txt b/examples/arkode/C_manyvector/CMakeLists.txt index 2e9984ebf3..77aab154a4 100644 --- a/examples/arkode/C_manyvector/CMakeLists.txt +++ b/examples/arkode/C_manyvector/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for ARKODE ManyVector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(ARKODE_examples "ark_brusselator1D_manyvec\;develop") @@ -83,8 +83,8 @@ if(EXAMPLES_INSTALL) examples2string(ARKODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -97,8 +97,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/arkode/C_manyvector) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/arkode/C_openmp/CMakeLists.txt b/examples/arkode/C_openmp/CMakeLists.txt index 93da2ecbad..e257318f3c 100644 --- a/examples/arkode/C_openmp/CMakeLists.txt +++ b/examples/arkode/C_openmp/CMakeLists.txt @@ -14,9 +14,8 @@ # CMakeLists.txt file for ARKODE OpenMP examples # --------------------------------------------------------------- -# Example lists are tuples -# "name\;args\;type\;float precision\;int precision" where the type -# is 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type\;float precision\;int precision" +# where the type is 'develop' for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(ARKODE_examples "ark_brusselator1D_omp\;4\;exclude-single\;default\;default" @@ -88,8 +87,8 @@ if(EXAMPLES_INSTALL) examples2string(ARKODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -101,8 +100,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/arkode/C_openmp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/arkode/C_openmpdev/CMakeLists.txt b/examples/arkode/C_openmpdev/CMakeLists.txt index f7d2b23853..4e49b06b61 100644 --- a/examples/arkode/C_openmpdev/CMakeLists.txt +++ b/examples/arkode/C_openmpdev/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for ARKODE OpenMPDEV examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(ARKODE_examples @@ -85,8 +85,8 @@ if(EXAMPLES_INSTALL) examples2string(ARKODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -98,8 +98,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/arkode/C_openmpdev) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/arkode/C_parallel/CMakeLists.txt b/examples/arkode/C_parallel/CMakeLists.txt index 02657f3332..a80e747789 100644 --- a/examples/arkode/C_parallel/CMakeLists.txt +++ b/examples/arkode/C_parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for ARKODE parallel C examples # ----------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(ARKODE_examples "ark_diurnal_kry_p\;\;1\;4\;exclude-single\;default" @@ -131,8 +131,8 @@ if(EXAMPLES_INSTALL) examples2string(ARKODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -144,8 +144,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/arkode/C_parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/arkode/C_parhyp/CMakeLists.txt b/examples/arkode/C_parhyp/CMakeLists.txt index be68dde43c..61d950a3d4 100644 --- a/examples/arkode/C_parhyp/CMakeLists.txt +++ b/examples/arkode/C_parhyp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for ARKODE parhyp C examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(ARKODE_examples "ark_diurnal_kry_ph.c\;1\;4\;develop") diff --git a/examples/arkode/C_petsc/CMakeLists.txt b/examples/arkode/C_petsc/CMakeLists.txt index fe4f12ad8e..245054a15d 100644 --- a/examples/arkode/C_petsc/CMakeLists.txt +++ b/examples/arkode/C_petsc/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for ARKODE PETSc examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers if(BUILD_SUNNONLINSOL_PETSCSNES) @@ -94,8 +94,8 @@ if(EXAMPLES_INSTALL) examples2string(ARKODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -107,8 +107,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/arkode/C_petsc) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/arkode/C_serial/CMakeLists.txt b/examples/arkode/C_serial/CMakeLists.txt index 5d6caca135..d93c4b7032 100644 --- a/examples/arkode/C_serial/CMakeLists.txt +++ b/examples/arkode/C_serial/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for ARKODE serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(ARKODE_examples @@ -273,8 +273,8 @@ if(EXAMPLES_INSTALL) endif() # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -286,8 +286,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/arkode/C_serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/arkode/F2003_custom/CMakeLists.txt b/examples/arkode/F2003_custom/CMakeLists.txt index ff89966987..51333d310f 100644 --- a/examples/arkode/F2003_custom/CMakeLists.txt +++ b/examples/arkode/F2003_custom/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for the ARKode F2003 custom module examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases if(SUNDIALS_INDEX_SIZE MATCHES "64") @@ -138,8 +138,8 @@ if(EXAMPLES_INSTALL) examples2string(FARKODEsources EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -152,8 +152,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/arkode/F2003_custom) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # remove file extensions from dependencies for generated Makefile diff --git a/examples/arkode/F2003_parallel/CMakeLists.txt b/examples/arkode/F2003_parallel/CMakeLists.txt index 9a92897cab..1484294c6b 100644 --- a/examples/arkode/F2003_parallel/CMakeLists.txt +++ b/examples/arkode/F2003_parallel/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for the ARKode F2003 module parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases set(FARKODE_examples "ark_brusselator1D_task_local_nls_f2003\;--monitor\;1\;4\;develop\;2" "ark_brusselator1D_task_local_nls_f2003\;--monitor --global-nls\;1\;4\;develop\;2" @@ -137,8 +137,8 @@ if(EXAMPLES_INSTALL) examples2string(FARKODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -151,8 +151,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/arkode/F2003_parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/arkode/F2003_serial/CMakeLists.txt b/examples/arkode/F2003_serial/CMakeLists.txt index 3b8751eec3..877dd34a6e 100644 --- a/examples/arkode/F2003_serial/CMakeLists.txt +++ b/examples/arkode/F2003_serial/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for the ARKode F2003 module serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases set(FARKODE_examples "ark_analytic_f2003\;\;develop") @@ -259,8 +259,8 @@ if(EXAMPLES_INSTALL) set(EXAMPLES "${EXAMPLES} ${TESTFILES}") # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -273,8 +273,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/arkode/F2003_serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/CXX_onemkl/CMakeLists.txt b/examples/cvode/CXX_onemkl/CMakeLists.txt index 21561e77c4..d04ffbdb39 100644 --- a/examples/cvode/CXX_onemkl/CMakeLists.txt +++ b/examples/cvode/CXX_onemkl/CMakeLists.txt @@ -12,8 +12,8 @@ # SUNDIALS Copyright End # ------------------------------------------------------------------------------ -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases set(CVODE_examples "cvRoberts_blockdiag_onemkl.cpp\;\;develop") diff --git a/examples/cvode/CXX_parallel/CMakeLists.txt b/examples/cvode/CXX_parallel/CMakeLists.txt index 817fca3eda..5bada06895 100644 --- a/examples/cvode/CXX_parallel/CMakeLists.txt +++ b/examples/cvode/CXX_parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE C++ parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples "cv_heat2D_p\;--np 2 2\;1\;4\;develop") @@ -44,8 +44,8 @@ foreach(example_tuple ${CVODE_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.cpp) @@ -112,8 +112,8 @@ if(EXAMPLES_INSTALL) examples2string(CVODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -125,8 +125,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvode/CXX_parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/CXX_parhyp/CMakeLists.txt b/examples/cvode/CXX_parhyp/CMakeLists.txt index 2d587ec22d..77686ae5ed 100644 --- a/examples/cvode/CXX_parhyp/CMakeLists.txt +++ b/examples/cvode/CXX_parhyp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE C++ parhyp examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples "cv_heat2D_hypre_ls\;--np 2 2\;1\;4\;develop" @@ -45,8 +45,8 @@ foreach(example_tuple ${CVODE_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.cpp) @@ -114,8 +114,8 @@ if(EXAMPLES_INSTALL) examples2string(CVODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -127,8 +127,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvode/CXX_parhyp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/CXX_serial/CMakeLists.txt b/examples/cvode/CXX_serial/CMakeLists.txt index 7818f224be..5635f7a56d 100644 --- a/examples/cvode/CXX_serial/CMakeLists.txt +++ b/examples/cvode/CXX_serial/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE C++ serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples "cv_heat2D.cpp\;\;\;\;exclude-single" @@ -34,8 +34,8 @@ foreach(example_tuple ${CVODE_examples}) # extract the file name without extension get_filename_component(example_target ${example} NAME_WE) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example_target}) # example source files add_executable(${example_target} ${example}) diff --git a/examples/cvode/CXX_sycl/CMakeLists.txt b/examples/cvode/CXX_sycl/CMakeLists.txt index ec43b3889b..01b891f0a1 100644 --- a/examples/cvode/CXX_sycl/CMakeLists.txt +++ b/examples/cvode/CXX_sycl/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE SYCL examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples "cvAdvDiff_kry_sycl.cpp\;\;develop") diff --git a/examples/cvode/C_mpimanyvector/CMakeLists.txt b/examples/cvode/C_mpimanyvector/CMakeLists.txt index b037358e6b..9c22dbd01b 100644 --- a/examples/cvode/C_mpimanyvector/CMakeLists.txt +++ b/examples/cvode/C_mpimanyvector/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE MPIManyVector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples "cvDiurnal_kry_mpimanyvec\;2\;4\;develop") @@ -96,8 +96,8 @@ if(EXAMPLES_INSTALL) examples2string(CVODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -110,8 +110,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvode/C_mpimanyvector) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/C_openmp/CMakeLists.txt b/examples/cvode/C_openmp/CMakeLists.txt index 988a5f4b92..7b16184d76 100644 --- a/examples/cvode/C_openmp/CMakeLists.txt +++ b/examples/cvode/C_openmp/CMakeLists.txt @@ -14,12 +14,12 @@ # CMakeLists.txt file for CVODE OpenMP examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples "cvAdvDiff_bnd_omp\;4\;develop" - #"cvAdvDiffReac_kry_omp\;4\;develop" + # "cvAdvDiffReac_kry_omp\;4\;develop" ) # Specify libraries to link against @@ -86,8 +86,8 @@ if(EXAMPLES_INSTALL) examples2string(CVODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -99,8 +99,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvode/C_openmp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/C_openmpdev/CMakeLists.txt b/examples/cvode/C_openmpdev/CMakeLists.txt index 92ca3f0546..1128705813 100644 --- a/examples/cvode/C_openmpdev/CMakeLists.txt +++ b/examples/cvode/C_openmpdev/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE OpenMPDEV examples # ----------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples "cvAdvDiff_kry_ompdev\;4\;develop") @@ -84,8 +84,8 @@ if(EXAMPLES_INSTALL) examples2string(CVODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -97,8 +97,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvode/C_openmpdev) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/F2003_parallel/CMakeLists.txt b/examples/cvode/F2003_parallel/CMakeLists.txt index 37245adc02..3af3cfcda2 100644 --- a/examples/cvode/F2003_parallel/CMakeLists.txt +++ b/examples/cvode/F2003_parallel/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for the CVode F2003 module parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases if(SUNDIALS_INDEX_SIZE MATCHES "64") set(FCVODE_examples "cv_diag_kry_bbd_f2003\;\;1\;4\;develop\;2" @@ -114,8 +114,8 @@ if(EXAMPLES_INSTALL) examples2string(FCVODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -128,8 +128,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvode/F2003_parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/F2003_serial/CMakeLists.txt b/examples/cvode/F2003_serial/CMakeLists.txt index 78b3aac6d8..1e2a1e5ae2 100644 --- a/examples/cvode/F2003_serial/CMakeLists.txt +++ b/examples/cvode/F2003_serial/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for the FCVODE serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(FCVODE_examples "cv_advdiff_bnd_f2003\;develop") @@ -205,8 +205,8 @@ if(EXAMPLES_INSTALL) endif() # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -218,8 +218,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvode/F2003_serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/cuda/CMakeLists.txt b/examples/cvode/cuda/CMakeLists.txt index d5c8065abc..912b76a730 100644 --- a/examples/cvode/cuda/CMakeLists.txt +++ b/examples/cvode/cuda/CMakeLists.txt @@ -16,8 +16,8 @@ # CMakeLists.txt file for CVODE CUDA examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples @@ -119,8 +119,8 @@ if(EXAMPLES_INSTALL) endif() # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -132,8 +132,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvode/cuda) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/hip/CMakeLists.txt b/examples/cvode/hip/CMakeLists.txt index 40eb05653d..985146c30c 100644 --- a/examples/cvode/hip/CMakeLists.txt +++ b/examples/cvode/hip/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE HIP examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(all_examples diff --git a/examples/cvode/kokkos/CMakeLists.txt b/examples/cvode/kokkos/CMakeLists.txt index 87888b8e4e..3d3d54b6b4 100644 --- a/examples/cvode/kokkos/CMakeLists.txt +++ b/examples/cvode/kokkos/CMakeLists.txt @@ -12,8 +12,8 @@ # SUNDIALS Copyright End # ------------------------------------------------------------------------------ -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases set(examples_list "cv_bruss_batched_kokkos.cpp\;\;develop" "cv_bruss_batched_kokkos_2D.cpp\;\;develop") diff --git a/examples/cvode/magma/CMakeLists.txt b/examples/cvode/magma/CMakeLists.txt index b2c5ac615d..6d1aaeabdc 100644 --- a/examples/cvode/magma/CMakeLists.txt +++ b/examples/cvode/magma/CMakeLists.txt @@ -12,8 +12,8 @@ # SUNDIALS Copyright End # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases set(CVODE_examples "cv_bruss_batched_magma.cpp\;\;develop") diff --git a/examples/cvode/parallel/CMakeLists.txt b/examples/cvode/parallel/CMakeLists.txt index 2171fc4151..210bf7e56d 100644 --- a/examples/cvode/parallel/CMakeLists.txt +++ b/examples/cvode/parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples @@ -99,8 +99,8 @@ if(EXAMPLES_INSTALL) examples2string(CVODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -112,8 +112,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvode/parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/parhyp/CMakeLists.txt b/examples/cvode/parhyp/CMakeLists.txt index 667ffe4c72..d285c19cb6 100644 --- a/examples/cvode/parhyp/CMakeLists.txt +++ b/examples/cvode/parhyp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE parhyp examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples "cvAdvDiff_non_ph.c\;2\;2\;develop") diff --git a/examples/cvode/petsc/CMakeLists.txt b/examples/cvode/petsc/CMakeLists.txt index 4159a71ada..f7eb5a0c5b 100644 --- a/examples/cvode/petsc/CMakeLists.txt +++ b/examples/cvode/petsc/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE PETSc examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples "cv_petsc_ex7\;1\;1\;develop" @@ -97,8 +97,8 @@ if(EXAMPLES_INSTALL) examples2string(CVODE_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -110,8 +110,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvode/petsc) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/raja/CMakeLists.txt b/examples/cvode/raja/CMakeLists.txt index 4b7f044de9..d5e501438a 100644 --- a/examples/cvode/raja/CMakeLists.txt +++ b/examples/cvode/raja/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE RAJA examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples "cvAdvDiff_kry_raja.cpp\;develop") diff --git a/examples/cvode/serial/CMakeLists.txt b/examples/cvode/serial/CMakeLists.txt index 8034abad30..abed206fed 100644 --- a/examples/cvode/serial/CMakeLists.txt +++ b/examples/cvode/serial/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for CVODE serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODE_examples @@ -75,8 +75,8 @@ foreach(example_tuple ${CVODE_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -136,8 +136,8 @@ if(BUILD_SUNLINSOL_LAPACKBAND AND BUILD_SUNLINSOL_LAPACKDENSE) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -198,8 +198,8 @@ if(BUILD_SUNLINSOL_KLU) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # add example source files add_executable(${example} ${example}.c) @@ -260,8 +260,8 @@ if(BUILD_SUNLINSOL_SUPERLUMT) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # add example source files add_executable(${example} ${example}.c) @@ -280,10 +280,10 @@ if(BUILD_SUNLINSOL_SUPERLUMT) string(REGEX REPLACE " " "_" test_name ${example}_${example_args}) endif() - # Do not include SuperLUMT examples in testing when the indextype is int64_t. - # Answer files were generated with int32_t and minor differences in output - # occur causing a false positive when testing. These tests can be re-enabled - # when type specific answer files are added. + # Do not include SuperLUMT examples in testing when the indextype is + # int64_t. Answer files were generated with int32_t and minor differences in + # output occur causing a false positive when testing. These tests can be + # re-enabled when type specific answer files are added. if(SUNDIALS_INDEX_SIZE MATCHES "32") # add example to regression tests sundials_add_test( @@ -358,8 +358,8 @@ if(EXAMPLES_INSTALL) endif() # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -371,8 +371,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvode/serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvode/superludist/CMakeLists.txt b/examples/cvode/superludist/CMakeLists.txt index 8ddb9124de..6d74c843c5 100644 --- a/examples/cvode/superludist/CMakeLists.txt +++ b/examples/cvode/superludist/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODE SuperLU_DIST examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;type" where the type is develop +# for examples excluded from 'make test' in releases list(APPEND CVODE_examples "cvAdvDiff_sludist.cpp\;2 1\;2\;develop") @@ -43,7 +43,8 @@ foreach(example_tuple ${CVODE_examples}) if(SUNDIALS_INDEX_SIZE STREQUAL "32") set(integer_precision "15") - # superlu-dist seems to result in more output variability (maybe due to a bug with 32-bit indices?) + # superlu-dist seems to result in more output variability (maybe due to a + # bug with 32-bit indices?) set(float_precision "3") else() set(integer_precision "default") diff --git a/examples/cvodes/C_openmp/CMakeLists.txt b/examples/cvodes/C_openmp/CMakeLists.txt index 92d049a4c9..196edac4c8 100644 --- a/examples/cvodes/C_openmp/CMakeLists.txt +++ b/examples/cvodes/C_openmp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODES OpenMP examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODES_examples_OMP "cvsAdvDiff_bnd_omp\;4\;develop") @@ -35,8 +35,8 @@ foreach(example_tuple ${CVODES_examples_OMP}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -88,8 +88,8 @@ if(EXAMPLES_INSTALL) examples2string(CVODES_examples_OMP EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -101,8 +101,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvodes/C_openmp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvodes/F2003_serial/CMakeLists.txt b/examples/cvodes/F2003_serial/CMakeLists.txt index 4d61284515..c768dc753f 100644 --- a/examples/cvodes/F2003_serial/CMakeLists.txt +++ b/examples/cvodes/F2003_serial/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for the F2003 CVODES serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases set(FCVODES_examples "cvs_analytic_fp_f2003\;\;develop" "cvsAdvDiff_FSA_non_f2003\;-sensi stg t\;develop" @@ -34,8 +34,8 @@ foreach(example_tuple ${FCVODES_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # Install fortran modules to a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -92,8 +92,8 @@ if(EXAMPLES_INSTALL) examples2string(FCVODES_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -106,8 +106,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvodes/F2003_serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvodes/parallel/CMakeLists.txt b/examples/cvodes/parallel/CMakeLists.txt index 0a43e4a5c4..3ee458cf6c 100644 --- a/examples/cvodes/parallel/CMakeLists.txt +++ b/examples/cvodes/parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CVODES parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODES_examples @@ -54,8 +54,8 @@ foreach(example_tuple ${CVODES_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -117,8 +117,8 @@ if(EXAMPLES_INSTALL) examples2string(CVODES_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -130,8 +130,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvodes/parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/cvodes/serial/CMakeLists.txt b/examples/cvodes/serial/CMakeLists.txt index 080ca3c953..2da0a91771 100644 --- a/examples/cvodes/serial/CMakeLists.txt +++ b/examples/cvodes/serial/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for CVODES serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(CVODES_examples @@ -94,8 +94,8 @@ foreach(example_tuple ${CVODES_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -155,8 +155,8 @@ if(BUILD_SUNLINSOL_LAPACKBAND AND BUILD_SUNLINSOL_LAPACKDENSE) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -217,8 +217,8 @@ if(BUILD_SUNLINSOL_KLU) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # add example source files add_executable(${example} ${example}.c) @@ -279,8 +279,8 @@ if(BUILD_SUNLINSOL_SUPERLUMT) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # add example source files add_executable(${example} ${example}.c) @@ -299,10 +299,10 @@ if(BUILD_SUNLINSOL_SUPERLUMT) string(REGEX REPLACE " " "_" test_name ${example}_${example_args}) endif() - # Do not include SuperLUMT examples in testing when the indextype is int32_t. - # Answer files were generated with int64_t and minor differences in output - # occur causing a false positive when testing. These tests can be re-enabled - # when type specific answer files are added. + # Do not include SuperLUMT examples in testing when the indextype is + # int32_t. Answer files were generated with int64_t and minor differences in + # output occur causing a false positive when testing. These tests can be + # re-enabled when type specific answer files are added. if(SUNDIALS_INDEX_SIZE MATCHES "64") # add example to regression tests sundials_add_test( @@ -374,8 +374,8 @@ if(EXAMPLES_INSTALL) endif() # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -387,8 +387,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/cvodes/serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/ida/C_openmp/CMakeLists.txt b/examples/ida/C_openmp/CMakeLists.txt index 72cc1245bf..981bc1c94d 100644 --- a/examples/ida/C_openmp/CMakeLists.txt +++ b/examples/ida/C_openmp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for IDA OpenMP examples # ----------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(IDA_examples "idaFoodWeb_bnd_omp\;4\;develop" @@ -80,8 +80,8 @@ if(EXAMPLES_INSTALL) examples2string(IDA_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -93,8 +93,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/ida/C_openmp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/ida/F2003_openmp/CMakeLists.txt b/examples/ida/F2003_openmp/CMakeLists.txt index f46baa4fae..598ad65eaa 100644 --- a/examples/ida/F2003_openmp/CMakeLists.txt +++ b/examples/ida/F2003_openmp/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for the F2003 IDA OpenMP examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases if(SUNDIALS_INDEX_SIZE MATCHES "64") # Examples using SUNDIALS linear solvers @@ -94,8 +94,8 @@ if(EXAMPLES_INSTALL) examples2string(FIDA_examples_OMP EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -107,8 +107,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/ida/F2003_openmp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/ida/F2003_parallel/CMakeLists.txt b/examples/ida/F2003_parallel/CMakeLists.txt index 7e1b35c089..87372e6879 100644 --- a/examples/ida/F2003_parallel/CMakeLists.txt +++ b/examples/ida/F2003_parallel/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for the IDA F2003 module parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases if(SUNDIALS_INDEX_SIZE MATCHES "64") set(FIDA_examples "ida_heat2D_kry_bbd_f2003\;\;1\;4\;develop\;2") endif() @@ -111,8 +111,8 @@ if(EXAMPLES_INSTALL) examples2string(FIDA_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -124,8 +124,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/ida/F2003_parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/ida/F2003_serial/CMakeLists.txt b/examples/ida/F2003_serial/CMakeLists.txt index ca6cefcc77..3c214c6295 100644 --- a/examples/ida/F2003_serial/CMakeLists.txt +++ b/examples/ida/F2003_serial/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for the F2003 IDA serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(FIDA_examples "idaRoberts_dns_f2003\;develop") @@ -78,8 +78,8 @@ if(EXAMPLES_INSTALL) examples2string(FIDA_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -91,8 +91,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/ida/F2003_serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/ida/cuda/CMakeLists.txt b/examples/ida/cuda/CMakeLists.txt index 2a225bbabb..350260121e 100644 --- a/examples/ida/cuda/CMakeLists.txt +++ b/examples/ida/cuda/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for IDA CUDA examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(IDA_examples "idaHeat2D_kry_cuda\;develop") @@ -81,8 +81,8 @@ if(EXAMPLES_INSTALL) examples2string(IDA_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -94,8 +94,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/ida/cuda) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/ida/mpicuda/CMakeLists.txt b/examples/ida/mpicuda/CMakeLists.txt index 7809393881..13f0d74122 100644 --- a/examples/ida/mpicuda/CMakeLists.txt +++ b/examples/ida/mpicuda/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for IDA CUDA examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(IDA_examples "idaHeat2D_kry_p_mpicuda\;1\;4\;develop") @@ -81,8 +81,8 @@ if(EXAMPLES_INSTALL) examples2string(IDA_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -94,8 +94,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/ida/mpicuda) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/ida/mpiraja/CMakeLists.txt b/examples/ida/mpiraja/CMakeLists.txt index d487dd1860..8cdadb7445 100644 --- a/examples/ida/mpiraja/CMakeLists.txt +++ b/examples/ida/mpiraja/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for IDA raja examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(IDA_examples "idaHeat2D_kry_p_mpiraja.cpp\;1\;4\;develop") diff --git a/examples/ida/parallel/CMakeLists.txt b/examples/ida/parallel/CMakeLists.txt index ba81ee4f78..d4d237baac 100644 --- a/examples/ida/parallel/CMakeLists.txt +++ b/examples/ida/parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for IDA parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(IDA_examples @@ -93,8 +93,8 @@ if(EXAMPLES_INSTALL) examples2string(IDA_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -106,8 +106,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/ida/parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/ida/petsc/CMakeLists.txt b/examples/ida/petsc/CMakeLists.txt index d42dee4a63..73c2fa8383 100644 --- a/examples/ida/petsc/CMakeLists.txt +++ b/examples/ida/petsc/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for IDA PETSc examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args;\nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args;\nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(IDA_examples @@ -50,8 +50,8 @@ foreach(example_tuple ${IDA_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) add_executable(${example} ${example}.c) @@ -111,8 +111,8 @@ if(EXAMPLES_INSTALL) examples2string(IDA_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -124,8 +124,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/ida/petsc) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/ida/raja/CMakeLists.txt b/examples/ida/raja/CMakeLists.txt index 60416d8fc4..630ac4f3c3 100644 --- a/examples/ida/raja/CMakeLists.txt +++ b/examples/ida/raja/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for IDA raja examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(IDA_examples "idaHeat2D_kry_raja.cpp\;develop") diff --git a/examples/ida/serial/CMakeLists.txt b/examples/ida/serial/CMakeLists.txt index a982f6bd35..54ed8db4a7 100644 --- a/examples/ida/serial/CMakeLists.txt +++ b/examples/ida/serial/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for IDA serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(IDA_examples @@ -40,7 +40,7 @@ set(IDA_examples_KLU "idaHeat2D_klu\;\;develop" "idaRoberts_klu\;\;develop") # Examples using SuperLU_MT linear solver set(IDA_examples_SUPERLUMT "idaRoberts_sps\;\;develop" - #"idaHeat2D_sps\;develop" # not ready yet, incorrect answer. + # "idaHeat2D_sps\;develop" # not ready yet, incorrect answer. ) # Auxiliary files to install @@ -61,8 +61,8 @@ foreach(example_tuple ${IDA_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -122,8 +122,8 @@ if(BUILD_SUNLINSOL_LAPACKBAND AND BUILD_SUNLINSOL_LAPACKDENSE) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -184,8 +184,8 @@ if(BUILD_SUNLINSOL_KLU) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # add example source files add_executable(${example} ${example}.c) @@ -246,8 +246,8 @@ if(BUILD_SUNLINSOL_SUPERLUMT) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # add example source files add_executable(${example} ${example}.c) @@ -266,10 +266,10 @@ if(BUILD_SUNLINSOL_SUPERLUMT) string(REGEX REPLACE " " "_" test_name ${example}_${example_args}) endif() - # Do not include SuperLUMT examples in testing when the indextype is int64_t. - # Answer files were generated with int32_t and minor differences in output - # occur causing a false positive when testing. These tests can be re-enabled - # when type specific answer files are added. + # Do not include SuperLUMT examples in testing when the indextype is + # int64_t. Answer files were generated with int32_t and minor differences in + # output occur causing a false positive when testing. These tests can be + # re-enabled when type specific answer files are added. if(SUNDIALS_INDEX_SIZE MATCHES "32") # add example to regression tests sundials_add_test( @@ -340,8 +340,8 @@ if(EXAMPLES_INSTALL) endif() # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -353,8 +353,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/ida/serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/ida/trilinos/CMakeLists.txt b/examples/ida/trilinos/CMakeLists.txt index 550bf0d04f..dcb91c5cec 100644 --- a/examples/ida/trilinos/CMakeLists.txt +++ b/examples/ida/trilinos/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for IDA Trilinos examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers if(Trilinos_INTERFACE_MPI_CXX_FOUND) @@ -92,8 +92,8 @@ if(EXAMPLES_INSTALL) examples2string(IDA_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -105,8 +105,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/ida/trilinos) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/idas/C_openmp/CMakeLists.txt b/examples/idas/C_openmp/CMakeLists.txt index dd73281647..db3275a3c6 100644 --- a/examples/idas/C_openmp/CMakeLists.txt +++ b/examples/idas/C_openmp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for IDAS OpenMP examples # ----------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(IDAS_examples "idasFoodWeb_bnd_omp\;4\;develop" @@ -36,8 +36,8 @@ foreach(example_tuple ${IDAS_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -50,11 +50,8 @@ foreach(example_tuple ${IDAS_examples}) endif() # check if example args are provided and set the test name - # IF("${example_args}" STREQUAL "") - # SET(test_name ${example}) - # ELSE() - # STRING(REGEX REPLACE " " "_" test_name ${example}_${example_args}) - # ENDIF() + # IF("${example_args}" STREQUAL "") SET(test_name ${example}) ELSE() + # STRING(REGEX REPLACE " " "_" test_name ${example}_${example_args}) ENDIF() # LEB NOTE: This goes away with TestRunner fix for OpenMP if(NOT ${example} MATCHES "idasFoodWeb_kry_omp") @@ -99,8 +96,8 @@ if(EXAMPLES_INSTALL) examples2string(IDAS_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -112,8 +109,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/idas/C_openmp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/idas/F2003_serial/CMakeLists.txt b/examples/idas/F2003_serial/CMakeLists.txt index 66a07b30b0..5831c504a9 100644 --- a/examples/idas/F2003_serial/CMakeLists.txt +++ b/examples/idas/F2003_serial/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for the F2003 IDAS serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases set(FIDAS_examples "idasAkzoNob_ASAi_dns_f2003\;develop") if(SUNDIALS_INDEX_SIZE MATCHES "64") @@ -76,8 +76,8 @@ if(EXAMPLES_INSTALL) examples2string(FIDAS_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -89,8 +89,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/idas/F2003_serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/idas/parallel/CMakeLists.txt b/examples/idas/parallel/CMakeLists.txt index fea8d7f657..a5fccb3d2d 100644 --- a/examples/idas/parallel/CMakeLists.txt +++ b/examples/idas/parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for IDAS parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(IDAS_examples @@ -53,8 +53,8 @@ foreach(example_tuple ${IDAS_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -116,8 +116,8 @@ if(EXAMPLES_INSTALL) examples2string(IDAS_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -129,8 +129,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/idas/parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/idas/serial/CMakeLists.txt b/examples/idas/serial/CMakeLists.txt index 7e1de6a37f..422859caaf 100644 --- a/examples/idas/serial/CMakeLists.txt +++ b/examples/idas/serial/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for IDAS serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(IDAS_examples @@ -70,8 +70,8 @@ foreach(example_tuple ${IDAS_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -131,8 +131,8 @@ if(BUILD_SUNLINSOL_LAPACKBAND AND BUILD_SUNLINSOL_LAPACKDENSE) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -193,8 +193,8 @@ if(BUILD_SUNLINSOL_KLU) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -255,8 +255,8 @@ if(BUILD_SUNLINSOL_SUPERLUMT) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # add example source files add_executable(${example} ${example}.c) @@ -275,10 +275,10 @@ if(BUILD_SUNLINSOL_SUPERLUMT) string(REGEX REPLACE " " "_" test_name ${example}_${example_args}) endif() - # Do not include SuperLUMT examples in testing when the indextype is int64_t. - # Answer files were generated with int32_t and minor differences in output - # occur causing a false positive when testing. These tests can be re-enabled - # when type specific answer files are added. + # Do not include SuperLUMT examples in testing when the indextype is + # int64_t. Answer files were generated with int32_t and minor differences in + # output occur causing a false positive when testing. These tests can be + # re-enabled when type specific answer files are added. if(SUNDIALS_INDEX_SIZE MATCHES "32") # add example to regression tests sundials_add_test( @@ -349,8 +349,8 @@ if(EXAMPLES_INSTALL) endif() # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -362,8 +362,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/idas/serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/kinsol/CMakeLists.txt b/examples/kinsol/CMakeLists.txt index 52999ab573..46c2da46a9 100644 --- a/examples/kinsol/CMakeLists.txt +++ b/examples/kinsol/CMakeLists.txt @@ -19,7 +19,8 @@ if(EXAMPLES_ENABLE_C) add_subdirectory(serial) if(ENABLE_OPENMP AND OPENMP_FOUND) - # the only example here need special handling from testrunner (not yet implemented) + # the only example here need special handling from testrunner (not yet + # implemented) add_subdirectory(C_openmp) endif() if(ENABLE_MPI AND MPI_C_FOUND) diff --git a/examples/kinsol/CXX_parhyp/CMakeLists.txt b/examples/kinsol/CXX_parhyp/CMakeLists.txt index 79e908157f..eed2f86fea 100644 --- a/examples/kinsol/CXX_parhyp/CMakeLists.txt +++ b/examples/kinsol/CXX_parhyp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for KINSOL C++ parhyp examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(KINSOL_examples "kin_bratu2D_hypre_pfmg\;--np 2 2\;1\;4\;develop" @@ -41,8 +41,8 @@ foreach(example_tuple ${KINSOL_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.cpp) @@ -107,8 +107,8 @@ if(EXAMPLES_INSTALL) examples2string(KINSOL_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -120,8 +120,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/kinsol/CXX_parhyp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/kinsol/C_openmp/CMakeLists.txt b/examples/kinsol/C_openmp/CMakeLists.txt index 0222e7bdd9..9777344d19 100644 --- a/examples/kinsol/C_openmp/CMakeLists.txt +++ b/examples/kinsol/C_openmp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for KINSOL OpenMP examples # ----------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(KINSOL_examples "kinFoodWeb_kry_omp\;4\;develop") @@ -40,8 +40,8 @@ foreach(example_tuple ${KINSOL_examples}) set_target_properties(${example} PROPERTIES FOLDER "Examples") - if(NOT ${example} MATCHES "kinFoodWeb_kry_omp" - )# No test until TestRunner modified for OpenMP + if(NOT ${example} MATCHES "kinFoodWeb_kry_omp") # No test until TestRunner + # modified for OpenMP # add example to regression tests sundials_add_test( ${example} @@ -80,8 +80,8 @@ if(EXAMPLES_INSTALL) examples2string(KINSOL_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -93,8 +93,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/kinsol/C_openmp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/kinsol/F2003_parallel/CMakeLists.txt b/examples/kinsol/F2003_parallel/CMakeLists.txt index f5569fe372..7c5dd3be13 100644 --- a/examples/kinsol/F2003_parallel/CMakeLists.txt +++ b/examples/kinsol/F2003_parallel/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for the KINsol F2003 module parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases if(SUNDIALS_INDEX_SIZE MATCHES "64") set(FKINSOL_examples "kin_diagon_kry_f2003\;\;1\;4\;develop\;2") endif() @@ -111,8 +111,8 @@ if(EXAMPLES_INSTALL) examples2string(FKINSOL_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -125,8 +125,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/kinsol/F2003_parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/kinsol/F2003_serial/CMakeLists.txt b/examples/kinsol/F2003_serial/CMakeLists.txt index fbdbbebb08..344fb18a45 100644 --- a/examples/kinsol/F2003_serial/CMakeLists.txt +++ b/examples/kinsol/F2003_serial/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for the F2003 KINSOL serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;type" where the type is 'develop' for examples +# excluded from 'make test' in releases set(FKINSOL_examples "kinDiagon_kry_f2003\;\;develop") if(SUNDIALS_INDEX_SIZE MATCHES "64") @@ -80,8 +80,8 @@ if(EXAMPLES_INSTALL) examples2string(FKINSOL_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -94,8 +94,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/kinsol/F2003_serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/kinsol/parallel/CMakeLists.txt b/examples/kinsol/parallel/CMakeLists.txt index 3f90468a5f..cb25747d61 100644 --- a/examples/kinsol/parallel/CMakeLists.txt +++ b/examples/kinsol/parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for KINSOL parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;nodes\;tasks\;type" where the type is develop +# for examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(KINSOL_examples "kinFoodWeb_kry_bbd_p\;1\;4\;exclude-single" @@ -91,8 +91,8 @@ if(EXAMPLES_INSTALL) examples2string(KINSOL_examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -104,8 +104,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/kinsol/parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/kinsol/serial/CMakeLists.txt b/examples/kinsol/serial/CMakeLists.txt index a510bcc28a..30d7cf2ff9 100644 --- a/examples/kinsol/serial/CMakeLists.txt +++ b/examples/kinsol/serial/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for KINSOL serial examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS linear solvers set(KINSOL_examples @@ -64,8 +64,8 @@ foreach(example_tuple ${KINSOL_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files @@ -285,8 +285,8 @@ if(EXAMPLES_INSTALL) endif() # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -298,8 +298,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/kinsol/serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/CMakeLists.txt b/examples/nvector/CMakeLists.txt index dc105c282f..35a9279997 100644 --- a/examples/nvector/CMakeLists.txt +++ b/examples/nvector/CMakeLists.txt @@ -26,7 +26,8 @@ add_subdirectory(serial) # Build the nvector test utilities add_library(test_nvector_obj OBJECT test_nvector.c) if(BUILD_SHARED_LIBS) - # need PIC when shared libs are used since the example executables will link to the shared lib + # need PIC when shared libs are used since the example executables will link + # to the shared lib set_property(TARGET test_nvector_obj PROPERTY POSITION_INDEPENDENT_CODE TRUE) endif() target_link_libraries(test_nvector_obj PRIVATE sundials_nvecserial) diff --git a/examples/nvector/C_openmp/CMakeLists.txt b/examples/nvector/C_openmp/CMakeLists.txt index 5ddabace94..cb3a6c4245 100644 --- a/examples/nvector/C_openmp/CMakeLists.txt +++ b/examples/nvector/C_openmp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for OpenMP nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS OpenMP nvector set(nvector_openmp_examples @@ -51,8 +51,8 @@ foreach(example_tuple ${nvector_openmp_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -100,8 +100,8 @@ foreach(example_tuple ${nvector_openmp_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -152,8 +152,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -165,8 +165,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/C_openmp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/cuda/CMakeLists.txt b/examples/nvector/cuda/CMakeLists.txt index 9188f25c96..1b3d7ad929 100644 --- a/examples/nvector/cuda/CMakeLists.txt +++ b/examples/nvector/cuda/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for CUDA nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS cuda nvector set(nvector_cuda_examples @@ -44,8 +44,8 @@ foreach(example_tuple ${nvector_cuda_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.cu) @@ -108,8 +108,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -121,8 +121,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/cuda) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/hip/CMakeLists.txt b/examples/nvector/hip/CMakeLists.txt index 41f0576872..9fee0c952c 100644 --- a/examples/nvector/hip/CMakeLists.txt +++ b/examples/nvector/hip/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for HIP nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases if(HIP_PLATFORM STREQUAL "nvcc") set(_warp_size 32) @@ -51,8 +51,8 @@ foreach(example_tuple ${nvector_hip_examples}) # extract the file name without extension get_filename_component(example_target ${example} NAME_WE) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example_target}) # example source files add_executable(${example_target} ${example}) diff --git a/examples/nvector/kokkos/CMakeLists.txt b/examples/nvector/kokkos/CMakeLists.txt index 57e76f5dc6..a54d0ced06 100644 --- a/examples/nvector/kokkos/CMakeLists.txt +++ b/examples/nvector/kokkos/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for Kokkos nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is develop for +# examples excluded from 'make test' in releases set(examples_list "test_nvector_kokkos.cpp\;1000 0\;") include_directories(..) @@ -33,8 +33,8 @@ foreach(example_tuple ${examples_list}) get_filename_component(example_target ${example} NAME_WE) set(example_target "${example_target}.${backend}") - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example_target}) # example source files add_executable(${example_target} ${example}) diff --git a/examples/nvector/manyvector/CMakeLists.txt b/examples/nvector/manyvector/CMakeLists.txt index 5ee41bc535..8b856af133 100644 --- a/examples/nvector/manyvector/CMakeLists.txt +++ b/examples/nvector/manyvector/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for ManyVector nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS manyvector nvector set(nvector_manyvector_examples "test_nvector_manyvector\;1000 100 0\;" @@ -49,8 +49,8 @@ foreach(example_tuple ${nvector_manyvector_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -98,8 +98,8 @@ foreach(example_tuple ${nvector_manyvector_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -150,8 +150,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -163,8 +163,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/manyvector) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/mpicuda/CMakeLists.txt b/examples/nvector/mpicuda/CMakeLists.txt index fdcee08441..278b0fd3d2 100644 --- a/examples/nvector/mpicuda/CMakeLists.txt +++ b/examples/nvector/mpicuda/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for MPIPlusX, X = CUDA NVECTOR examples. # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS MPI+cuda nvector set(nvector_cuda_examples @@ -45,8 +45,8 @@ foreach(example_tuple ${nvector_cuda_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.cu) @@ -112,8 +112,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -125,8 +125,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/mpicuda) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/mpimanyvector/CMakeLists.txt b/examples/nvector/mpimanyvector/CMakeLists.txt index be9b906c93..24089a2cd4 100644 --- a/examples/nvector/mpimanyvector/CMakeLists.txt +++ b/examples/nvector/mpimanyvector/CMakeLists.txt @@ -14,13 +14,15 @@ # CMakeLists.txt file for MPIManyVector nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS MPIManyVector module set(nvector_mpimanyvector_examples - "test_nvector_mpimanyvector_parallel1\;1000 200 0\;1\;4\;" # run parallel on 4 procs - "test_nvector_mpimanyvector_parallel2\;200 1000 0\;1\;4\;" # run parallel on 4 procs + "test_nvector_mpimanyvector_parallel1\;1000 200 0\;1\;4\;" # run parallel on + # 4 procs + "test_nvector_mpimanyvector_parallel2\;200 1000 0\;1\;4\;" # run parallel on + # 4 procs ) # Dependencies for nvector examples @@ -75,8 +77,8 @@ foreach(example_tuple ${nvector_mpimanyvector_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -143,8 +145,8 @@ foreach(example_tuple ${nvector_mpimanyvector_fortran_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -210,8 +212,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -224,8 +226,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/mpimanyvector) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/mpiplusx/CMakeLists.txt b/examples/nvector/mpiplusx/CMakeLists.txt index 70af29d612..9b71a11015 100644 --- a/examples/nvector/mpiplusx/CMakeLists.txt +++ b/examples/nvector/mpiplusx/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for parallel MPIPlusX nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS MPI nvector set(nvector_mpiplusx_examples @@ -71,8 +71,8 @@ foreach(example_tuple ${nvector_mpiplusx_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -139,8 +139,8 @@ foreach(example_tuple ${nvector_mpiplusx_fortran_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -206,8 +206,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -219,8 +219,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/mpiplusx) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/mpiraja/CMakeLists.txt b/examples/nvector/mpiraja/CMakeLists.txt index 6d6b895da3..25cf401087 100644 --- a/examples/nvector/mpiraja/CMakeLists.txt +++ b/examples/nvector/mpiraja/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for raja nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases set(examples_list "test_nvector_mpiraja.cpp\;1000 0\;\;\;" # run sequentially "test_nvector_mpiraja.cpp\;1000 0\;1\;4\;" # run parallel on 4 procs @@ -47,8 +47,8 @@ foreach(example_tuple ${nvector_raja_examples}) # extract the file name without extension get_filename_component(example_target ${example} NAME_WE) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files diff --git a/examples/nvector/openmpdev/CMakeLists.txt b/examples/nvector/openmpdev/CMakeLists.txt index aa01a5b706..7376693908 100644 --- a/examples/nvector/openmpdev/CMakeLists.txt +++ b/examples/nvector/openmpdev/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for OpenMP DEV nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS OpenMP DEV nvector set(nvector_openmpdev_examples "test_nvector_openmpdev\;1000 0\;" @@ -43,8 +43,8 @@ foreach(example_tuple ${nvector_openmpdev_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -96,8 +96,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -109,8 +109,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/openmpdev) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/parallel/CMakeLists.txt b/examples/nvector/parallel/CMakeLists.txt index c60ab23d28..21aa6793cd 100644 --- a/examples/nvector/parallel/CMakeLists.txt +++ b/examples/nvector/parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for MPI nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS MPI nvector set(nvector_parallel_examples @@ -62,8 +62,8 @@ foreach(example_tuple ${nvector_parallel_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -128,8 +128,8 @@ foreach(example_tuple ${nvector_parallel_fortran_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -196,8 +196,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -209,8 +209,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/parhyp/CMakeLists.txt b/examples/nvector/parhyp/CMakeLists.txt index b3fbd6b7f2..6b3ef83cb7 100644 --- a/examples/nvector/parhyp/CMakeLists.txt +++ b/examples/nvector/parhyp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for hypre nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS parallel hypre nvector set(nvector_parhyp_examples @@ -58,8 +58,8 @@ foreach(example_tuple ${nvector_parhyp_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -128,8 +128,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -141,8 +141,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/parhyp) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/petsc/CMakeLists.txt b/examples/nvector/petsc/CMakeLists.txt index 2dad90cce6..fc2b9b456e 100644 --- a/examples/nvector/petsc/CMakeLists.txt +++ b/examples/nvector/petsc/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for PETSc nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS PETSc nvector set(nvector_petsc_examples "test_nvector_petsc\;1000 0\;\;\;" # run sequentially @@ -53,8 +53,8 @@ foreach(example_tuple ${nvector_petsc_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -123,8 +123,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -136,8 +136,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/petsc) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/pthreads/CMakeLists.txt b/examples/nvector/pthreads/CMakeLists.txt index 6a43d71e52..014fc476ec 100644 --- a/examples/nvector/pthreads/CMakeLists.txt +++ b/examples/nvector/pthreads/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for PThread nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS pthread nvector set(nvector_pthreads_examples @@ -51,8 +51,8 @@ foreach(example_tuple ${nvector_pthreads_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -101,8 +101,8 @@ foreach(example_tuple ${nvector_pthreads_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -153,8 +153,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -166,8 +166,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/pthreads) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/nvector/raja/CMakeLists.txt b/examples/nvector/raja/CMakeLists.txt index 9f6dd20052..93b8edaf6d 100644 --- a/examples/nvector/raja/CMakeLists.txt +++ b/examples/nvector/raja/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for raja nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is develop for +# examples excluded from 'make test' in releases set(examples_list "test_nvector_raja.cpp\;1000 0\;") # Add source directory to include directories @@ -48,8 +48,8 @@ foreach(example_tuple ${examples_list}) # extract the file name without extension get_filename_component(example_target ${example} NAME_WE) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example_target}) # add example source files diff --git a/examples/nvector/serial/CMakeLists.txt b/examples/nvector/serial/CMakeLists.txt index 64e8e3b22f..90e1c587c3 100644 --- a/examples/nvector/serial/CMakeLists.txt +++ b/examples/nvector/serial/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for serial nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS serial nvector set(nvector_serial_examples "test_nvector_serial\;1000 0\;" @@ -46,8 +46,8 @@ foreach(example_tuple ${nvector_serial_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -95,8 +95,8 @@ foreach(example_tuple ${nvector_serial_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -148,8 +148,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_serial_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -161,8 +161,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. set(EXAMPLES_DEPENDENCIES) set(nvector_serial_dependencies test_nvector) examples2string(nvector_serial_dependencies EXAMPLES_DEPENDENCIES) diff --git a/examples/nvector/sycl/CMakeLists.txt b/examples/nvector/sycl/CMakeLists.txt index cbe13c31e2..bb2b10b13c 100644 --- a/examples/nvector/sycl/CMakeLists.txt +++ b/examples/nvector/sycl/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for SYCL nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using SUNDIALS sycl nvector set(nvector_sycl_examples @@ -36,8 +36,8 @@ foreach(example_tuple ${nvector_sycl_examples}) # extract the file name without extension get_filename_component(example_target ${example} NAME_WE) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example_target}) # example source files diff --git a/examples/nvector/trilinos/CMakeLists.txt b/examples/nvector/trilinos/CMakeLists.txt index ef710ddecf..3b51bd05bd 100644 --- a/examples/nvector/trilinos/CMakeLists.txt +++ b/examples/nvector/trilinos/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for Trilinos nvector examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;tasks\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;tasks\;type" where the type is 'develop' +# for examples excluded from 'make test' in releases # Examples using SUNDIALS Trilinos nvector wrapper if(Trilinos_INTERFACE_MPI_CXX_FOUND) @@ -65,8 +65,8 @@ foreach(example_tuple ${nvector_trilinos_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.cpp) @@ -79,8 +79,8 @@ foreach(example_tuple ${nvector_trilinos_examples}) set_target_properties(${example} PROPERTIES FOLDER "Examples") - # Trilinos libraries must be linked after SUNDIALS libraries! - # Otherwise, segfaults may occur; something to do with RCPs. + # Trilinos libraries must be linked after SUNDIALS libraries! Otherwise, + # segfaults may occur; something to do with RCPs. target_link_libraries(${example} PRIVATE ${SUNDIALS_LIBS}) endif() @@ -133,8 +133,8 @@ if(EXAMPLES_INSTALL) examples2string(nvector_examples_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -146,8 +146,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/trilinos) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/CMakeLists.txt b/examples/sunlinsol/CMakeLists.txt index c468bf3efa..34eecd211b 100644 --- a/examples/sunlinsol/CMakeLists.txt +++ b/examples/sunlinsol/CMakeLists.txt @@ -33,7 +33,8 @@ add_subdirectory(pcg/serial) # Build the sunlinsol test utilities add_library(test_sunlinsol_obj OBJECT test_sunlinsol.c test_sunlinsol.h) if(BUILD_SHARED_LIBS) - # need PIC when shared libs are used since the example executables will link to the shared lib + # need PIC when shared libs are used since the example executables will link + # to the shared lib set_property(TARGET test_sunlinsol_obj PROPERTY POSITION_INDEPENDENT_CODE TRUE) endif() diff --git a/examples/sunlinsol/band/CMakeLists.txt b/examples/sunlinsol/band/CMakeLists.txt index 92c3d8ed20..ad0d825e68 100644 --- a/examples/sunlinsol/band/CMakeLists.txt +++ b/examples/sunlinsol/band/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for sunlinsol band examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS band linear solver set(sunlinsol_band_examples @@ -41,8 +41,8 @@ foreach(example_tuple ${sunlinsol_band_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../test_sunlinsol.c) @@ -88,8 +88,8 @@ foreach(example_tuple ${sunlinsol_band_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -139,16 +139,16 @@ if(EXAMPLES_INSTALL) set(SOLVER_LIB "sundials_sunlinsolband") set(LIBS "${LIBS} -lsundials_sunmatrixband") - # Set the link directory for the band sunmatrix library - # The generated CMakeLists.txt does not use find_library() locate it + # Set the link directory for the band sunmatrix library The generated + # CMakeLists.txt does not use find_library() locate it set(EXTRA_LIBS_DIR "${libdir}") examples2string(sunlinsol_band_examples EXAMPLES) examples2string(sunlinsol_band_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -160,8 +160,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/band) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/cusolversp/CMakeLists.txt b/examples/sunlinsol/cusolversp/CMakeLists.txt index c853661326..f4cdfa956a 100644 --- a/examples/sunlinsol/cusolversp/CMakeLists.txt +++ b/examples/sunlinsol/cusolversp/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for cuSolverSp examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is develop for +# examples excluded from 'make test' in releases set(examples_list "test_sunlinsol_cusolversp_batchqr.cu\;100 1 0\;" "test_sunlinsol_cusolversp_batchqr.cu\;10 10 0\;") @@ -33,8 +33,8 @@ foreach(example_tuple ${examples_list}) # extract the file name without extension get_filename_component(example_target ${example} NAME_WE) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example_target}) # example source files add_executable(${example_target} ${example} ../test_sunlinsol.c diff --git a/examples/sunlinsol/dense/CMakeLists.txt b/examples/sunlinsol/dense/CMakeLists.txt index 2c291626e0..d9ebd4d3fd 100644 --- a/examples/sunlinsol/dense/CMakeLists.txt +++ b/examples/sunlinsol/dense/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for sunlinsol dense examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS dense linear solver set(sunlinsol_dense_examples @@ -42,8 +42,8 @@ foreach(example_tuple ${sunlinsol_dense_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../test_sunlinsol.c) @@ -88,8 +88,8 @@ foreach(example_tuple ${sunlinsol_dense_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -140,16 +140,16 @@ if(EXAMPLES_INSTALL) set(SOLVER_LIB "sundials_sunlinsoldense") set(LIBS "${LIBS} -lsundials_sunmatrixdense") - # Set the link directory for the dense sunmatrix library - # The generated CMakeLists.txt does not use find_library() locate it + # Set the link directory for the dense sunmatrix library The generated + # CMakeLists.txt does not use find_library() locate it set(EXTRA_LIBS_DIR "${libdir}") examples2string(sunlinsol_dense_examples EXAMPLES) examples2string(sunlinsol_dense_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -161,8 +161,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/dense) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/ginkgo/CMakeLists.txt b/examples/sunlinsol/ginkgo/CMakeLists.txt index e54b13e911..7caec2b778 100644 --- a/examples/sunlinsol/ginkgo/CMakeLists.txt +++ b/examples/sunlinsol/ginkgo/CMakeLists.txt @@ -12,19 +12,19 @@ # SUNDIALS Copyright End # ------------------------------------------------------------------------------ -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases set(examples "test_sunlinsol_ginkgo.cpp\;bicg csr 100 0 100 0\;" - # "test_sunlinsol_ginkgo.cpp\;bicg dense 100 0 100 0\;" + # "test_sunlinsol_ginkgo.cpp\;bicg dense 100 0 100 0\;" "test_sunlinsol_ginkgo.cpp\;bicgstab csr 100 0 100 0\;" - # "test_sunlinsol_ginkgo.cpp\;bicgstab dense 100 0 100 0\;" + # "test_sunlinsol_ginkgo.cpp\;bicgstab dense 100 0 100 0\;" "test_sunlinsol_ginkgo.cpp\;cgs csr 100 0 100 0\;" - # "test_sunlinsol_ginkgo.cpp\;cgs dense 100 0 100 0\;" + # "test_sunlinsol_ginkgo.cpp\;cgs dense 100 0 100 0\;" "test_sunlinsol_ginkgo.cpp\;gmres csr 100 0 100 0\;" - # "test_sunlinsol_ginkgo.cpp\;gmres dense 100 0 100 0\;" + # "test_sunlinsol_ginkgo.cpp\;gmres dense 100 0 100 0\;" "test_sunlinsol_ginkgo.cpp\;idr csr 100 0 100 0\;" - # "test_sunlinsol_ginkgo.cpp\;idr dense 100 0 100 0\;" + # "test_sunlinsol_ginkgo.cpp\;idr dense 100 0 100 0\;" ) # Add source directory to include directories diff --git a/examples/sunlinsol/klu/CMakeLists.txt b/examples/sunlinsol/klu/CMakeLists.txt index a2b9209fea..1dd96851fa 100644 --- a/examples/sunlinsol/klu/CMakeLists.txt +++ b/examples/sunlinsol/klu/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for sunlinsol KLU examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using the KLU linear solver set(sunlinsol_klu_examples @@ -41,8 +41,8 @@ foreach(example_tuple ${sunlinsol_klu_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../test_sunlinsol.c) @@ -89,8 +89,8 @@ foreach(example_tuple ${sunlinsol_klu_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -146,16 +146,16 @@ if(EXAMPLES_INSTALL) set(SOLVER_LIB "sundials_sunlinsolklu") set(LIBS "${LIBS} -lsundials_sunmatrixsparse -lsundials_sunmatrixdense") - # Set the link directory for the sparse and dense sunmatrix libraries - # The generated CMakeLists.txt does not use find_library() locate them + # Set the link directory for the sparse and dense sunmatrix libraries The + # generated CMakeLists.txt does not use find_library() locate them set(EXTRA_LIBS_DIR "${libdir}") examples2string(sunlinsol_klu_examples EXAMPLES_KLU) examples2string(sunlinsol_klu_dependencies EXAMPLES_DEPENDENCIES_KLU) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -167,8 +167,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/klu) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/kokkos/CMakeLists.txt b/examples/sunlinsol/kokkos/CMakeLists.txt index 4573ea4a1f..feef86b085 100644 --- a/examples/sunlinsol/kokkos/CMakeLists.txt +++ b/examples/sunlinsol/kokkos/CMakeLists.txt @@ -12,8 +12,8 @@ # SUNDIALS Copyright End # ------------------------------------------------------------------------------ -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases set(examples_list "test_sunlinsol_kokkosdense.cpp\;10 1 0\;" "test_sunlinsol_kokkosdense.cpp\;100 1 0\;" diff --git a/examples/sunlinsol/lapackband/CMakeLists.txt b/examples/sunlinsol/lapackband/CMakeLists.txt index a3cc7fdf12..fe7bd8a2f2 100644 --- a/examples/sunlinsol/lapackband/CMakeLists.txt +++ b/examples/sunlinsol/lapackband/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for sunlinsol LAPACK band examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using the LAPACK band linear solver set(sunlinsol_lapackband_examples @@ -38,8 +38,8 @@ foreach(example_tuple ${sunlinsol_lapackband_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../test_sunlinsol.c) @@ -87,16 +87,16 @@ if(EXAMPLES_INSTALL) set(SOLVER_LIB "sundials_sunlinsollapackband") set(LIBS "${LIBS} -lsundials_sunmatrixband -lsundials_sunmatrixdense") - # Set the link directory for the band and dense sunmatrix libraries - # The generated CMakeLists.txt does not use find_library() locate them + # Set the link directory for the band and dense sunmatrix libraries The + # generated CMakeLists.txt does not use find_library() locate them set(EXTRA_LIBS_DIR "${libdir}") examples2string(sunlinsol_lapackband_examples EXAMPLES_BL) examples2string(sunlinsol_lapackband_dependencies EXAMPLES_DEPENDENCIES_BL) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -109,8 +109,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/lapackband) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/lapackdense/CMakeLists.txt b/examples/sunlinsol/lapackdense/CMakeLists.txt index f6a14e5adb..eaaacd2df7 100644 --- a/examples/sunlinsol/lapackdense/CMakeLists.txt +++ b/examples/sunlinsol/lapackdense/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for sunlinsol LAPACK dense examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using the LAPACK dense linear solver set(sunlinsol_lapackdense_examples @@ -47,8 +47,8 @@ foreach(example_tuple ${sunlinsol_lapackdense_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../test_sunlinsol.c) @@ -95,8 +95,8 @@ foreach(example_tuple ${sunlinsol_lapackdense_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -147,16 +147,16 @@ if(EXAMPLES_INSTALL) set(SOLVER_LIB "sundials_sunlinsollapackdense") set(LIBS "${LIBS} -lsundials_sunmatrixdense -lsundials_sunmatrixband") - # Set the link directory for the dense and band sunmatrix libraries - # The generated CMakeLists.txt does not use find_library() locate them + # Set the link directory for the dense and band sunmatrix libraries The + # generated CMakeLists.txt does not use find_library() locate them set(EXTRA_LIBS_DIR "${libdir}") examples2string(sunlinsol_lapackdense_examples EXAMPLES_BL) examples2string(sunlinsol_lapackdense_dependencies EXAMPLES_DEPENDENCIES_BL) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -169,8 +169,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/lapackdense) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/magmadense/CMakeLists.txt b/examples/sunlinsol/magmadense/CMakeLists.txt index 7d6cc581fc..d30578da23 100644 --- a/examples/sunlinsol/magmadense/CMakeLists.txt +++ b/examples/sunlinsol/magmadense/CMakeLists.txt @@ -12,8 +12,8 @@ # SUNDIALS Copyright End # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS MAGMA dense matrix set(sunlinsols_magmadense_examples diff --git a/examples/sunlinsol/onemkldense/CMakeLists.txt b/examples/sunlinsol/onemkldense/CMakeLists.txt index ec71fe665e..6c2da1fcdb 100644 --- a/examples/sunlinsol/onemkldense/CMakeLists.txt +++ b/examples/sunlinsol/onemkldense/CMakeLists.txt @@ -12,8 +12,8 @@ # SUNDIALS Copyright End # ------------------------------------------------------------------------------ -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS ONEMKL dense matrix set(sunlinsols_onemkldense_examples diff --git a/examples/sunlinsol/pcg/parallel/CMakeLists.txt b/examples/sunlinsol/pcg/parallel/CMakeLists.txt index 7a3ba2e77f..4ed434d32d 100644 --- a/examples/sunlinsol/pcg/parallel/CMakeLists.txt +++ b/examples/sunlinsol/pcg/parallel/CMakeLists.txt @@ -23,8 +23,8 @@ else() set(TOL "1e-13") endif() -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using the SUNDIALS PCG linear solver set(sunlinsol_pcg_examples @@ -54,8 +54,8 @@ foreach(example_tuple ${sunlinsol_pcg_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../../test_sunlinsol.c) @@ -111,8 +111,8 @@ if(EXAMPLES_INSTALL) examples2string(sunlinsol_pcg_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -125,8 +125,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/pcg/parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/pcg/serial/CMakeLists.txt b/examples/sunlinsol/pcg/serial/CMakeLists.txt index 68817ba553..592d22615a 100644 --- a/examples/sunlinsol/pcg/serial/CMakeLists.txt +++ b/examples/sunlinsol/pcg/serial/CMakeLists.txt @@ -23,8 +23,8 @@ else() set(TOL "1e-16") endif() -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS PCG linear solver set(sunlinsol_pcg_examples "test_sunlinsol_pcg_serial\;100 500 ${TOL} 0\;") @@ -48,8 +48,8 @@ foreach(example_tuple ${sunlinsol_pcg_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../../test_sunlinsol.c) @@ -95,8 +95,8 @@ foreach(example_tuple ${sunlinsol_pcg_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -149,8 +149,8 @@ if(EXAMPLES_INSTALL) examples2string(sunlinsol_pcg_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -163,8 +163,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/pcg/serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/spbcgs/parallel/CMakeLists.txt b/examples/sunlinsol/spbcgs/parallel/CMakeLists.txt index 2959348dc2..f9248bf548 100644 --- a/examples/sunlinsol/spbcgs/parallel/CMakeLists.txt +++ b/examples/sunlinsol/spbcgs/parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for sunlinsol SPBCGS parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using the SUNDIALS SPBCGS linear solver set(sunlinsol_spbcgs_examples @@ -46,8 +46,8 @@ foreach(example_tuple ${sunlinsol_spbcgs_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../../test_sunlinsol.c) @@ -104,8 +104,8 @@ if(EXAMPLES_INSTALL) examples2string(sunlinsol_spbcgs_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -120,8 +120,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/spbcgs/parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/spbcgs/serial/CMakeLists.txt b/examples/sunlinsol/spbcgs/serial/CMakeLists.txt index b8f4d1c667..000d23856b 100644 --- a/examples/sunlinsol/spbcgs/serial/CMakeLists.txt +++ b/examples/sunlinsol/spbcgs/serial/CMakeLists.txt @@ -23,8 +23,8 @@ else() set(TOL "1e-16") endif() -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS SPBCGS linear solver set(sunlinsol_spbcgs_examples @@ -50,8 +50,8 @@ foreach(example_tuple ${sunlinsol_spbcgs_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../../test_sunlinsol.c) @@ -97,8 +97,8 @@ foreach(example_tuple ${sunlinsol_spbcgs_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -152,8 +152,8 @@ if(EXAMPLES_INSTALL) examples2string(sunlinsol_spbcgs_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -166,8 +166,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/spbcgs/serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/spfgmr/parallel/CMakeLists.txt b/examples/sunlinsol/spfgmr/parallel/CMakeLists.txt index 84bcaabe9f..92e06dafa6 100644 --- a/examples/sunlinsol/spfgmr/parallel/CMakeLists.txt +++ b/examples/sunlinsol/spfgmr/parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for sunlinsol SPFGMR parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using the SUNDIALS SPTFQMR linear solver set(sunlinsol_spfgmr_examples @@ -46,8 +46,8 @@ foreach(example_tuple ${sunlinsol_spfgmr_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../../test_sunlinsol.c) @@ -103,8 +103,8 @@ if(EXAMPLES_INSTALL) examples2string(sunlinsol_spfgmr_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -119,8 +119,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/spfgmr/parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/spfgmr/serial/CMakeLists.txt b/examples/sunlinsol/spfgmr/serial/CMakeLists.txt index aa785f2dc3..c632c1ec16 100644 --- a/examples/sunlinsol/spfgmr/serial/CMakeLists.txt +++ b/examples/sunlinsol/spfgmr/serial/CMakeLists.txt @@ -23,8 +23,8 @@ else() set(TOL "1e-14") endif() -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS SPFGMR linear solver set(sunlinsol_spfgmr_examples @@ -49,8 +49,8 @@ foreach(example_tuple ${sunlinsol_spfgmr_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../../test_sunlinsol.c) @@ -96,8 +96,8 @@ foreach(example_tuple ${sunlinsol_spfgmr_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -151,8 +151,8 @@ if(EXAMPLES_INSTALL) examples2string(sunlinsol_spfgmr_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -165,8 +165,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/spfgmr/serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/spgmr/parallel/CMakeLists.txt b/examples/sunlinsol/spgmr/parallel/CMakeLists.txt index cb7858142f..28d3422f7c 100644 --- a/examples/sunlinsol/spgmr/parallel/CMakeLists.txt +++ b/examples/sunlinsol/spgmr/parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for sunlinsol SPGMR parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using the SUNDIALS SPGMR linear solver set(sunlinsol_spgmr_examples @@ -48,8 +48,8 @@ foreach(example_tuple ${sunlinsol_spgmr_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../../test_sunlinsol.c) @@ -105,8 +105,8 @@ if(EXAMPLES_INSTALL) examples2string(sunlinsol_spgmr_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -120,8 +120,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/spgmr/parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/spgmr/serial/CMakeLists.txt b/examples/sunlinsol/spgmr/serial/CMakeLists.txt index 8f58d8f1be..8bd2e6645d 100644 --- a/examples/sunlinsol/spgmr/serial/CMakeLists.txt +++ b/examples/sunlinsol/spgmr/serial/CMakeLists.txt @@ -23,8 +23,8 @@ else() set(TOL "1e-14") endif() -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS SPGMR linear solver set(sunlinsol_spgmr_examples @@ -52,8 +52,8 @@ foreach(example_tuple ${sunlinsol_spgmr_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../../test_sunlinsol.c) @@ -99,8 +99,8 @@ foreach(example_tuple ${sunlinsol_spgmr_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -154,8 +154,8 @@ if(EXAMPLES_INSTALL) examples2string(sunlinsol_spgmr_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -168,8 +168,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/spgmr/serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/sptfqmr/parallel/CMakeLists.txt b/examples/sunlinsol/sptfqmr/parallel/CMakeLists.txt index 8f5b84be8c..ea3f02a31d 100644 --- a/examples/sunlinsol/sptfqmr/parallel/CMakeLists.txt +++ b/examples/sunlinsol/sptfqmr/parallel/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for sunlinsol SPTFQMR parallel examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;tasks\;type" where the type is +# develop for examples excluded from 'make test' in releases # Examples using the SUNDIALS SPTFQMR linear solver set(sunlinsol_sptfqmr_examples @@ -46,8 +46,8 @@ foreach(example_tuple ${sunlinsol_sptfqmr_examples}) list(GET example_tuple 3 number_of_tasks) list(GET example_tuple 4 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../../test_sunlinsol.c) @@ -103,8 +103,8 @@ if(EXAMPLES_INSTALL) examples2string(sunlinsol_sptfqmr_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -119,8 +119,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/sptfqmr/parallel) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/sptfqmr/serial/CMakeLists.txt b/examples/sunlinsol/sptfqmr/serial/CMakeLists.txt index 4390b7d900..056adb8b35 100644 --- a/examples/sunlinsol/sptfqmr/serial/CMakeLists.txt +++ b/examples/sunlinsol/sptfqmr/serial/CMakeLists.txt @@ -23,8 +23,8 @@ else() set(TOL "1e-16") endif() -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS SPTFQMR linear solver set(sunlinsol_sptfqmr_examples @@ -51,8 +51,8 @@ foreach(example_tuple ${sunlinsol_sptfqmr_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../../test_sunlinsol.c) @@ -98,8 +98,8 @@ foreach(example_tuple ${sunlinsol_sptfqmr_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -153,8 +153,8 @@ if(EXAMPLES_INSTALL) examples2string(sunlinsol_sptfqmr_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -168,8 +168,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/sptfqmr/serial) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunlinsol/superludist/CMakeLists.txt b/examples/sunlinsol/superludist/CMakeLists.txt index 38b9949351..40498aa75c 100644 --- a/examples/sunlinsol/superludist/CMakeLists.txt +++ b/examples/sunlinsol/superludist/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for the superlu-dist SUNLinearSolver examples # ----------------------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;type" where the -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;type" where the 'develop' for +# examples excluded from 'make test' in releases # Examples using the SuperLU_MT linear solver set(sunlinsol_superludist_examples @@ -50,8 +50,8 @@ foreach(example_tuple ${sunlinsol_superludist_examples}) # extract the file name without extension get_filename_component(example_target ${example} NAME_WE) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example_target}) # example source files diff --git a/examples/sunlinsol/superlumt/CMakeLists.txt b/examples/sunlinsol/superlumt/CMakeLists.txt index 3fe72c05dd..5d08f1dcf6 100644 --- a/examples/sunlinsol/superlumt/CMakeLists.txt +++ b/examples/sunlinsol/superlumt/CMakeLists.txt @@ -14,12 +14,11 @@ # CMakeLists.txt file for sunlinsol SuperLU_MT examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases -# Examples using the SuperLU_MT linear solver -# Note: threaded tests are excluded because of a potential bug in -# SuperLU_MT that causes random test failures +# Examples using the SuperLU_MT linear solver Note: threaded tests are excluded +# because of a potential bug in SuperLU_MT that causes random test failures set(sunlinsol_superlumt_examples "test_sunlinsol_superlumt\;300 0 1 0\;" "test_sunlinsol_superlumt\;300 1 1 0\;" @@ -40,8 +39,8 @@ foreach(example_tuple ${sunlinsol_superlumt_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../test_sunlinsol.c) @@ -89,8 +88,8 @@ if(EXAMPLES_INSTALL) set(SOLVER_LIB "sundials_sunlinsolsuperlumt") set(LIBS "${LIBS} -lsundials_sunmatrixdense -lsundials_sunmatrixsparse") - # Set the link directory for the dense and sparse sunmatrix libraries - # The generated CMakeLists.txt does not use find_library() locate them + # Set the link directory for the dense and sparse sunmatrix libraries The + # generated CMakeLists.txt does not use find_library() locate them set(EXTRA_LIBS_DIR "${libdir}") examples2string(sunlinsol_superlumt_examples EXAMPLES_SLUMT) @@ -103,8 +102,8 @@ if(EXAMPLES_INSTALL) endif() # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -117,8 +116,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunlinsol/superlumt) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunmatrix/CMakeLists.txt b/examples/sunmatrix/CMakeLists.txt index e85115c203..97fe929142 100644 --- a/examples/sunmatrix/CMakeLists.txt +++ b/examples/sunmatrix/CMakeLists.txt @@ -28,7 +28,8 @@ add_subdirectory(sparse) # Build the sunmatrix test utilities add_library(test_sunmatrix_obj OBJECT test_sunmatrix.c test_sunmatrix.h) if(BUILD_SHARED_LIBS) - # need PIC when shared libs are used since the example executables will link to the shared lib + # need PIC when shared libs are used since the example executables will link + # to the shared lib set_property(TARGET test_sunmatrix_obj PROPERTY POSITION_INDEPENDENT_CODE TRUE) endif() diff --git a/examples/sunmatrix/band/CMakeLists.txt b/examples/sunmatrix/band/CMakeLists.txt index b5198660c3..abb8379af3 100644 --- a/examples/sunmatrix/band/CMakeLists.txt +++ b/examples/sunmatrix/band/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for banded sunmatrix examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS banded matrix set(sunmatrix_band_examples @@ -42,8 +42,8 @@ foreach(example_tuple ${sunmatrix_band_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../test_sunmatrix.c) @@ -89,8 +89,8 @@ foreach(example_tuple ${sunmatrix_band_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -143,8 +143,8 @@ if(EXAMPLES_INSTALL) examples2string(sunmatrix_band_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -156,8 +156,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunmatrix/band) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunmatrix/cusparse/CMakeLists.txt b/examples/sunmatrix/cusparse/CMakeLists.txt index e03a3f8cd3..60ae4d0ffb 100644 --- a/examples/sunmatrix/cusparse/CMakeLists.txt +++ b/examples/sunmatrix/cusparse/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for SUNMATRIX_CUSPARSE examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the -# type is develop for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is develop for +# examples excluded from 'make test' in releases set(examples_list "test_sunmatrix_cusparse.cu\;random 100 100 1 CSR 0\;" "test_sunmatrix_cusparse.cu\;random 101 100 1 CSR 0\;" @@ -36,8 +36,8 @@ foreach(example_tuple ${examples_list}) # extract the file name without extension get_filename_component(example_target ${example} NAME_WE) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example_target}) # example source files add_executable(${example_target} ${example} ../test_sunmatrix.c diff --git a/examples/sunmatrix/dense/CMakeLists.txt b/examples/sunmatrix/dense/CMakeLists.txt index 2921a56511..16cca4eca9 100644 --- a/examples/sunmatrix/dense/CMakeLists.txt +++ b/examples/sunmatrix/dense/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for dense sunmatrix examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS dense matrix set(sunmatrix_dense_examples @@ -42,8 +42,8 @@ foreach(example_tuple ${sunmatrix_dense_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../test_sunmatrix.c) @@ -89,8 +89,8 @@ foreach(example_tuple ${sunmatrix_dense_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -143,8 +143,8 @@ if(EXAMPLES_INSTALL) examples2string(sunmatrix_dense_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -156,8 +156,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunmatrix/dense) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunmatrix/ginkgo/CMakeLists.txt b/examples/sunmatrix/ginkgo/CMakeLists.txt index 2ba05b095b..92cca69fce 100644 --- a/examples/sunmatrix/ginkgo/CMakeLists.txt +++ b/examples/sunmatrix/ginkgo/CMakeLists.txt @@ -12,8 +12,8 @@ # SUNDIALS Copyright End # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases set(examples "test_sunmatrix_ginkgo.cpp\;100 100 0\;" "test_sunmatrix_ginkgo.cpp\;100 10 0\;" diff --git a/examples/sunmatrix/kokkos/CMakeLists.txt b/examples/sunmatrix/kokkos/CMakeLists.txt index 59bb7c9166..d82a485aae 100644 --- a/examples/sunmatrix/kokkos/CMakeLists.txt +++ b/examples/sunmatrix/kokkos/CMakeLists.txt @@ -12,8 +12,8 @@ # SUNDIALS Copyright End # ------------------------------------------------------------------------------ -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases set(examples_list "test_sunmatrix_kokkosdense.cpp\;100 100 1 0\;" "test_sunmatrix_kokkosdense.cpp\;200 1000 1 0\;" diff --git a/examples/sunmatrix/magmadense/CMakeLists.txt b/examples/sunmatrix/magmadense/CMakeLists.txt index 5bfe05f9b6..b6106fcea2 100644 --- a/examples/sunmatrix/magmadense/CMakeLists.txt +++ b/examples/sunmatrix/magmadense/CMakeLists.txt @@ -12,8 +12,8 @@ # SUNDIALS Copyright End # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS MAGMA dense matrix set(sunmatrix_magmadense_examples diff --git a/examples/sunmatrix/onemkldense/CMakeLists.txt b/examples/sunmatrix/onemkldense/CMakeLists.txt index cc24f8808f..5baa29b88e 100644 --- a/examples/sunmatrix/onemkldense/CMakeLists.txt +++ b/examples/sunmatrix/onemkldense/CMakeLists.txt @@ -12,8 +12,8 @@ # SUNDIALS Copyright End # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS ONEMKL dense matrix set(sunmatrix_onemkldense_examples diff --git a/examples/sunmatrix/slunrloc/CMakeLists.txt b/examples/sunmatrix/slunrloc/CMakeLists.txt index 3fc44a7f03..283377a4f0 100644 --- a/examples/sunmatrix/slunrloc/CMakeLists.txt +++ b/examples/sunmatrix/slunrloc/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for slunrloc_sunmatrix examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;nodes\;type" where the -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;nodes\;type" where the 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS SUNMatrix wrapper of the SuperLU SLU_NR_loc # SuperMatrix. @@ -39,8 +39,8 @@ foreach(example_tuple ${sunmatrix_slunrloc_examples}) # extract the file name without extension get_filename_component(example_target ${example} NAME_WE) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example_target}) # example source files add_executable(${example_target} ${example} ../test_sunmatrix.c) diff --git a/examples/sunmatrix/sparse/CMakeLists.txt b/examples/sunmatrix/sparse/CMakeLists.txt index 026038d4ee..b907f533d5 100644 --- a/examples/sunmatrix/sparse/CMakeLists.txt +++ b/examples/sunmatrix/sparse/CMakeLists.txt @@ -15,8 +15,8 @@ # CMakeLists.txt file for sparse sunmatrix examples # --------------------------------------------------------------- -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Examples using SUNDIALS sparse matrix set(sunmatrix_sparse_examples @@ -46,8 +46,8 @@ foreach(example_tuple ${sunmatrix_sparse_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c ../test_sunmatrix.c) @@ -94,8 +94,8 @@ foreach(example_tuple ${sunmatrix_sparse_fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -152,16 +152,16 @@ if(EXAMPLES_INSTALL) set(SOLVER_LIB "sundials_sunmatrixsparse") set(LIBS "${LIBS} -lsundials_sunmatrixdense -lsundials_sunmatrixband") - # Set the link directory for the dense and band sunmatrix libraries - # The generated CMakeLists.txt does not use find_library() locate them + # Set the link directory for the dense and band sunmatrix libraries The + # generated CMakeLists.txt does not use find_library() locate them set(EXTRA_LIBS_DIR "${libdir}") examples2string(sunmatrix_sparse_examples EXAMPLES) examples2string(sunmatrix_sparse_dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -173,8 +173,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunmatrix/sparse) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunnonlinsol/fixedpoint/CMakeLists.txt b/examples/sunnonlinsol/fixedpoint/CMakeLists.txt index d1c4781393..b8085e1258 100644 --- a/examples/sunnonlinsol/fixedpoint/CMakeLists.txt +++ b/examples/sunnonlinsol/fixedpoint/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for sunnonlinsol fixedpoint examples # ------------------------------------------------------------------------------ -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Example programs set(examples @@ -49,8 +49,8 @@ foreach(example_tuple ${examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -94,8 +94,8 @@ foreach(example_tuple ${fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -141,15 +141,15 @@ if(EXAMPLES_INSTALL) set(SOLVER_LIB "sundials_sunnonlinsolfixedpoint") set(LIBS "${LIBS} -lsundials_sunmatrixdense -lsundials_sunlinsoldense") - # Set the link directory for the dense sunmatrix and linear solver library - # The generated CMakeLists.txt does not use find_library() locate it + # Set the link directory for the dense sunmatrix and linear solver library The + # generated CMakeLists.txt does not use find_library() locate it set(EXTRA_LIBS_DIR "${libdir}") examples2string(examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -162,8 +162,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunnonlinsol/fixedpoint) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunnonlinsol/newton/CMakeLists.txt b/examples/sunnonlinsol/newton/CMakeLists.txt index 30f07be8a8..e185bb9b51 100644 --- a/examples/sunnonlinsol/newton/CMakeLists.txt +++ b/examples/sunnonlinsol/newton/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for sunnonlinsol Newton examples # ------------------------------------------------------------------------------ -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Example programs set(examples "test_sunnonlinsol_newton\;\;") @@ -50,8 +50,8 @@ foreach(example_tuple ${examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -95,8 +95,8 @@ foreach(example_tuple ${fortran_examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # build fortran modules into a unique directory to avoid naming collisions set(CMAKE_Fortran_MODULE_DIRECTORY @@ -142,15 +142,15 @@ if(EXAMPLES_INSTALL) set(SOLVER_LIB "sundials_sunnonlinsolnewton") set(LIBS "${LIBS} -lsundials_sunmatrixdense -lsundials_sunlinsoldense") - # Set the link directory for the dense sunmatrix and linear solver library - # The generated CMakeLists.txt does not use find_library() locate it + # Set the link directory for the dense sunmatrix and linear solver library The + # generated CMakeLists.txt does not use find_library() locate it set(EXTRA_LIBS_DIR "${libdir}") examples2string(examples EXAMPLES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -163,8 +163,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunnonlinsol/newton) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/examples/sunnonlinsol/petsc/CMakeLists.txt b/examples/sunnonlinsol/petsc/CMakeLists.txt index 3b88461a74..853ba90170 100644 --- a/examples/sunnonlinsol/petsc/CMakeLists.txt +++ b/examples/sunnonlinsol/petsc/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for sunnonlinsol PetscSNES tests # ------------------------------------------------------------------------------ -# Example lists are tuples "name\;args\;type" where the type is -# 'develop' for examples excluded from 'make test' in releases +# Example lists are tuples "name\;args\;type" where the type is 'develop' for +# examples excluded from 'make test' in releases # Example programs set(examples "test_sunnonlinsol_petscsnes\;\;") @@ -43,8 +43,8 @@ foreach(example_tuple ${examples}) list(GET example_tuple 1 example_args) list(GET example_tuple 2 example_type) - # check if this example has already been added, only need to add - # example source files once for testing with different inputs + # check if this example has already been added, only need to add example + # source files once for testing with different inputs if(NOT TARGET ${example}) # example source files add_executable(${example} ${example}.c) @@ -89,16 +89,16 @@ if(EXAMPLES_INSTALL) set(SOLVER_LIB "sundials_sunnonlinsolpetscsnes") set(LIBS "${LIBS}") - # Set the link directory for the dense sunmatrix and linear solver library - # The generated CMakeLists.txt does not use find_library() locate it + # Set the link directory for the dense sunmatrix and linear solver library The + # generated CMakeLists.txt does not use find_library() locate it set(EXTRA_LIBS_DIR "${libdir}") examples2string(examples EXAMPLES) examples2string(dependencies EXAMPLES_DEPENDENCIES) # Regardless of the platform we're on, we will generate and install - # CMakeLists.txt file for building the examples. This file can then - # be used as a template for the user's own programs. + # CMakeLists.txt file for building the examples. This file can then be used + # as a template for the user's own programs. # generate CMakelists.txt in the binary directory configure_file( @@ -111,8 +111,8 @@ if(EXAMPLES_INSTALL) DESTINATION ${EXAMPLES_INSTALL_PATH}/sunnonlinsol/petscsnes) # On UNIX-type platforms, we also generate and install a makefile for - # building the examples. This makefile can then be used as a template - # for the user's own programs. + # building the examples. This makefile can then be used as a template for the + # user's own programs. if(UNIX) # generate Makefile and place it in the binary dir diff --git a/scripts/format.sh b/scripts/format.sh index a997d76bc1..941b36ab04 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -27,9 +27,10 @@ fi paths=( "$@" ) find "${paths[@]}" -iname '*.h' -o -iname '*.hpp' -o \ - -iname '*.c' -o -iname '*.cpp' -o \ - -iname '*.cuh' -o -iname '*.cu' | grep -v fmod | xargs clang-format -i + -iname '*.c' -o -iname '*.cpp' -o \ + -iname '*.cuh' -o -iname '*.cu' | grep -v fmod | xargs clang-format -i find "${paths[@]}" -iname '*.f90' | grep -v fmod | xargs fprettify --indent 2 --enable-replacements --c-relations -find "${paths[@]}" -iname '*.cmake' -o -iname 'CMakeLists.txt' | grep -v fmod | xargs cmake-format -i +find "${paths[@]}" \( -iname '*.cmake' -o -iname 'CMakeLists.txt' \) \ + -exec cmake-format --first-comment-is-literal -i {} ';' diff --git a/src/arkode/fmod_int32/CMakeLists.txt b/src/arkode/fmod_int32/CMakeLists.txt index 32e5c935d7..6b56bba3e6 100644 --- a/src/arkode/fmod_int32/CMakeLists.txt +++ b/src/arkode/fmod_int32/CMakeLists.txt @@ -27,33 +27,34 @@ set(arkode_SOURCES farkode_mristep_mod.c) # Create the library -sundials_add_f2003_library(sundials_farkode_mod +sundials_add_f2003_library( + sundials_farkode_mod SOURCES - ${arkode_SOURCES} + ${arkode_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunadaptcontrollersoderlind_mod_obj - sundials_fsunadaptcontrollerimexgus_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj - sundials_fsunnonlinsolnewton_mod_obj - sundials_fsunnonlinsolfixedpoint_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunadaptcontrollersoderlind_mod_obj + sundials_fsunadaptcontrollerimexgus_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj + sundials_fsunnonlinsolnewton_mod_obj + sundials_fsunnonlinsolfixedpoint_mod_obj OUTPUT_NAME - sundials_farkode_mod + sundials_farkode_mod VERSION - ${arkodelib_VERSION} + ${arkodelib_VERSION} SOVERSION - ${arkodelib_SOVERSION} -) + ${arkodelib_SOVERSION}) message(STATUS "Added ARKODE F2003 interface") diff --git a/src/arkode/fmod_int64/CMakeLists.txt b/src/arkode/fmod_int64/CMakeLists.txt index 32e5c935d7..6b56bba3e6 100644 --- a/src/arkode/fmod_int64/CMakeLists.txt +++ b/src/arkode/fmod_int64/CMakeLists.txt @@ -27,33 +27,34 @@ set(arkode_SOURCES farkode_mristep_mod.c) # Create the library -sundials_add_f2003_library(sundials_farkode_mod +sundials_add_f2003_library( + sundials_farkode_mod SOURCES - ${arkode_SOURCES} + ${arkode_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunadaptcontrollersoderlind_mod_obj - sundials_fsunadaptcontrollerimexgus_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj - sundials_fsunnonlinsolnewton_mod_obj - sundials_fsunnonlinsolfixedpoint_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunadaptcontrollersoderlind_mod_obj + sundials_fsunadaptcontrollerimexgus_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj + sundials_fsunnonlinsolnewton_mod_obj + sundials_fsunnonlinsolfixedpoint_mod_obj OUTPUT_NAME - sundials_farkode_mod + sundials_farkode_mod VERSION - ${arkodelib_VERSION} + ${arkodelib_VERSION} SOVERSION - ${arkodelib_SOVERSION} -) + ${arkodelib_SOVERSION}) message(STATUS "Added ARKODE F2003 interface") diff --git a/src/cvode/fmod_int32/CMakeLists.txt b/src/cvode/fmod_int32/CMakeLists.txt index e27c43ae02..841b4d261b 100644 --- a/src/cvode/fmod_int32/CMakeLists.txt +++ b/src/cvode/fmod_int32/CMakeLists.txt @@ -17,31 +17,32 @@ set(cvode_SOURCES fcvode_mod.f90 fcvode_mod.c) # Create the library -sundials_add_f2003_library(sundials_fcvode_mod +sundials_add_f2003_library( + sundials_fcvode_mod SOURCES - ${cvode_SOURCES} + ${cvode_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj - sundials_fsunnonlinsolnewton_mod_obj - sundials_fsunnonlinsolfixedpoint_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj + sundials_fsunnonlinsolnewton_mod_obj + sundials_fsunnonlinsolfixedpoint_mod_obj OUTPUT_NAME - sundials_fcvode_mod + sundials_fcvode_mod VERSION - ${cvodelib_VERSION} + ${cvodelib_VERSION} SOVERSION - ${cvodelib_SOVERSION} -) + ${cvodelib_SOVERSION}) message(STATUS "Added CVODE F2003 interface") diff --git a/src/cvode/fmod_int64/CMakeLists.txt b/src/cvode/fmod_int64/CMakeLists.txt index e27c43ae02..841b4d261b 100644 --- a/src/cvode/fmod_int64/CMakeLists.txt +++ b/src/cvode/fmod_int64/CMakeLists.txt @@ -17,31 +17,32 @@ set(cvode_SOURCES fcvode_mod.f90 fcvode_mod.c) # Create the library -sundials_add_f2003_library(sundials_fcvode_mod +sundials_add_f2003_library( + sundials_fcvode_mod SOURCES - ${cvode_SOURCES} + ${cvode_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj - sundials_fsunnonlinsolnewton_mod_obj - sundials_fsunnonlinsolfixedpoint_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj + sundials_fsunnonlinsolnewton_mod_obj + sundials_fsunnonlinsolfixedpoint_mod_obj OUTPUT_NAME - sundials_fcvode_mod + sundials_fcvode_mod VERSION - ${cvodelib_VERSION} + ${cvodelib_VERSION} SOVERSION - ${cvodelib_SOVERSION} -) + ${cvodelib_SOVERSION}) message(STATUS "Added CVODE F2003 interface") diff --git a/src/cvodes/fmod_int32/CMakeLists.txt b/src/cvodes/fmod_int32/CMakeLists.txt index 031ac9c6f9..accb4baf40 100644 --- a/src/cvodes/fmod_int32/CMakeLists.txt +++ b/src/cvodes/fmod_int32/CMakeLists.txt @@ -16,31 +16,32 @@ set(cvodes_SOURCES fcvodes_mod.f90 fcvodes_mod.c) # Create the library -sundials_add_f2003_library(sundials_fcvodes_mod +sundials_add_f2003_library( + sundials_fcvodes_mod SOURCES - ${cvodes_SOURCES} + ${cvodes_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj - sundials_fsunnonlinsolnewton_mod_obj - sundials_fsunnonlinsolfixedpoint_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj + sundials_fsunnonlinsolnewton_mod_obj + sundials_fsunnonlinsolfixedpoint_mod_obj OUTPUT_NAME - sundials_fcvodes_mod + sundials_fcvodes_mod VERSION - ${cvodeslib_VERSION} + ${cvodeslib_VERSION} SOVERSION - ${cvodeslib_SOVERSION} -) + ${cvodeslib_SOVERSION}) message(STATUS "Added CVODES F2003 interface") diff --git a/src/cvodes/fmod_int64/CMakeLists.txt b/src/cvodes/fmod_int64/CMakeLists.txt index 031ac9c6f9..accb4baf40 100644 --- a/src/cvodes/fmod_int64/CMakeLists.txt +++ b/src/cvodes/fmod_int64/CMakeLists.txt @@ -16,31 +16,32 @@ set(cvodes_SOURCES fcvodes_mod.f90 fcvodes_mod.c) # Create the library -sundials_add_f2003_library(sundials_fcvodes_mod +sundials_add_f2003_library( + sundials_fcvodes_mod SOURCES - ${cvodes_SOURCES} + ${cvodes_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj - sundials_fsunnonlinsolnewton_mod_obj - sundials_fsunnonlinsolfixedpoint_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj + sundials_fsunnonlinsolnewton_mod_obj + sundials_fsunnonlinsolfixedpoint_mod_obj OUTPUT_NAME - sundials_fcvodes_mod + sundials_fcvodes_mod VERSION - ${cvodeslib_VERSION} + ${cvodeslib_VERSION} SOVERSION - ${cvodeslib_SOVERSION} -) + ${cvodeslib_SOVERSION}) message(STATUS "Added CVODES F2003 interface") diff --git a/src/ida/fmod_int32/CMakeLists.txt b/src/ida/fmod_int32/CMakeLists.txt index e305f237d0..333c7fb2de 100644 --- a/src/ida/fmod_int32/CMakeLists.txt +++ b/src/ida/fmod_int32/CMakeLists.txt @@ -17,31 +17,32 @@ set(ida_SOURCES fida_mod.f90 fida_mod.c) # Create the library -sundials_add_f2003_library(sundials_fida_mod +sundials_add_f2003_library( + sundials_fida_mod SOURCES - ${ida_SOURCES} + ${ida_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj - sundials_fsunnonlinsolnewton_mod_obj - sundials_fsunnonlinsolfixedpoint_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj + sundials_fsunnonlinsolnewton_mod_obj + sundials_fsunnonlinsolfixedpoint_mod_obj OUTPUT_NAME - sundials_fida_mod + sundials_fida_mod VERSION - ${idalib_VERSION} + ${idalib_VERSION} SOVERSION - ${idalib_SOVERSION} -) + ${idalib_SOVERSION}) message(STATUS "Added IDA F2003 interface") diff --git a/src/ida/fmod_int64/CMakeLists.txt b/src/ida/fmod_int64/CMakeLists.txt index e305f237d0..333c7fb2de 100644 --- a/src/ida/fmod_int64/CMakeLists.txt +++ b/src/ida/fmod_int64/CMakeLists.txt @@ -17,31 +17,32 @@ set(ida_SOURCES fida_mod.f90 fida_mod.c) # Create the library -sundials_add_f2003_library(sundials_fida_mod +sundials_add_f2003_library( + sundials_fida_mod SOURCES - ${ida_SOURCES} + ${ida_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj - sundials_fsunnonlinsolnewton_mod_obj - sundials_fsunnonlinsolfixedpoint_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj + sundials_fsunnonlinsolnewton_mod_obj + sundials_fsunnonlinsolfixedpoint_mod_obj OUTPUT_NAME - sundials_fida_mod + sundials_fida_mod VERSION - ${idalib_VERSION} + ${idalib_VERSION} SOVERSION - ${idalib_SOVERSION} -) + ${idalib_SOVERSION}) message(STATUS "Added IDA F2003 interface") diff --git a/src/idas/fmod_int32/CMakeLists.txt b/src/idas/fmod_int32/CMakeLists.txt index a6abe6516b..9926c8a46d 100644 --- a/src/idas/fmod_int32/CMakeLists.txt +++ b/src/idas/fmod_int32/CMakeLists.txt @@ -16,30 +16,31 @@ set(idas_SOURCES fidas_mod.f90 fidas_mod.c) # Create the library -sundials_add_f2003_library(sundials_fidas_mod +sundials_add_f2003_library( + sundials_fidas_mod SOURCES - ${idas_SOURCES} + ${idas_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj - sundials_fsunnonlinsolnewton_mod_obj - sundials_fsunnonlinsolfixedpoint_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj + sundials_fsunnonlinsolnewton_mod_obj + sundials_fsunnonlinsolfixedpoint_mod_obj OUTPUT_NAME - sundials_fidas_mod + sundials_fidas_mod VERSION - ${idaslib_VERSION} + ${idaslib_VERSION} SOVERSION - ${idaslib_SOVERSION} -) + ${idaslib_SOVERSION}) message(STATUS "Added IDAS F2003 interface") diff --git a/src/idas/fmod_int64/CMakeLists.txt b/src/idas/fmod_int64/CMakeLists.txt index a6abe6516b..9926c8a46d 100644 --- a/src/idas/fmod_int64/CMakeLists.txt +++ b/src/idas/fmod_int64/CMakeLists.txt @@ -16,30 +16,31 @@ set(idas_SOURCES fidas_mod.f90 fidas_mod.c) # Create the library -sundials_add_f2003_library(sundials_fidas_mod +sundials_add_f2003_library( + sundials_fidas_mod SOURCES - ${idas_SOURCES} + ${idas_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj - sundials_fsunnonlinsolnewton_mod_obj - sundials_fsunnonlinsolfixedpoint_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj + sundials_fsunnonlinsolnewton_mod_obj + sundials_fsunnonlinsolfixedpoint_mod_obj OUTPUT_NAME - sundials_fidas_mod + sundials_fidas_mod VERSION - ${idaslib_VERSION} + ${idaslib_VERSION} SOVERSION - ${idaslib_SOVERSION} -) + ${idaslib_SOVERSION}) message(STATUS "Added IDAS F2003 interface") diff --git a/src/kinsol/fmod_int32/CMakeLists.txt b/src/kinsol/fmod_int32/CMakeLists.txt index a154a8b865..69c5be8197 100644 --- a/src/kinsol/fmod_int32/CMakeLists.txt +++ b/src/kinsol/fmod_int32/CMakeLists.txt @@ -17,29 +17,30 @@ set(kinsol_SOURCES fkinsol_mod.f90 fkinsol_mod.c) # Create the library -sundials_add_f2003_library(sundials_fkinsol_mod +sundials_add_f2003_library( + sundials_fkinsol_mod SOURCES - ${kinsol_SOURCES} + ${kinsol_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj OUTPUT_NAME - sundials_fkinsol_mod + sundials_fkinsol_mod VERSION - ${kinsollib_VERSION} + ${kinsollib_VERSION} SOVERSION - ${kinsollib_SOVERSION} -) + ${kinsollib_SOVERSION}) message(STATUS "Added KINSOL F2003 interface") diff --git a/src/kinsol/fmod_int64/CMakeLists.txt b/src/kinsol/fmod_int64/CMakeLists.txt index a154a8b865..69c5be8197 100644 --- a/src/kinsol/fmod_int64/CMakeLists.txt +++ b/src/kinsol/fmod_int64/CMakeLists.txt @@ -17,29 +17,30 @@ set(kinsol_SOURCES fkinsol_mod.f90 fkinsol_mod.c) # Create the library -sundials_add_f2003_library(sundials_fkinsol_mod +sundials_add_f2003_library( + sundials_fkinsol_mod SOURCES - ${kinsol_SOURCES} + ${kinsol_SOURCES} LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES - sundials_fnvecserial_mod_obj - sundials_fsunmatrixband_mod_obj - sundials_fsunmatrixdense_mod_obj - sundials_fsunmatrixsparse_mod_obj - sundials_fsunlinsolband_mod_obj - sundials_fsunlinsoldense_mod_obj - sundials_fsunlinsolspbcgs_mod_obj - sundials_fsunlinsolspfgmr_mod_obj - sundials_fsunlinsolspgmr_mod_obj - sundials_fsunlinsolsptfqmr_mod_obj - sundials_fsunlinsolpcg_mod_obj + sundials_fnvecserial_mod_obj + sundials_fsunmatrixband_mod_obj + sundials_fsunmatrixdense_mod_obj + sundials_fsunmatrixsparse_mod_obj + sundials_fsunlinsolband_mod_obj + sundials_fsunlinsoldense_mod_obj + sundials_fsunlinsolspbcgs_mod_obj + sundials_fsunlinsolspfgmr_mod_obj + sundials_fsunlinsolspgmr_mod_obj + sundials_fsunlinsolsptfqmr_mod_obj + sundials_fsunlinsolpcg_mod_obj OUTPUT_NAME - sundials_fkinsol_mod + sundials_fkinsol_mod VERSION - ${kinsollib_VERSION} + ${kinsollib_VERSION} SOVERSION - ${kinsollib_SOVERSION} -) + ${kinsollib_SOVERSION}) message(STATUS "Added KINSOL F2003 interface") diff --git a/src/nvector/manyvector/fmod_int32/CMakeLists.txt b/src/nvector/manyvector/fmod_int32/CMakeLists.txt index 8033da01f7..9505356aea 100644 --- a/src/nvector/manyvector/fmod_int32/CMakeLists.txt +++ b/src/nvector/manyvector/fmod_int32/CMakeLists.txt @@ -15,18 +15,20 @@ # --------------------------------------------------------------- if(BUILD_NVECTOR_MANYVECTOR) - sundials_add_f2003_library(sundials_fnvecmanyvector_mod + sundials_add_f2003_library( + sundials_fnvecmanyvector_mod SOURCES - fnvector_manyvector_mod.f90 fnvector_manyvector_mod.c + fnvector_manyvector_mod.f90 + fnvector_manyvector_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fnvecmanyvector_mod + sundials_fnvecmanyvector_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} - ) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_MANYVECTOR F2003 Interface") endif() @@ -44,18 +46,20 @@ if(BUILD_NVECTOR_MPIMANYVECTOR) set(CMAKE_Fortran_COMPILER ${MPI_Fortran_COMPILER}) endif() - sundials_add_f2003_library(sundials_fnvecmpimanyvector_mod + sundials_add_f2003_library( + sundials_fnvecmpimanyvector_mod SOURCES - fnvector_mpimanyvector_mod.f90 fnvector_mpimanyvector_mod.c + fnvector_mpimanyvector_mod.f90 + fnvector_mpimanyvector_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fnvecmpimanyvector_mod + sundials_fnvecmpimanyvector_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} - ) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_MPIMANYVECTOR F2003 Interface") endif() diff --git a/src/nvector/manyvector/fmod_int64/CMakeLists.txt b/src/nvector/manyvector/fmod_int64/CMakeLists.txt index 8033da01f7..9505356aea 100644 --- a/src/nvector/manyvector/fmod_int64/CMakeLists.txt +++ b/src/nvector/manyvector/fmod_int64/CMakeLists.txt @@ -15,18 +15,20 @@ # --------------------------------------------------------------- if(BUILD_NVECTOR_MANYVECTOR) - sundials_add_f2003_library(sundials_fnvecmanyvector_mod + sundials_add_f2003_library( + sundials_fnvecmanyvector_mod SOURCES - fnvector_manyvector_mod.f90 fnvector_manyvector_mod.c + fnvector_manyvector_mod.f90 + fnvector_manyvector_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fnvecmanyvector_mod + sundials_fnvecmanyvector_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} - ) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_MANYVECTOR F2003 Interface") endif() @@ -44,18 +46,20 @@ if(BUILD_NVECTOR_MPIMANYVECTOR) set(CMAKE_Fortran_COMPILER ${MPI_Fortran_COMPILER}) endif() - sundials_add_f2003_library(sundials_fnvecmpimanyvector_mod + sundials_add_f2003_library( + sundials_fnvecmpimanyvector_mod SOURCES - fnvector_mpimanyvector_mod.f90 fnvector_mpimanyvector_mod.c + fnvector_mpimanyvector_mod.f90 + fnvector_mpimanyvector_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fnvecmpimanyvector_mod + sundials_fnvecmpimanyvector_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} - ) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_MPIMANYVECTOR F2003 Interface") endif() diff --git a/src/nvector/mpiplusx/fmod_int32/CMakeLists.txt b/src/nvector/mpiplusx/fmod_int32/CMakeLists.txt index d068b3609f..30f705bf20 100644 --- a/src/nvector/mpiplusx/fmod_int32/CMakeLists.txt +++ b/src/nvector/mpiplusx/fmod_int32/CMakeLists.txt @@ -26,18 +26,20 @@ if(MPI_Fortran_COMPILER) set(CMAKE_Fortran_COMPILER ${MPI_Fortran_COMPILER}) endif() -sundials_add_f2003_library(sundials_fnvecmpiplusx_mod +sundials_add_f2003_library( + sundials_fnvecmpiplusx_mod SOURCES - fnvector_mpiplusx_mod.f90 fnvector_mpiplusx_mod.c + fnvector_mpiplusx_mod.f90 + fnvector_mpiplusx_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fnvecmpiplusx_mod + sundials_fnvecmpiplusx_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} -) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_MPIPLUSX F2003 interface") diff --git a/src/nvector/mpiplusx/fmod_int64/CMakeLists.txt b/src/nvector/mpiplusx/fmod_int64/CMakeLists.txt index d068b3609f..30f705bf20 100644 --- a/src/nvector/mpiplusx/fmod_int64/CMakeLists.txt +++ b/src/nvector/mpiplusx/fmod_int64/CMakeLists.txt @@ -26,18 +26,20 @@ if(MPI_Fortran_COMPILER) set(CMAKE_Fortran_COMPILER ${MPI_Fortran_COMPILER}) endif() -sundials_add_f2003_library(sundials_fnvecmpiplusx_mod +sundials_add_f2003_library( + sundials_fnvecmpiplusx_mod SOURCES - fnvector_mpiplusx_mod.f90 fnvector_mpiplusx_mod.c + fnvector_mpiplusx_mod.f90 + fnvector_mpiplusx_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fnvecmpiplusx_mod + sundials_fnvecmpiplusx_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} -) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_MPIPLUSX F2003 interface") diff --git a/src/nvector/openmp/fmod_int32/CMakeLists.txt b/src/nvector/openmp/fmod_int32/CMakeLists.txt index 31f4363b84..e3ab34af60 100644 --- a/src/nvector/openmp/fmod_int32/CMakeLists.txt +++ b/src/nvector/openmp/fmod_int32/CMakeLists.txt @@ -14,18 +14,20 @@ # CMakeLists.txt file for the F2003 openmp NVECTOR object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fnvecopenmp_mod +sundials_add_f2003_library( + sundials_fnvecopenmp_mod SOURCES - fnvector_openmp_mod.f90 fnvector_openmp_mod.c + fnvector_openmp_mod.f90 + fnvector_openmp_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fnvecopenmp_mod + sundials_fnvecopenmp_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} -) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_OPENMP F2003 interface") diff --git a/src/nvector/openmp/fmod_int64/CMakeLists.txt b/src/nvector/openmp/fmod_int64/CMakeLists.txt index 31f4363b84..e3ab34af60 100644 --- a/src/nvector/openmp/fmod_int64/CMakeLists.txt +++ b/src/nvector/openmp/fmod_int64/CMakeLists.txt @@ -14,18 +14,20 @@ # CMakeLists.txt file for the F2003 openmp NVECTOR object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fnvecopenmp_mod +sundials_add_f2003_library( + sundials_fnvecopenmp_mod SOURCES - fnvector_openmp_mod.f90 fnvector_openmp_mod.c + fnvector_openmp_mod.f90 + fnvector_openmp_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fnvecopenmp_mod + sundials_fnvecopenmp_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} -) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_OPENMP F2003 interface") diff --git a/src/nvector/parallel/fmod_int32/CMakeLists.txt b/src/nvector/parallel/fmod_int32/CMakeLists.txt index 3b4031b8c9..91b22ce4b9 100644 --- a/src/nvector/parallel/fmod_int32/CMakeLists.txt +++ b/src/nvector/parallel/fmod_int32/CMakeLists.txt @@ -32,18 +32,20 @@ else() include_directories(${MPI_INCLUDE_PATH}) endif() -sundials_add_f2003_library(sundials_fnvecparallel_mod +sundials_add_f2003_library( + sundials_fnvecparallel_mod SOURCES - fnvector_parallel_mod.f90 fnvector_parallel_mod.c + fnvector_parallel_mod.f90 + fnvector_parallel_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fnvecparallel_mod + sundials_fnvecparallel_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} -) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_PARALLEL F2003 interface") diff --git a/src/nvector/parallel/fmod_int64/CMakeLists.txt b/src/nvector/parallel/fmod_int64/CMakeLists.txt index 3b4031b8c9..91b22ce4b9 100644 --- a/src/nvector/parallel/fmod_int64/CMakeLists.txt +++ b/src/nvector/parallel/fmod_int64/CMakeLists.txt @@ -32,18 +32,20 @@ else() include_directories(${MPI_INCLUDE_PATH}) endif() -sundials_add_f2003_library(sundials_fnvecparallel_mod +sundials_add_f2003_library( + sundials_fnvecparallel_mod SOURCES - fnvector_parallel_mod.f90 fnvector_parallel_mod.c + fnvector_parallel_mod.f90 + fnvector_parallel_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fnvecparallel_mod + sundials_fnvecparallel_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} -) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_PARALLEL F2003 interface") diff --git a/src/nvector/pthreads/fmod_int32/CMakeLists.txt b/src/nvector/pthreads/fmod_int32/CMakeLists.txt index e43ebc9c08..cb592ee98b 100644 --- a/src/nvector/pthreads/fmod_int32/CMakeLists.txt +++ b/src/nvector/pthreads/fmod_int32/CMakeLists.txt @@ -16,18 +16,20 @@ set(nvecpthreads_SOURCES fnvector_pthreads_mod.f90 fnvector_pthreads_mod.c) -sundials_add_f2003_library(sundials_fnvecpthreads_mod +sundials_add_f2003_library( + sundials_fnvecpthreads_mod SOURCES - fnvector_pthreads_mod.f90 fnvector_pthreads_mod.c + fnvector_pthreads_mod.f90 + fnvector_pthreads_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fnvecpthreads_mod + sundials_fnvecpthreads_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} -) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_PTHREADS F2003 interface") diff --git a/src/nvector/pthreads/fmod_int64/CMakeLists.txt b/src/nvector/pthreads/fmod_int64/CMakeLists.txt index e43ebc9c08..cb592ee98b 100644 --- a/src/nvector/pthreads/fmod_int64/CMakeLists.txt +++ b/src/nvector/pthreads/fmod_int64/CMakeLists.txt @@ -16,18 +16,20 @@ set(nvecpthreads_SOURCES fnvector_pthreads_mod.f90 fnvector_pthreads_mod.c) -sundials_add_f2003_library(sundials_fnvecpthreads_mod +sundials_add_f2003_library( + sundials_fnvecpthreads_mod SOURCES - fnvector_pthreads_mod.f90 fnvector_pthreads_mod.c + fnvector_pthreads_mod.f90 + fnvector_pthreads_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fnvecpthreads_mod + sundials_fnvecpthreads_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} -) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_PTHREADS F2003 interface") diff --git a/src/nvector/serial/fmod_int32/CMakeLists.txt b/src/nvector/serial/fmod_int32/CMakeLists.txt index ebf2ec0182..aaef86c9b0 100644 --- a/src/nvector/serial/fmod_int32/CMakeLists.txt +++ b/src/nvector/serial/fmod_int32/CMakeLists.txt @@ -14,17 +14,19 @@ # CMakeLists.txt file for the F2003 serial NVECTOR object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fnvecserial_mod +sundials_add_f2003_library( + sundials_fnvecserial_mod SOURCES - fnvector_serial_mod.f90 fnvector_serial_mod.c + fnvector_serial_mod.f90 + fnvector_serial_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fnvecserial_mod + sundials_fnvecserial_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} -) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_SERIAL F2003 interface") diff --git a/src/nvector/serial/fmod_int64/CMakeLists.txt b/src/nvector/serial/fmod_int64/CMakeLists.txt index 293239b9fb..5e5225b3a5 100644 --- a/src/nvector/serial/fmod_int64/CMakeLists.txt +++ b/src/nvector/serial/fmod_int64/CMakeLists.txt @@ -14,18 +14,20 @@ # CMakeLists.txt file for the F2003 serial NVECTOR object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fnvecserial_mod +sundials_add_f2003_library( + sundials_fnvecserial_mod SOURCES - fnvector_serial_mod.f90 fnvector_serial_mod.c + fnvector_serial_mod.f90 + fnvector_serial_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fnvecserial_mod + sundials_fnvecserial_mod VERSION - ${nveclib_VERSION} + ${nveclib_VERSION} SOVERSION - ${nveclib_SOVERSION} -) + ${nveclib_SOVERSION}) message(STATUS "Added NVECTOR_SERIAL F2003 interface") diff --git a/src/sunadaptcontroller/imexgus/fmod_int32/CMakeLists.txt b/src/sunadaptcontroller/imexgus/fmod_int32/CMakeLists.txt index 0c4142417c..a7ed534438 100644 --- a/src/sunadaptcontroller/imexgus/fmod_int32/CMakeLists.txt +++ b/src/sunadaptcontroller/imexgus/fmod_int32/CMakeLists.txt @@ -12,14 +12,16 @@ # SUNDIALS Copyright End # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunadaptcontrollerimexgus_mod +sundials_add_f2003_library( + sundials_fsunadaptcontrollerimexgus_mod SOURCES - fsunadaptcontroller_imexgus_mod.f90 fsunadaptcontroller_imexgus_mod.c + fsunadaptcontroller_imexgus_mod.f90 + fsunadaptcontroller_imexgus_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunadaptcontrollerimexgus_mod - OBJECT_LIB_ONLY -) + sundials_fsunadaptcontrollerimexgus_mod + OBJECT_LIB_ONLY) message(STATUS "Added SUNAdaptController_ImExGus F2003 interface") diff --git a/src/sunadaptcontroller/imexgus/fmod_int64/CMakeLists.txt b/src/sunadaptcontroller/imexgus/fmod_int64/CMakeLists.txt index 0c4142417c..a7ed534438 100644 --- a/src/sunadaptcontroller/imexgus/fmod_int64/CMakeLists.txt +++ b/src/sunadaptcontroller/imexgus/fmod_int64/CMakeLists.txt @@ -12,14 +12,16 @@ # SUNDIALS Copyright End # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunadaptcontrollerimexgus_mod +sundials_add_f2003_library( + sundials_fsunadaptcontrollerimexgus_mod SOURCES - fsunadaptcontroller_imexgus_mod.f90 fsunadaptcontroller_imexgus_mod.c + fsunadaptcontroller_imexgus_mod.f90 + fsunadaptcontroller_imexgus_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunadaptcontrollerimexgus_mod - OBJECT_LIB_ONLY -) + sundials_fsunadaptcontrollerimexgus_mod + OBJECT_LIB_ONLY) message(STATUS "Added SUNAdaptController_ImExGus F2003 interface") diff --git a/src/sunadaptcontroller/soderlind/fmod_int32/CMakeLists.txt b/src/sunadaptcontroller/soderlind/fmod_int32/CMakeLists.txt index cdf9d3825e..6d4b78f22d 100644 --- a/src/sunadaptcontroller/soderlind/fmod_int32/CMakeLists.txt +++ b/src/sunadaptcontroller/soderlind/fmod_int32/CMakeLists.txt @@ -12,14 +12,16 @@ # SUNDIALS Copyright End # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunadaptcontrollersoderlind_mod +sundials_add_f2003_library( + sundials_fsunadaptcontrollersoderlind_mod SOURCES - fsunadaptcontroller_soderlind_mod.f90 fsunadaptcontroller_soderlind_mod.c + fsunadaptcontroller_soderlind_mod.f90 + fsunadaptcontroller_soderlind_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunadaptcontrollersoderlind_mod - OBJECT_LIB_ONLY -) + sundials_fsunadaptcontrollersoderlind_mod + OBJECT_LIB_ONLY) message(STATUS "Added SUNAdaptController_Soderlind F2003 interface") diff --git a/src/sunadaptcontroller/soderlind/fmod_int64/CMakeLists.txt b/src/sunadaptcontroller/soderlind/fmod_int64/CMakeLists.txt index cdf9d3825e..6d4b78f22d 100644 --- a/src/sunadaptcontroller/soderlind/fmod_int64/CMakeLists.txt +++ b/src/sunadaptcontroller/soderlind/fmod_int64/CMakeLists.txt @@ -12,14 +12,16 @@ # SUNDIALS Copyright End # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunadaptcontrollersoderlind_mod +sundials_add_f2003_library( + sundials_fsunadaptcontrollersoderlind_mod SOURCES - fsunadaptcontroller_soderlind_mod.f90 fsunadaptcontroller_soderlind_mod.c + fsunadaptcontroller_soderlind_mod.f90 + fsunadaptcontroller_soderlind_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunadaptcontrollersoderlind_mod - OBJECT_LIB_ONLY -) + sundials_fsunadaptcontrollersoderlind_mod + OBJECT_LIB_ONLY) message(STATUS "Added SUNAdaptController_Soderlind F2003 interface") diff --git a/src/sundials/CMakeLists.txt b/src/sundials/CMakeLists.txt index 94e2ca5c8f..a153bcaaf8 100644 --- a/src/sundials/CMakeLists.txt +++ b/src/sundials/CMakeLists.txt @@ -14,8 +14,8 @@ # CMakeLists.txt file for the generic SUNDIALS modules # --------------------------------------------------------------- -# From here we only install the generic SUNDIALS headers. -# The implementations themselves are incorporated in the individual SUNDIALS solver libraries. +# From here we only install the generic SUNDIALS headers. The implementations +# themselves are incorporated in the individual SUNDIALS solver libraries. install(CODE "MESSAGE(\"\nInstall shared components\n\")") diff --git a/src/sundials/fmod_int32/CMakeLists.txt b/src/sundials/fmod_int32/CMakeLists.txt index 957328e8ff..b9a43aeded 100644 --- a/src/sundials/fmod_int32/CMakeLists.txt +++ b/src/sundials/fmod_int32/CMakeLists.txt @@ -14,12 +14,6 @@ # CMakeLists.txt file for the F2003 SUNDIALS object library # --------------------------------------------------------------- -set(sundials_SOURCES - fsundials_core_mod.c - fsundials_core_mod.f90 - ) +set(sundials_SOURCES fsundials_core_mod.c fsundials_core_mod.f90) -sundials_add_f2003_library(sundials_fcore_mod - SOURCES - ${sundials_SOURCES} -) +sundials_add_f2003_library(sundials_fcore_mod SOURCES ${sundials_SOURCES}) diff --git a/src/sundials/fmod_int64/CMakeLists.txt b/src/sundials/fmod_int64/CMakeLists.txt index 957328e8ff..b9a43aeded 100644 --- a/src/sundials/fmod_int64/CMakeLists.txt +++ b/src/sundials/fmod_int64/CMakeLists.txt @@ -14,12 +14,6 @@ # CMakeLists.txt file for the F2003 SUNDIALS object library # --------------------------------------------------------------- -set(sundials_SOURCES - fsundials_core_mod.c - fsundials_core_mod.f90 - ) +set(sundials_SOURCES fsundials_core_mod.c fsundials_core_mod.f90) -sundials_add_f2003_library(sundials_fcore_mod - SOURCES - ${sundials_SOURCES} -) +sundials_add_f2003_library(sundials_fcore_mod SOURCES ${sundials_SOURCES}) diff --git a/src/sunlinsol/band/fmod_int32/CMakeLists.txt b/src/sunlinsol/band/fmod_int32/CMakeLists.txt index 8b6e38724e..04e6d94297 100644 --- a/src/sunlinsol/band/fmod_int32/CMakeLists.txt +++ b/src/sunlinsol/band/fmod_int32/CMakeLists.txt @@ -14,17 +14,20 @@ # CMakeLists.txt file for the F2003 band SUNLinearSolver object library # ---------------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsolband_mod +sundials_add_f2003_library( + sundials_fsunlinsolband_mod SOURCES - fsunlinsol_band_mod.f90 fsunlinsol_band_mod.c + fsunlinsol_band_mod.f90 + fsunlinsol_band_mod.c LINK_LIBRARIES - PUBLIC sundials_fsunmatrixband_mod sundials_fcore_mod + PUBLIC + sundials_fsunmatrixband_mod + sundials_fcore_mod OUTPUT_NAME - sundials_fsunlinsolband_mod + sundials_fsunlinsolband_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_BAND F2003 interface") diff --git a/src/sunlinsol/band/fmod_int64/CMakeLists.txt b/src/sunlinsol/band/fmod_int64/CMakeLists.txt index 250f17c914..72779c9ed5 100644 --- a/src/sunlinsol/band/fmod_int64/CMakeLists.txt +++ b/src/sunlinsol/band/fmod_int64/CMakeLists.txt @@ -14,20 +14,23 @@ # CMakeLists.txt file for the F2003 band SUNLinearSolver object library # ---------------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsolband_mod +sundials_add_f2003_library( + sundials_fsunlinsolband_mod SOURCES - fsunlinsol_band_mod.f90 fsunlinsol_band_mod.c + fsunlinsol_band_mod.f90 + fsunlinsol_band_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES LINK_LIBRARIES - PUBLIC sundials_fsunmatrixband_mod + PUBLIC + sundials_fsunmatrixband_mod OUTPUT_NAME - sundials_fsunlinsolband_mod + sundials_fsunlinsolband_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_BAND F2003 interface") diff --git a/src/sunlinsol/dense/fmod_int32/CMakeLists.txt b/src/sunlinsol/dense/fmod_int32/CMakeLists.txt index 3a1329e120..573bffbb4d 100644 --- a/src/sunlinsol/dense/fmod_int32/CMakeLists.txt +++ b/src/sunlinsol/dense/fmod_int32/CMakeLists.txt @@ -14,16 +14,19 @@ # CMakeLists.txt file for the F2003 dense SUNLinearSolver object library # ---------------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsoldense_mod +sundials_add_f2003_library( + sundials_fsunlinsoldense_mod SOURCES - fsunlinsol_dense_mod.f90 fsunlinsol_dense_mod.c + fsunlinsol_dense_mod.f90 + fsunlinsol_dense_mod.c LINK_LIBRARIES - PUBLIC sundials_fsunmatrixdense_mod sundials_fcore_mod + PUBLIC + sundials_fsunmatrixdense_mod + sundials_fcore_mod OUTPUT_NAME - sundials_fsunlinsoldense_mod + sundials_fsunlinsoldense_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_DENSE F2003 interface") diff --git a/src/sunlinsol/dense/fmod_int64/CMakeLists.txt b/src/sunlinsol/dense/fmod_int64/CMakeLists.txt index 61bdf87108..20b9e82987 100644 --- a/src/sunlinsol/dense/fmod_int64/CMakeLists.txt +++ b/src/sunlinsol/dense/fmod_int64/CMakeLists.txt @@ -14,19 +14,22 @@ # CMakeLists.txt file for the F2003 dense SUNLinearSolver object library # ---------------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsoldense_mod +sundials_add_f2003_library( + sundials_fsunlinsoldense_mod SOURCES - fsunlinsol_dense_mod.f90 fsunlinsol_dense_mod.c + fsunlinsol_dense_mod.f90 + fsunlinsol_dense_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES LINK_LIBRARIES - PUBLIC sundials_fsunmatrixdense_mod + PUBLIC + sundials_fsunmatrixdense_mod OUTPUT_NAME - sundials_fsunlinsoldense_mod + sundials_fsunlinsoldense_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_DENSE F2003 interface") diff --git a/src/sunlinsol/klu/fmod_int32/CMakeLists.txt b/src/sunlinsol/klu/fmod_int32/CMakeLists.txt index 4a0323d921..becb24437e 100644 --- a/src/sunlinsol/klu/fmod_int32/CMakeLists.txt +++ b/src/sunlinsol/klu/fmod_int32/CMakeLists.txt @@ -14,20 +14,23 @@ # CMakeLists.txt file for the F2003 KLU SUNLinearSolver object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsolklu_mod +sundials_add_f2003_library( + sundials_fsunlinsolklu_mod SOURCES - fsunlinsol_klu_mod.f90 fsunlinsol_klu_mod.c + fsunlinsol_klu_mod.f90 + fsunlinsol_klu_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES LINK_LIBRARIES - PUBLIC sundials_fsunmatrixsparse_mod + PUBLIC + sundials_fsunmatrixsparse_mod OUTPUT_NAME - sundials_fsunlinsolklu_mod + sundials_fsunlinsolklu_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_KLU F2003 interface") diff --git a/src/sunlinsol/klu/fmod_int64/CMakeLists.txt b/src/sunlinsol/klu/fmod_int64/CMakeLists.txt index 683f76cc3b..7c8755b843 100644 --- a/src/sunlinsol/klu/fmod_int64/CMakeLists.txt +++ b/src/sunlinsol/klu/fmod_int64/CMakeLists.txt @@ -14,17 +14,20 @@ # CMakeLists.txt file for the F2003 KLU SUNLinearSolver object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsolklu_mod +sundials_add_f2003_library( + sundials_fsunlinsolklu_mod SOURCES - fsunlinsol_klu_mod.f90 fsunlinsol_klu_mod.c + fsunlinsol_klu_mod.f90 + fsunlinsol_klu_mod.c LINK_LIBRARIES - PUBLIC sundials_fsunmatrixsparse_mod sundials_fcore_mod + PUBLIC + sundials_fsunmatrixsparse_mod + sundials_fcore_mod OUTPUT_NAME - sundials_fsunlinsolklu_mod + sundials_fsunlinsolklu_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_KLU F2003 interface") diff --git a/src/sunlinsol/lapackdense/fmod_int32/CMakeLists.txt b/src/sunlinsol/lapackdense/fmod_int32/CMakeLists.txt index 72b9d5acda..5ab38d43c1 100644 --- a/src/sunlinsol/lapackdense/fmod_int32/CMakeLists.txt +++ b/src/sunlinsol/lapackdense/fmod_int32/CMakeLists.txt @@ -15,16 +15,19 @@ # object library # ---------------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsollapackdense_mod +sundials_add_f2003_library( + sundials_fsunlinsollapackdense_mod SOURCES - fsunlinsol_lapackdense_mod.f90 fsunlinsol_lapackdense_mod.c + fsunlinsol_lapackdense_mod.f90 + fsunlinsol_lapackdense_mod.c LINK_LIBRARIES - PUBLIC sundials_fsunmatrixdense_mod sundials_fcore_mod + PUBLIC + sundials_fsunmatrixdense_mod + sundials_fcore_mod OUTPUT_NAME - sundials_fsunlinsollapackdense_mod + sundials_fsunlinsollapackdense_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_LAPACKDENSE F2003 interface") diff --git a/src/sunlinsol/lapackdense/fmod_int64/CMakeLists.txt b/src/sunlinsol/lapackdense/fmod_int64/CMakeLists.txt index 12bcb2fae2..11fb84869a 100644 --- a/src/sunlinsol/lapackdense/fmod_int64/CMakeLists.txt +++ b/src/sunlinsol/lapackdense/fmod_int64/CMakeLists.txt @@ -15,19 +15,22 @@ # object library # ---------------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsollapackdense_mod +sundials_add_f2003_library( + sundials_fsunlinsollapackdense_mod SOURCES - fsunlinsol_lapackdense_mod.f90 fsunlinsol_lapackdense_mod.c + fsunlinsol_lapackdense_mod.f90 + fsunlinsol_lapackdense_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES LINK_LIBRARIES - PUBLIC sundials_fsunmatrixdense_mod + PUBLIC + sundials_fsunmatrixdense_mod OUTPUT_NAME - sundials_fsunlinsollapackdense_mod + sundials_fsunlinsollapackdense_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_LAPACKDENSE F2003 interface") diff --git a/src/sunlinsol/pcg/fmod_int32/CMakeLists.txt b/src/sunlinsol/pcg/fmod_int32/CMakeLists.txt index e863f286ee..364b33e3cf 100644 --- a/src/sunlinsol/pcg/fmod_int32/CMakeLists.txt +++ b/src/sunlinsol/pcg/fmod_int32/CMakeLists.txt @@ -14,17 +14,19 @@ # CMakeLists.txt file for the F2003 PCG SUNLinearSolver object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsolpcg_mod +sundials_add_f2003_library( + sundials_fsunlinsolpcg_mod SOURCES - fsunlinsol_pcg_mod.f90 fsunlinsol_pcg_mod.c + fsunlinsol_pcg_mod.f90 + fsunlinsol_pcg_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunlinsolpcg_mod + sundials_fsunlinsolpcg_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_PCG F2003 interface") diff --git a/src/sunlinsol/pcg/fmod_int64/CMakeLists.txt b/src/sunlinsol/pcg/fmod_int64/CMakeLists.txt index 535741e7d6..d0b1962492 100644 --- a/src/sunlinsol/pcg/fmod_int64/CMakeLists.txt +++ b/src/sunlinsol/pcg/fmod_int64/CMakeLists.txt @@ -14,18 +14,20 @@ # CMakeLists.txt file for the F2003 PCG SUNLinearSolver object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsolpcg_mod +sundials_add_f2003_library( + sundials_fsunlinsolpcg_mod SOURCES - fsunlinsol_pcg_mod.f90 fsunlinsol_pcg_mod.c + fsunlinsol_pcg_mod.f90 + fsunlinsol_pcg_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fsunlinsolpcg_mod + sundials_fsunlinsolpcg_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_PCG F2003 interface") diff --git a/src/sunlinsol/spbcgs/fmod_int32/CMakeLists.txt b/src/sunlinsol/spbcgs/fmod_int32/CMakeLists.txt index d05fdd7d0c..9daf6a3c0e 100644 --- a/src/sunlinsol/spbcgs/fmod_int32/CMakeLists.txt +++ b/src/sunlinsol/spbcgs/fmod_int32/CMakeLists.txt @@ -14,17 +14,19 @@ # CMakeLists.txt file for the F2003 SPBCGS SUNLinearSolver object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsolspbcgs_mod +sundials_add_f2003_library( + sundials_fsunlinsolspbcgs_mod SOURCES - fsunlinsol_spbcgs_mod.f90 fsunlinsol_spbcgs_mod.c + fsunlinsol_spbcgs_mod.f90 + fsunlinsol_spbcgs_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunlinsolspbcgs_mod + sundials_fsunlinsolspbcgs_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_SPBCGS F2003 interface") diff --git a/src/sunlinsol/spbcgs/fmod_int64/CMakeLists.txt b/src/sunlinsol/spbcgs/fmod_int64/CMakeLists.txt index d1b588396f..13723f61bb 100644 --- a/src/sunlinsol/spbcgs/fmod_int64/CMakeLists.txt +++ b/src/sunlinsol/spbcgs/fmod_int64/CMakeLists.txt @@ -14,18 +14,20 @@ # CMakeLists.txt file for the F2003 SPBCGS SUNLinearSolver object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunlinsolspbcgs_mod +sundials_add_f2003_library( + sundials_fsunlinsolspbcgs_mod SOURCES - fsunlinsol_spbcgs_mod.f90 fsunlinsol_spbcgs_mod.c + fsunlinsol_spbcgs_mod.f90 + fsunlinsol_spbcgs_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fsunlinsolspbcgs_mod + sundials_fsunlinsolspbcgs_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_SPBCGS F2003 interface") diff --git a/src/sunlinsol/spfgmr/fmod_int32/CMakeLists.txt b/src/sunlinsol/spfgmr/fmod_int32/CMakeLists.txt index c2cbd50123..1a144c3fa2 100644 --- a/src/sunlinsol/spfgmr/fmod_int32/CMakeLists.txt +++ b/src/sunlinsol/spfgmr/fmod_int32/CMakeLists.txt @@ -14,18 +14,20 @@ # CMakeLists.txt file for the F2003 SPFGMR SUNLinearSolver object library # ------------------------------------------------------------------------ -sundials_add_f2003_library(sundials_fsunlinsolspfgmr_mod +sundials_add_f2003_library( + sundials_fsunlinsolspfgmr_mod SOURCES - fsunlinsol_spfgmr_mod.f90 fsunlinsol_spfgmr_mod.c + fsunlinsol_spfgmr_mod.f90 + fsunlinsol_spfgmr_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fsunlinsolspfgmr_mod + sundials_fsunlinsolspfgmr_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_SPFGMR F2003 interface") diff --git a/src/sunlinsol/spfgmr/fmod_int64/CMakeLists.txt b/src/sunlinsol/spfgmr/fmod_int64/CMakeLists.txt index 4a236368f8..64f55a813f 100644 --- a/src/sunlinsol/spfgmr/fmod_int64/CMakeLists.txt +++ b/src/sunlinsol/spfgmr/fmod_int64/CMakeLists.txt @@ -14,17 +14,19 @@ # CMakeLists.txt file for the F2003 SPFGMR SUNLinearSolver object library # ------------------------------------------------------------------------ -sundials_add_f2003_library(sundials_fsunlinsolspfgmr_mod +sundials_add_f2003_library( + sundials_fsunlinsolspfgmr_mod SOURCES - fsunlinsol_spfgmr_mod.f90 fsunlinsol_spfgmr_mod.c + fsunlinsol_spfgmr_mod.f90 + fsunlinsol_spfgmr_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunlinsolspfgmr_mod + sundials_fsunlinsolspfgmr_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_SPFGMR F2003 interface") diff --git a/src/sunlinsol/spgmr/fmod_int32/CMakeLists.txt b/src/sunlinsol/spgmr/fmod_int32/CMakeLists.txt index 9ea74e0e45..958819a2f0 100644 --- a/src/sunlinsol/spgmr/fmod_int32/CMakeLists.txt +++ b/src/sunlinsol/spgmr/fmod_int32/CMakeLists.txt @@ -14,18 +14,20 @@ # CMakeLists.txt file for the F2003 SPGMR SUNLinearSolver object library # ------------------------------------------------------------------------ -sundials_add_f2003_library(sundials_fsunlinsolspgmr_mod +sundials_add_f2003_library( + sundials_fsunlinsolspgmr_mod SOURCES - fsunlinsol_spgmr_mod.f90 fsunlinsol_spgmr_mod.c + fsunlinsol_spgmr_mod.f90 + fsunlinsol_spgmr_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fsunlinsolspgmr_mod + sundials_fsunlinsolspgmr_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_SPGMR F2003 interface") diff --git a/src/sunlinsol/spgmr/fmod_int64/CMakeLists.txt b/src/sunlinsol/spgmr/fmod_int64/CMakeLists.txt index 005f891f6c..597c7eadee 100644 --- a/src/sunlinsol/spgmr/fmod_int64/CMakeLists.txt +++ b/src/sunlinsol/spgmr/fmod_int64/CMakeLists.txt @@ -14,17 +14,19 @@ # CMakeLists.txt file for the F2003 SPGMR SUNLinearSolver object library # ------------------------------------------------------------------------ -sundials_add_f2003_library(sundials_fsunlinsolspgmr_mod +sundials_add_f2003_library( + sundials_fsunlinsolspgmr_mod SOURCES - fsunlinsol_spgmr_mod.f90 fsunlinsol_spgmr_mod.c + fsunlinsol_spgmr_mod.f90 + fsunlinsol_spgmr_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunlinsolspgmr_mod + sundials_fsunlinsolspgmr_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_SPGMR F2003 interface") diff --git a/src/sunlinsol/sptfqmr/fmod_int32/CMakeLists.txt b/src/sunlinsol/sptfqmr/fmod_int32/CMakeLists.txt index ff3dc41956..0843c5dbec 100644 --- a/src/sunlinsol/sptfqmr/fmod_int32/CMakeLists.txt +++ b/src/sunlinsol/sptfqmr/fmod_int32/CMakeLists.txt @@ -14,18 +14,20 @@ # CMakeLists.txt file for the F2003 SPTFQMR SUNLinearSolver object library # ------------------------------------------------------------------------ -sundials_add_f2003_library(sundials_fsunlinsolsptfqmr_mod +sundials_add_f2003_library( + sundials_fsunlinsolsptfqmr_mod SOURCES - fsunlinsol_sptfqmr_mod.f90 fsunlinsol_sptfqmr_mod.c + fsunlinsol_sptfqmr_mod.f90 + fsunlinsol_sptfqmr_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fsunlinsolsptfqmr_mod + sundials_fsunlinsolsptfqmr_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_SPTFQMR F2003 interface") diff --git a/src/sunlinsol/sptfqmr/fmod_int64/CMakeLists.txt b/src/sunlinsol/sptfqmr/fmod_int64/CMakeLists.txt index 2aa92f9022..2db159745e 100644 --- a/src/sunlinsol/sptfqmr/fmod_int64/CMakeLists.txt +++ b/src/sunlinsol/sptfqmr/fmod_int64/CMakeLists.txt @@ -14,17 +14,19 @@ # CMakeLists.txt file for the F2003 SPTFQMR SUNLinearSolver object library # ------------------------------------------------------------------------ -sundials_add_f2003_library(sundials_fsunlinsolsptfqmr_mod +sundials_add_f2003_library( + sundials_fsunlinsolsptfqmr_mod SOURCES - fsunlinsol_sptfqmr_mod.f90 fsunlinsol_sptfqmr_mod.c + fsunlinsol_sptfqmr_mod.f90 + fsunlinsol_sptfqmr_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunlinsolsptfqmr_mod + sundials_fsunlinsolsptfqmr_mod VERSION - ${sunlinsollib_VERSION} + ${sunlinsollib_VERSION} SOVERSION - ${sunlinsollib_SOVERSION} -) + ${sunlinsollib_SOVERSION}) message(STATUS "Added SUNLINSOL_SPTFQMR F2003 interface") diff --git a/src/sunlinsol/superlumt/CMakeLists.txt b/src/sunlinsol/superlumt/CMakeLists.txt index f91bff3aeb..9b4da2f42a 100644 --- a/src/sunlinsol/superlumt/CMakeLists.txt +++ b/src/sunlinsol/superlumt/CMakeLists.txt @@ -16,8 +16,7 @@ install(CODE "MESSAGE(\"\nInstall SUNLINSOL_SUPERLUMT\n\")") -# Include OpenMP flags if SuperLU_MT is using OpenMP, -# otherwise we use threads. +# Include OpenMP flags if SuperLU_MT is using OpenMP, otherwise we use threads. if(SUPERLUMT_THREAD_TYPE STREQUAL "OPENMP") set(_threads OpenMP::OpenMP_C) else() diff --git a/src/sunmatrix/band/fmod_int32/CMakeLists.txt b/src/sunmatrix/band/fmod_int32/CMakeLists.txt index 6026568af8..3eb7054850 100644 --- a/src/sunmatrix/band/fmod_int32/CMakeLists.txt +++ b/src/sunmatrix/band/fmod_int32/CMakeLists.txt @@ -14,17 +14,19 @@ # CMakeLists.txt file for the F2003 band SUNMatrix object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunmatrixband_mod +sundials_add_f2003_library( + sundials_fsunmatrixband_mod SOURCES - fsunmatrix_band_mod.f90 fsunmatrix_band_mod.c + fsunmatrix_band_mod.f90 + fsunmatrix_band_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunmatrixband_mod + sundials_fsunmatrixband_mod VERSION - ${sunmatrixlib_VERSION} + ${sunmatrixlib_VERSION} SOVERSION - ${sunmatrixlib_SOVERSION} -) + ${sunmatrixlib_SOVERSION}) message(STATUS "Added SUNMATRIX_BAND F2003 interface") diff --git a/src/sunmatrix/band/fmod_int64/CMakeLists.txt b/src/sunmatrix/band/fmod_int64/CMakeLists.txt index 465260d783..b7fbddcdb8 100644 --- a/src/sunmatrix/band/fmod_int64/CMakeLists.txt +++ b/src/sunmatrix/band/fmod_int64/CMakeLists.txt @@ -14,18 +14,20 @@ # CMakeLists.txt file for the F2003 band SUNMatrix object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunmatrixband_mod +sundials_add_f2003_library( + sundials_fsunmatrixband_mod SOURCES - fsunmatrix_band_mod.f90 fsunmatrix_band_mod.c + fsunmatrix_band_mod.f90 + fsunmatrix_band_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fsunmatrixband_mod + sundials_fsunmatrixband_mod VERSION - ${sunmatrixlib_VERSION} + ${sunmatrixlib_VERSION} SOVERSION - ${sunmatrixlib_SOVERSION} -) + ${sunmatrixlib_SOVERSION}) message(STATUS "Added SUNMATRIX_BAND F2003 interface") diff --git a/src/sunmatrix/dense/fmod_int32/CMakeLists.txt b/src/sunmatrix/dense/fmod_int32/CMakeLists.txt index 987102b9f6..0e6e776acd 100644 --- a/src/sunmatrix/dense/fmod_int32/CMakeLists.txt +++ b/src/sunmatrix/dense/fmod_int32/CMakeLists.txt @@ -14,18 +14,20 @@ # CMakeLists.txt file for the F2003 dense SUNMatrix object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunmatrixdense_mod +sundials_add_f2003_library( + sundials_fsunmatrixdense_mod SOURCES - fsunmatrix_dense_mod.f90 fsunmatrix_dense_mod.c + fsunmatrix_dense_mod.f90 + fsunmatrix_dense_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fsunmatrixdense_mod + sundials_fsunmatrixdense_mod VERSION - ${sunmatrixlib_VERSION} + ${sunmatrixlib_VERSION} SOVERSION - ${sunmatrixlib_SOVERSION} -) + ${sunmatrixlib_SOVERSION}) message(STATUS "Added SUNMATRIX_DENSE F2003 interface") diff --git a/src/sunmatrix/dense/fmod_int64/CMakeLists.txt b/src/sunmatrix/dense/fmod_int64/CMakeLists.txt index 6b11defa31..9f4fbca311 100644 --- a/src/sunmatrix/dense/fmod_int64/CMakeLists.txt +++ b/src/sunmatrix/dense/fmod_int64/CMakeLists.txt @@ -14,17 +14,19 @@ # CMakeLists.txt file for the F2003 dense SUNMatrix object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunmatrixdense_mod +sundials_add_f2003_library( + sundials_fsunmatrixdense_mod SOURCES - fsunmatrix_dense_mod.f90 fsunmatrix_dense_mod.c + fsunmatrix_dense_mod.f90 + fsunmatrix_dense_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunmatrixdense_mod + sundials_fsunmatrixdense_mod VERSION - ${sunmatrixlib_VERSION} + ${sunmatrixlib_VERSION} SOVERSION - ${sunmatrixlib_SOVERSION} -) + ${sunmatrixlib_SOVERSION}) message(STATUS "Added SUNMATRIX_DENSE F2003 interface") diff --git a/src/sunmatrix/sparse/fmod_int32/CMakeLists.txt b/src/sunmatrix/sparse/fmod_int32/CMakeLists.txt index 407bddff70..4063eae036 100644 --- a/src/sunmatrix/sparse/fmod_int32/CMakeLists.txt +++ b/src/sunmatrix/sparse/fmod_int32/CMakeLists.txt @@ -14,17 +14,19 @@ # CMakeLists.txt file for the F2003 sparse SUNMatrix object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunmatrixsparse_mod +sundials_add_f2003_library( + sundials_fsunmatrixsparse_mod SOURCES - fsunmatrix_sparse_mod.f90 fsunmatrix_sparse_mod.c + fsunmatrix_sparse_mod.f90 + fsunmatrix_sparse_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunmatrixsparse_mod + sundials_fsunmatrixsparse_mod VERSION - ${sunmatrixlib_VERSION} + ${sunmatrixlib_VERSION} SOVERSION - ${sunmatrixlib_SOVERSION} -) + ${sunmatrixlib_SOVERSION}) message(STATUS "Added SUNMATRIX_SPARSE F2003 interface") diff --git a/src/sunmatrix/sparse/fmod_int64/CMakeLists.txt b/src/sunmatrix/sparse/fmod_int64/CMakeLists.txt index fb0ed79b4c..3c2a2dcb8b 100644 --- a/src/sunmatrix/sparse/fmod_int64/CMakeLists.txt +++ b/src/sunmatrix/sparse/fmod_int64/CMakeLists.txt @@ -14,18 +14,20 @@ # CMakeLists.txt file for the F2003 sparse SUNMatrix object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunmatrixsparse_mod +sundials_add_f2003_library( + sundials_fsunmatrixsparse_mod SOURCES - fsunmatrix_sparse_mod.f90 fsunmatrix_sparse_mod.c + fsunmatrix_sparse_mod.f90 + fsunmatrix_sparse_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fsunmatrixsparse_mod + sundials_fsunmatrixsparse_mod VERSION - ${sunmatrixlib_VERSION} + ${sunmatrixlib_VERSION} SOVERSION - ${sunmatrixlib_SOVERSION} -) + ${sunmatrixlib_SOVERSION}) message(STATUS "Added SUNMATRIX_SPARSE F2003 interface") diff --git a/src/sunnonlinsol/fixedpoint/fmod_int32/CMakeLists.txt b/src/sunnonlinsol/fixedpoint/fmod_int32/CMakeLists.txt index bb2f0097b6..9e6387f3ea 100644 --- a/src/sunnonlinsol/fixedpoint/fmod_int32/CMakeLists.txt +++ b/src/sunnonlinsol/fixedpoint/fmod_int32/CMakeLists.txt @@ -15,18 +15,20 @@ # object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunnonlinsolfixedpoint_mod +sundials_add_f2003_library( + sundials_fsunnonlinsolfixedpoint_mod SOURCES - fsunnonlinsol_fixedpoint_mod.f90 fsunnonlinsol_fixedpoint_mod.c + fsunnonlinsol_fixedpoint_mod.f90 + fsunnonlinsol_fixedpoint_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fsunnonlinsolfixedpoint_mod + sundials_fsunnonlinsolfixedpoint_mod VERSION - ${sunnonlinsollib_VERSION} + ${sunnonlinsollib_VERSION} SOVERSION - ${sunnonlinsollib_SOVERSION} -) + ${sunnonlinsollib_SOVERSION}) message(STATUS "Added SUNNONLINSOL_FIXEDPOINT F2003 interface") diff --git a/src/sunnonlinsol/fixedpoint/fmod_int64/CMakeLists.txt b/src/sunnonlinsol/fixedpoint/fmod_int64/CMakeLists.txt index 6e24d5269c..35aa7d449b 100644 --- a/src/sunnonlinsol/fixedpoint/fmod_int64/CMakeLists.txt +++ b/src/sunnonlinsol/fixedpoint/fmod_int64/CMakeLists.txt @@ -15,17 +15,19 @@ # object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunnonlinsolfixedpoint_mod +sundials_add_f2003_library( + sundials_fsunnonlinsolfixedpoint_mod SOURCES - fsunnonlinsol_fixedpoint_mod.f90 fsunnonlinsol_fixedpoint_mod.c + fsunnonlinsol_fixedpoint_mod.f90 + fsunnonlinsol_fixedpoint_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunnonlinsolfixedpoint_mod + sundials_fsunnonlinsolfixedpoint_mod VERSION - ${sunnonlinsollib_VERSION} + ${sunnonlinsollib_VERSION} SOVERSION - ${sunnonlinsollib_SOVERSION} -) + ${sunnonlinsollib_SOVERSION}) message(STATUS "Added SUNNONLINSOL_FIXEDPOINT F2003 interface") diff --git a/src/sunnonlinsol/newton/fmod_int32/CMakeLists.txt b/src/sunnonlinsol/newton/fmod_int32/CMakeLists.txt index 883fac35ed..a25f518e84 100644 --- a/src/sunnonlinsol/newton/fmod_int32/CMakeLists.txt +++ b/src/sunnonlinsol/newton/fmod_int32/CMakeLists.txt @@ -15,17 +15,19 @@ # object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunnonlinsolnewton_mod +sundials_add_f2003_library( + sundials_fsunnonlinsolnewton_mod SOURCES - fsunnonlinsol_newton_mod.f90 fsunnonlinsol_newton_mod.c + fsunnonlinsol_newton_mod.f90 + fsunnonlinsol_newton_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OUTPUT_NAME - sundials_fsunnonlinsolnewton_mod + sundials_fsunnonlinsolnewton_mod VERSION - ${sunnonlinsollib_VERSION} + ${sunnonlinsollib_VERSION} SOVERSION - ${sunnonlinsollib_SOVERSION} -) + ${sunnonlinsollib_SOVERSION}) message(STATUS "Added SUNNONLINSOL_NEWTON F2003 interface") diff --git a/src/sunnonlinsol/newton/fmod_int64/CMakeLists.txt b/src/sunnonlinsol/newton/fmod_int64/CMakeLists.txt index 46be1ab585..73d474554b 100644 --- a/src/sunnonlinsol/newton/fmod_int64/CMakeLists.txt +++ b/src/sunnonlinsol/newton/fmod_int64/CMakeLists.txt @@ -15,18 +15,20 @@ # object library # --------------------------------------------------------------- -sundials_add_f2003_library(sundials_fsunnonlinsolnewton_mod +sundials_add_f2003_library( + sundials_fsunnonlinsolnewton_mod SOURCES - fsunnonlinsol_newton_mod.f90 fsunnonlinsol_newton_mod.c + fsunnonlinsol_newton_mod.f90 + fsunnonlinsol_newton_mod.c LINK_LIBRARIES - PUBLIC sundials_fcore_mod + PUBLIC + sundials_fcore_mod OBJECT_LIBRARIES OUTPUT_NAME - sundials_fsunnonlinsolnewton_mod + sundials_fsunnonlinsolnewton_mod VERSION - ${sunnonlinsollib_VERSION} + ${sunnonlinsollib_VERSION} SOVERSION - ${sunnonlinsollib_SOVERSION} -) + ${sunnonlinsollib_SOVERSION}) message(STATUS "Added SUNNONLINSOL_NEWTON F2003 interface") diff --git a/test/unit_tests/arkode/CXX_parallel/CMakeLists.txt b/test/unit_tests/arkode/CXX_parallel/CMakeLists.txt index 6cd4aca6c4..5bac0d3720 100644 --- a/test/unit_tests/arkode/CXX_parallel/CMakeLists.txt +++ b/test/unit_tests/arkode/CXX_parallel/CMakeLists.txt @@ -31,8 +31,8 @@ foreach(test_tuple ${unit_tests}) # Extract the file name without extension get_filename_component(test_target ${test} NAME_WE) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test_target}) # test source files diff --git a/test/unit_tests/arkode/C_serial/CMakeLists.txt b/test/unit_tests/arkode/C_serial/CMakeLists.txt index 71af6619f1..6794a213b4 100644 --- a/test/unit_tests/arkode/C_serial/CMakeLists.txt +++ b/test/unit_tests/arkode/C_serial/CMakeLists.txt @@ -41,8 +41,8 @@ foreach(test_tuple ${ARKODE_unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/arkode/F2003_serial/CMakeLists.txt b/test/unit_tests/arkode/F2003_serial/CMakeLists.txt index f0facf070d..ab48e3a4c3 100644 --- a/test/unit_tests/arkode/F2003_serial/CMakeLists.txt +++ b/test/unit_tests/arkode/F2003_serial/CMakeLists.txt @@ -23,8 +23,8 @@ foreach(test_tuple ${ARKODE_unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/arkode/gtest/CMakeLists.txt b/test/unit_tests/arkode/gtest/CMakeLists.txt index b5cb9fa1b8..071faee5c0 100644 --- a/test/unit_tests/arkode/gtest/CMakeLists.txt +++ b/test/unit_tests/arkode/gtest/CMakeLists.txt @@ -18,9 +18,9 @@ target_include_directories( PRIVATE $ ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/src) -# We explicitly choose which object libraries to link to and link in the -# ARKODE objects so that we have access to private functions w/o changing -# their visibility in the installed libraries. +# We explicitly choose which object libraries to link to and link in the ARKODE +# objects so that we have access to private functions w/o changing their +# visibility in the installed libraries. target_link_libraries( test_arkode_error_handling PRIVATE $ @@ -33,8 +33,8 @@ target_link_libraries( sundials_sunadaptcontrollersoderlind_obj ${EXE_EXTRA_LINK_LIBS}) -# Tell CMake that we depend on the ARKODE library since it does not pick -# that up from $. +# Tell CMake that we depend on the ARKODE library since it does not pick that up +# from $. add_dependencies(test_arkode_error_handling sundials_arkode_obj) target_link_libraries(test_arkode_error_handling PRIVATE GTest::gtest_main diff --git a/test/unit_tests/cvode/C_serial/CMakeLists.txt b/test/unit_tests/cvode/C_serial/CMakeLists.txt index 14774f98c5..cf406d87b7 100644 --- a/test/unit_tests/cvode/C_serial/CMakeLists.txt +++ b/test/unit_tests/cvode/C_serial/CMakeLists.txt @@ -24,8 +24,8 @@ foreach(test_tuple ${unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/cvode/gtest/CMakeLists.txt b/test/unit_tests/cvode/gtest/CMakeLists.txt index f8e56494b7..43574de435 100644 --- a/test/unit_tests/cvode/gtest/CMakeLists.txt +++ b/test/unit_tests/cvode/gtest/CMakeLists.txt @@ -22,9 +22,9 @@ if(SUNDIALS_BUILD_PACKAGE_FUSED_KERNELS) set(_fused_link_lib sundials_cvode_fused_stubs_obj) endif() -# We explicitly choose which object libraries to link to and link in the -# cvode objects so that we have access to private functions w/o changing -# their visibility in the installed libraries. +# We explicitly choose which object libraries to link to and link in the cvode +# objects so that we have access to private functions w/o changing their +# visibility in the installed libraries. target_link_libraries( test_cvode_error_handling PRIVATE $ @@ -36,8 +36,8 @@ target_link_libraries( sundials_sunnonlinsolnewton_obj ${EXE_EXTRA_LINK_LIBS}) -# Tell CMake that we depend on the CVODE library since it does not pick -# that up from $. +# Tell CMake that we depend on the CVODE library since it does not pick that up +# from $. add_dependencies(test_cvode_error_handling sundials_cvode_obj) target_link_libraries(test_cvode_error_handling PRIVATE GTest::gtest_main diff --git a/test/unit_tests/cvodes/C_serial/CMakeLists.txt b/test/unit_tests/cvodes/C_serial/CMakeLists.txt index 0d0584078e..cebc506bed 100644 --- a/test/unit_tests/cvodes/C_serial/CMakeLists.txt +++ b/test/unit_tests/cvodes/C_serial/CMakeLists.txt @@ -24,8 +24,8 @@ foreach(test_tuple ${unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/cvodes/gtest/CMakeLists.txt b/test/unit_tests/cvodes/gtest/CMakeLists.txt index 156ff3b2c3..92739e4f19 100644 --- a/test/unit_tests/cvodes/gtest/CMakeLists.txt +++ b/test/unit_tests/cvodes/gtest/CMakeLists.txt @@ -18,9 +18,9 @@ target_include_directories( PRIVATE $ ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/src) -# We explicitly choose which object libraries to link to and link in the -# cvode objects so that we have access to private functions w/o changing -# their visibility in the installed libraries. +# We explicitly choose which object libraries to link to and link in the cvode +# objects so that we have access to private functions w/o changing their +# visibility in the installed libraries. target_link_libraries( test_cvodes_error_handling PRIVATE $ @@ -31,8 +31,8 @@ target_link_libraries( sundials_sunnonlinsolnewton_obj ${EXE_EXTRA_LINK_LIBS}) -# Tell CMake that we depend on the CVODE library since it does not pick -# that up from $. +# Tell CMake that we depend on the CVODE library since it does not pick that up +# from $. add_dependencies(test_cvodes_error_handling sundials_cvodes_obj) target_link_libraries(test_cvodes_error_handling PRIVATE GTest::gtest_main diff --git a/test/unit_tests/ida/C_serial/CMakeLists.txt b/test/unit_tests/ida/C_serial/CMakeLists.txt index a4c7ac1fab..202a88fe58 100644 --- a/test/unit_tests/ida/C_serial/CMakeLists.txt +++ b/test/unit_tests/ida/C_serial/CMakeLists.txt @@ -24,8 +24,8 @@ foreach(test_tuple ${unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/ida/gtest/CMakeLists.txt b/test/unit_tests/ida/gtest/CMakeLists.txt index 21996e0ee9..38c5a3e92b 100644 --- a/test/unit_tests/ida/gtest/CMakeLists.txt +++ b/test/unit_tests/ida/gtest/CMakeLists.txt @@ -18,9 +18,9 @@ target_include_directories( PRIVATE $ ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/src) -# We explicitly choose which object libraries to link to and link in the -# ida objects so that we have access to private functions w/o changing -# their visibility in the installed libraries. +# We explicitly choose which object libraries to link to and link in the ida +# objects so that we have access to private functions w/o changing their +# visibility in the installed libraries. target_link_libraries( test_ida_error_handling PRIVATE $ @@ -31,8 +31,8 @@ target_link_libraries( sundials_sunnonlinsolnewton_obj ${EXE_EXTRA_LINK_LIBS}) -# Tell CMake that we depend on the IDA library since it does not pick -# that up from $. +# Tell CMake that we depend on the IDA library since it does not pick that up +# from $. add_dependencies(test_ida_error_handling sundials_ida_obj) target_link_libraries(test_ida_error_handling PRIVATE GTest::gtest_main diff --git a/test/unit_tests/idas/C_serial/CMakeLists.txt b/test/unit_tests/idas/C_serial/CMakeLists.txt index 6b4588be68..16f9384ee6 100644 --- a/test/unit_tests/idas/C_serial/CMakeLists.txt +++ b/test/unit_tests/idas/C_serial/CMakeLists.txt @@ -24,8 +24,8 @@ foreach(test_tuple ${unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/idas/gtest/CMakeLists.txt b/test/unit_tests/idas/gtest/CMakeLists.txt index c04aefbe80..8f6c0b292e 100644 --- a/test/unit_tests/idas/gtest/CMakeLists.txt +++ b/test/unit_tests/idas/gtest/CMakeLists.txt @@ -18,9 +18,9 @@ target_include_directories( PRIVATE $ ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/src) -# We explicitly choose which object libraries to link to and link in the -# ida objects so that we have access to private functions w/o changing -# their visibility in the installed libraries. +# We explicitly choose which object libraries to link to and link in the ida +# objects so that we have access to private functions w/o changing their +# visibility in the installed libraries. target_link_libraries( test_idas_error_handling PRIVATE $ @@ -31,8 +31,8 @@ target_link_libraries( sundials_sunnonlinsolnewton_obj ${EXE_EXTRA_LINK_LIBS}) -# Tell CMake that we depend on the IDA library since it does not pick -# that up from $. +# Tell CMake that we depend on the IDA library since it does not pick that up +# from $. add_dependencies(test_idas_error_handling sundials_idas_obj) target_link_libraries(test_idas_error_handling PRIVATE GTest::gtest_main diff --git a/test/unit_tests/kinsol/C_serial/CMakeLists.txt b/test/unit_tests/kinsol/C_serial/CMakeLists.txt index 0ca058678d..a3db85d254 100644 --- a/test/unit_tests/kinsol/C_serial/CMakeLists.txt +++ b/test/unit_tests/kinsol/C_serial/CMakeLists.txt @@ -24,8 +24,8 @@ foreach(test_tuple ${unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/kinsol/gtest/CMakeLists.txt b/test/unit_tests/kinsol/gtest/CMakeLists.txt index 2028bdf12b..5b6d650402 100644 --- a/test/unit_tests/kinsol/gtest/CMakeLists.txt +++ b/test/unit_tests/kinsol/gtest/CMakeLists.txt @@ -18,9 +18,9 @@ target_include_directories( PRIVATE $ ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/src) -# We explicitly choose which object libraries to link to and link in the -# KINSOL objects so that we have access to private functions w/o changing -# their visibility in the installed libraries. +# We explicitly choose which object libraries to link to and link in the KINSOL +# objects so that we have access to private functions w/o changing their +# visibility in the installed libraries. target_link_libraries( test_kinsol_error_handling PRIVATE $ @@ -31,8 +31,8 @@ target_link_libraries( sundials_sunnonlinsolnewton_obj ${EXE_EXTRA_LINK_LIBS}) -# Tell CMake that we depend on the KINSOL library since it does not pick -# that up from $. +# Tell CMake that we depend on the KINSOL library since it does not pick that up +# from $. add_dependencies(test_kinsol_error_handling sundials_kinsol_obj) target_link_libraries(test_kinsol_error_handling PRIVATE GTest::gtest_main diff --git a/test/unit_tests/profiling/CMakeLists.txt b/test/unit_tests/profiling/CMakeLists.txt index 8c58c232ab..1403bbbefc 100644 --- a/test/unit_tests/profiling/CMakeLists.txt +++ b/test/unit_tests/profiling/CMakeLists.txt @@ -22,8 +22,8 @@ foreach(test_tuple ${unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/sundials/reductions/CMakeLists.txt b/test/unit_tests/sundials/reductions/CMakeLists.txt index 171c58c6aa..bee7ed7707 100644 --- a/test/unit_tests/sundials/reductions/CMakeLists.txt +++ b/test/unit_tests/sundials/reductions/CMakeLists.txt @@ -22,8 +22,8 @@ foreach(test_tuple ${unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/sunmemory/cuda/CMakeLists.txt b/test/unit_tests/sunmemory/cuda/CMakeLists.txt index b009fc5284..f8fc7f3643 100644 --- a/test/unit_tests/sunmemory/cuda/CMakeLists.txt +++ b/test/unit_tests/sunmemory/cuda/CMakeLists.txt @@ -20,8 +20,8 @@ foreach(test_tuple ${unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/sunmemory/hip/CMakeLists.txt b/test/unit_tests/sunmemory/hip/CMakeLists.txt index eae4583871..383417561c 100644 --- a/test/unit_tests/sunmemory/hip/CMakeLists.txt +++ b/test/unit_tests/sunmemory/hip/CMakeLists.txt @@ -20,8 +20,8 @@ foreach(test_tuple ${unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/sunmemory/sycl/CMakeLists.txt b/test/unit_tests/sunmemory/sycl/CMakeLists.txt index d03af880c2..de3abc84e7 100644 --- a/test/unit_tests/sunmemory/sycl/CMakeLists.txt +++ b/test/unit_tests/sunmemory/sycl/CMakeLists.txt @@ -20,8 +20,8 @@ foreach(test_tuple ${unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files diff --git a/test/unit_tests/sunmemory/sys/CMakeLists.txt b/test/unit_tests/sunmemory/sys/CMakeLists.txt index 56a5c3a249..3dc597c941 100644 --- a/test/unit_tests/sunmemory/sys/CMakeLists.txt +++ b/test/unit_tests/sunmemory/sys/CMakeLists.txt @@ -20,8 +20,8 @@ foreach(test_tuple ${unit_tests}) list(GET test_tuple 0 test) list(GET test_tuple 1 test_args) - # check if this test has already been added, only need to add - # test source files once for testing with different inputs + # check if this test has already been added, only need to add test source + # files once for testing with different inputs if(NOT TARGET ${test}) # test source files