Skip to content

Commit

Permalink
Line decomp parallel (sandialabs#459)
Browse files Browse the repository at this point in the history
* IOSS: refactor to reduce strings; give flexibility and efficiency

* IOSS: Start of support for parallel line decomp

* IOSS: Explicit template instantiation fix

* IOSS: Allow passing filename down into line_decomp

* IOSS: initial line_decompose(); compile/link does not run

* IOSS: Refactor to try to eliminate duplicate code

* IOSS: Add some missing includes

* SLICE: Fix data_storage type

* Share decomp code between slice and ioss line decomp

* IOSS: Fix serial build

* Pull element centroid into common utils class

* Templative line_decompose; pass correct vector

* Handle specified in guided_decompose

* Remove unused function

* elementToProc does not need 64-bit range

* EXPLORE: Fix behavior after bad parse warning

* EXPLORE: Better warning/info message on SELECT

* Minor rearrange include files

* IOSS: See if this fixes/affects msys2 build

* IOSS: Add some logging/hwm code to line decomp

* IOSS: Another try to see how affects msys2 build

* IOSS: Better hwm logging output

* Unify Slice and DecompositionUtils zoltan_decompose

* IOSS: Fix msys2 build

* clang-format run

* SLICE: Version should be updated for latest chagnes

* IOSS: Reduce storage potentially; fix zoltan free call

* SLICE: Fix order of file close and mpi_finalize

* IOSS: Enable decomposition statistics for line decomp

* IOSS: io_shell - add_processor_id_field works for exodus also

* IOSS: compose output will add a proc_id map to output

* IOSS: thread-safe output_processor_id_map

* CI: safer variable naming

---------

Co-authored-by: Greg Sjaardema <[email protected]>
  • Loading branch information
2 people authored and tokusanya committed Jul 16, 2024
1 parent 94a3d95 commit d963206
Show file tree
Hide file tree
Showing 19 changed files with 853 additions and 582 deletions.
10 changes: 5 additions & 5 deletions cmake-config
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,9 @@ if [ "$SANITIZER" != "NO" ] ; then
#sanitizer=dataflow #: DataFlowSanitizer, a general data flow analysis.
#sanitizer=cfi #: control flow integrity checks. Requires -flto.
#sanitizer=safe-stack #: safe stack protection against stack-based memory corruption errors.
SANITIZE="-fsanitize=${SANITIZER} -fno-omit-frame-pointer -fPIC"
OPT_SANITIZE="-fsanitize=${SANITIZER} -fno-omit-frame-pointer -fPIC"
if [ "$SANITIZER" == "integer" ] ; then
SANITIZE="$SANITIZE -fno-sanitize=unsigned-integer-overflow"
OPT_SANITIZE="$OPT_SANITIZE -fno-sanitize=unsigned-integer-overflow"
fi
fi

Expand Down Expand Up @@ -488,9 +488,9 @@ cmake -G "${GENERATOR}" \
-D CMAKE_CXX_COMPILER:FILEPATH=${CXX} \
-D CMAKE_C_COMPILER:FILEPATH=${CC} \
-D CMAKE_Fortran_COMPILER:FILEPATH=${FC} \
-D CMAKE_CXX_FLAGS="${CXXFLAGS} ${CXX_WARNING_FLAGS} ${SANITIZE}" \
-D CMAKE_C_FLAGS="${CFLAGS} ${C_WARNING_FLAGS} ${SANITIZE}" \
-D CMAKE_Fortran_FLAGS="${FFLAGS} ${F77_WARNING_FLAGS} ${SANITIZE}" \
-D CMAKE_CXX_FLAGS="${CXXFLAGS} ${CXX_WARNING_FLAGS} ${OPT_SANITIZE}" \
-D CMAKE_C_FLAGS="${CFLAGS} ${C_WARNING_FLAGS} ${OPT_SANITIZE}" \
-D CMAKE_Fortran_FLAGS="${FFLAGS} ${F77_WARNING_FLAGS} ${OPT_SANITIZE}" \
-D Seacas_ENABLE_STRONG_C_COMPILE_WARNINGS=${EXTRA_WARNINGS} \
-D Seacas_ENABLE_STRONG_CXX_COMPILE_WARNINGS=${EXTRA_WARNINGS} \
-D CMAKE_INSTALL_RPATH:PATH=${INSTALL_PATH}/lib \
Expand Down
Loading

0 comments on commit d963206

Please sign in to comment.