Skip to content

Commit 9d23edb

Browse files
authored
Merge pull request #613 from sandialabs/zoltan-update-with-trilinos-try2
Zoltan update with trilinos try2 Snapshot latest zoltan version in Trilinos into seacas. Clean up some compiler warnings in zoltan. Clean up doxygen warnings in ioss.
2 parents 5d6ec97 + 8005a8c commit 9d23edb

File tree

1,042 files changed

+14977
-28945
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,042 files changed

+14977
-28945
lines changed

packages/seacas/libraries/aprepro_lib/strings.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ std::vector<std::string> build_strings()
6262
strings.emplace_back(R"({cd = tand(180/4)} {180-4*atand(cd)} $ tan(180/4))");
6363
strings.emplace_back(R"()");
6464
strings.emplace_back(R"(Test max, min, sign, dim, abs)");
65-
strings.emplace_back(R"({pmin = min(0.5, 1.0)} {nmin = min(-0.5, -1.0)} $ Should be 0.5, -1)");
66-
strings.emplace_back(R"({pmax = max(0.5, 1.0)} {nmax = max(-0.5, -1.0)} $ Should be 1.0, -0.5)");
65+
strings.emplace_back(
66+
R"({pmin = min(0.5, 1.0)} {nmin = min(-0.5, -1.0)} $ Should be 0.5, -1)");
67+
strings.emplace_back(
68+
R"({pmax = max(0.5, 1.0)} {nmax = max(-0.5, -1.0)} $ Should be 1.0, -0.5)");
6769
strings.emplace_back(R"({zero = 0} {sign(0.5, zero) + sign(0.5, -zero)} $ Should be 0 1)");
6870
strings.emplace_back(
6971
R"({nonzero = 1} {sign(0.5, nonzero) + sign(0.5, -nonzero)} $ Should be 1 0)");

packages/seacas/libraries/exodus/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ endif()
77
TRIBITS_INCLUDE_DIRECTORIES(
88
"${CMAKE_CURRENT_SOURCE_DIR}/include"
99
)
10-
message("installing shared exodus to: ${CMAKE_INSTALL_LIBDIR}")
11-
1210
FILE(GLOB SOURCES src/ex_*.c)
1311

1412
if (NOT ${PACKAGE_NAME}_HIDE_DEPRECATED_CODE)
@@ -51,7 +49,6 @@ if (SEACASExodus_ENABLE_SHARED)
5149
# This keeps the library out of the `all_libs` targets...
5250
set_target_properties(exodus_shared PROPERTIES TRIBITS_TESTONLY_LIB TRUE)
5351
set_target_properties(exodus_shared PROPERTIES OUTPUT_NAME exodus)
54-
message("installing shared exodus to: ${CMAKE_INSTALL_LIBDIR}")
5552
INSTALL(TARGETS exodus_shared DESTINATION ${CMAKE_INSTALL_LIBDIR})
5653
endif()
5754
endif()
@@ -76,7 +73,6 @@ if (SEACASExodus_ENABLE_STATIC)
7673
# Create a symbolic link from libexodus.a to libexoIIv2c.a -- do only for static lib
7774
InstallSymLink(libexodus.a ${CMAKE_INSTALL_PREFIX}/lib/libexoIIv2c.a)
7875
endif()
79-
message("installing shared exodus to: ${CMAKE_INSTALL_LIBDIR}")
8076

8177
if (${CMAKE_PROJECT_NAME} STREQUAL "Seacas")
8278
# add a target to generate API documentation with Doxygen
@@ -91,7 +87,6 @@ if (${CMAKE_PROJECT_NAME} STREQUAL "Seacas")
9187
endif(DOXYGEN_FOUND)
9288
endif()
9389
endif()
94-
message("installing shared exodus to: ${CMAKE_INSTALL_LIBDIR}")
9590

9691
TRIBITS_ADD_TEST_DIRECTORIES(test)
9792

packages/seacas/libraries/ioss/src/Ioss_DatabaseIO.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ namespace Ioss {
289289
/** \brief If a database type supports internal change sets, open the change set
290290
* specified [zero-based] index
291291
*
292-
* \param[in] child_index The [zero-based] index of the internal change set to open.
292+
* \param[in] set_index The [zero-based] index of the internal change set to open.
293293
* \returns True if successful.
294294
*/
295295
bool open_internal_change_set(int set_index)

packages/seacas/libraries/ioss/src/Ioss_Utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,11 +506,11 @@ namespace Ioss {
506506
* \param[in] sb Compute the offset for element sides in this SideBlock
507507
* \returns The offset.
508508
*/
509+
IOSS_NODISCARD static int64_t get_side_offset(const Ioss::SideBlock *sb);
510+
509511
IOSS_NODISCARD static int64_t get_side_offset(const Ioss::ElementTopology *parent_topo,
510512
const Ioss::ElementTopology *side_topo);
511513

512-
IOSS_NODISCARD static int64_t get_side_offset(const Ioss::SideBlock *sb);
513-
514514
IOSS_NODISCARD static unsigned int hash(const std::string &name);
515515

516516
IOSS_NODISCARD static double timer();

packages/seacas/libraries/ioss/src/heartbeat/Iohb_Layout.C

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(C) 1999-2022, 2024 National Technology & Engineering Solutions
1+
// Copyright(C) 1999-2022, 2024, 2025 National Technology & Engineering Solutions
22
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
33
// NTESS, the U.S. Government retains certain rights in this software.
44
//
@@ -36,10 +36,12 @@ namespace Iohb {
3636
}
3737
}
3838

39+
#ifndef DOXYGEN_SKIP_THIS
3940
template void Layout::add(const std::string &name, const std::string &value);
4041
template void Layout::add(const std::string &name, const int &value);
4142
template void Layout::add(const std::string &name, const int64_t &value);
4243
template void Layout::add(const std::string &name, const size_t &value);
44+
#endif
4345

4446
// Ideally, this would be in the include file, but when building in Sierra, we
4547
// need to keep all `fmt` includes out of the include file due to some TPLs
@@ -71,9 +73,11 @@ namespace Iohb {
7173
}
7274
}
7375

76+
#ifndef DOXYGEN_SKIP_THIS
7477
template void Layout::add(const std::string &name, const std::vector<int> &value);
7578
template void Layout::add(const std::string &name, const std::vector<int64_t> &value);
7679
template void Layout::add(const std::string &name, const std::vector<size_t> &value);
80+
#endif
7781

7882
template <typename T> void Layout::add(const std::string &name, const std::vector<T> &value)
7983
{

packages/zoltan/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ OPTION(${PACKAGE_NAME}_ENABLE_CPPDRIVER
4949
"Enable C++ driver for ${PACKAGE_NAME}."
5050
${${PROJECT_NAME}_ENABLE_CXX} )
5151

52-
IF (${PROJECT_NAME}_ENABLE_CXX)
52+
IF (${PROJECT_NAME}_ENABLE_CXX)
5353
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DMPICH_IGNORE_CXX_SEEK")
5454
ENDIF()
5555

packages/zoltan/COPYRIGHT

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
Zoltan Toolkit for Load-balancing, Partitioning, Ordering and Coloring
3+
Copyright (c) 2012 NTESS
4+
5+
Copyright 2012 National Technology & Engineering Solutions of Sandia,
6+
LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the
7+
U.S. Government retains certain rights in this software.
8+
9+
Copyright the Zoltan contributors.

packages/zoltan/COPYRIGHT_AND_LICENSE

Lines changed: 0 additions & 45 deletions
This file was deleted.

packages/zoltan/LICENSE

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
SPDX-License-Identifier: BSD-3-Clause
2+
3+
Copyright (c) 2012 NTESS and the Zoltan contributors.
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions
7+
are met:
8+
9+
1. Redistributions of source code must retain the above copyright
10+
notice, this list of conditions and the following disclaimer.
11+
2. Redistributions in binary form must reproduce the above
12+
copyright notice, this list of conditions and the following
13+
disclaimer in the documentation and/or other materials provided
14+
with the distribution.
15+
3. Neither the name of the copyright holder nor the names of
16+
its contributors may be used to endorse or promote products
17+
derived from this software without specific prior written
18+
permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23+
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
24+
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30+
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31+
POSSIBILITY OF SUCH DAMAGE.

packages/zoltan/Makefile.am

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,3 @@
1-
# @HEADER
2-
#
3-
########################################################################
4-
#
5-
# Zoltan Toolkit for Load-balancing, Partitioning, Ordering and Coloring
6-
# Copyright 2012 Sandia Corporation
7-
#
8-
# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9-
# the U.S. Government retains certain rights in this software.
10-
#
11-
# Redistribution and use in source and binary forms, with or without
12-
# modification, are permitted provided that the following conditions are
13-
# met:
14-
#
15-
# 1. Redistributions of source code must retain the above copyright
16-
# notice, this list of conditions and the following disclaimer.
17-
#
18-
# 2. Redistributions in binary form must reproduce the above copyright
19-
# notice, this list of conditions and the following disclaimer in the
20-
# documentation and/or other materials provided with the distribution.
21-
#
22-
# 3. Neither the name of the Corporation nor the names of the
23-
# contributors may be used to endorse or promote products derived from
24-
# this software without specific prior written permission.
25-
#
26-
# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
27-
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28-
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
29-
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
30-
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
31-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
32-
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
33-
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
34-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
35-
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
36-
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37-
#
38-
# Questions? Contact Karen Devine kddevin@sandia.gov
39-
# Erik Boman egboman@sandia.gov
40-
#
41-
########################################################################
42-
#
43-
# @HEADER
44-
451

462
## #######################################################################
473
## Options to automake (rarely used - don't worry about it)

0 commit comments

Comments
 (0)