Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trilinos Master Merge PR Generator: Auto PR created to promote from master_merge_20240112_175838 branch to master #12664

Merged
merged 35 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
379e720
shylubasker: runtime transpose solve checkin
ndellingwood Sep 11, 2021
b92d20f
ShyLU-Basker : apply *inverse* permutation for transpose solve
iyamazaki Mar 28, 2023
fce5b6d
basker: tr solve verbose output cleanup
ndellingwood Apr 10, 2023
2896ebb
ShyLUBasker : initial transpose-solve patch
iyamazaki May 2, 2023
3755214
ShyLU-Basker : adjust threshold to decide on a big A block
iyamazaki Jun 14, 2023
7768902
ShyLU-Basker : trying to remove assumption that we do ND if nblk == 1
iyamazaki Sep 6, 2023
4b5f874
ShyLU-Basker : removing the commented code from the previous commit
iyamazaki Sep 6, 2023
8e3b2d3
ShyLU-Basker : some numerical enhancement
iyamazaki Sep 7, 2023
8a0a0eb
ShyLU-Basker : adjust threshold so that ND facto only if the block si…
iyamazaki Oct 3, 2023
cd0ef81
ShyLU-Basker : remove some debugging printf statements
iyamazaki Nov 6, 2023
402efce
shylubasker: some cleanup
ndellingwood Dec 20, 2023
146e6eb
amesos2: temp commit for shylubasker runtime tr solve testing
ndellingwood Apr 10, 2023
64c5233
shylubasker: remove transpose solve dev debug blocks
ndellingwood Dec 20, 2023
d6ef7f1
Revert "amesos2: temp commit for shylubasker runtime tr solve testing"
ndellingwood Dec 20, 2023
b69168a
amesos2: remove stray line missed during revert (due to past rebase)
ndellingwood Dec 20, 2023
9e964f6
Use relative paths for .ini symlinks
sebrowne Jan 3, 2024
e4bfc59
Merge Pull Request #12641 from sebrowne/Trilinos/develop
trilinos-autotester Jan 8, 2024
18524ec
Merge pull request #12617 from ndellingwood/shylubasker-runtime-trsolve
ndellingwood Jan 8, 2024
2fd3e58
Add _ character between subblock numbering to disambiguate subblock n…
malphil Jan 9, 2024
bcf967c
Force PR tests to use a merge commit for testing with --no-ff
achauphan Jan 9, 2024
2cc9f6f
Framework: Add van1-tx2 ATDM environment for armclang 22.1
brian-kelley Jan 9, 2024
f8cf9a7
Merge Pull Request #12646 from achauphan/Trilinos/pr-no-ff-merge
trilinos-autotester Jan 10, 2024
2ea901a
Framework: fix stria arm/22.1 TPL environment
brian-kelley Jan 10, 2024
cbfbb38
Tempus: Utilize Teuchos Unit Test 'out'
ccober6 Jan 10, 2024
d6bdca9
Merge pull request #12656 from trilinos/12655-Tempus-Utilize-Teuchos-…
ccober6 Jan 10, 2024
100b16f
Pad subblock matrix file numbering for consistency
malphil Jan 10, 2024
cc3f1ec
Merge Pull Request #12652 from MalachiTimothyPhillips/Trilinos/malach…
trilinos-autotester Jan 11, 2024
ca9d3d1
Merge pull request #12654 from brian-kelley/UpdateStriaArmClang
brian-kelley Jan 11, 2024
68c2b0d
Fix 12648 (#12650)
tjfulle Jan 12, 2024
586c87a
Tempus: Use Clang-format
ccober6 Jan 12, 2024
a2a4c58
Exclude Tempus examples from clang-format.
ccober6 Jan 12, 2024
691e100
Zero out the scalar_values_schur not to reuse values of a previous se…
Jan 12, 2024
8a8df6d
Remove lines with only a semicolon.
ccober6 Jan 12, 2024
fae086b
Merge pull request #12660 from trilinos/12659-Tempus-Use-Clang-Format
ccober6 Jan 12, 2024
6a31c72
Merge Pull Request #12661 from kliegeois/Trilinos/ifpack2-BTD-Schur-fix
trilinos-autotester Jan 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check MueLu clang-format
name: Check packages with clang-format

on: [pull_request]

Expand All @@ -10,8 +10,8 @@ jobs:
- uses: actions/checkout@v3
- uses: DoozyX/[email protected]
with:
source: './packages/muelu'
exclude: ''
source: './packages/muelu ./packages/tempus'
exclude: './packages/tempus/examples'
extensions: 'cpp,hpp'
clangFormatVersion: 14
inplace: true
Expand All @@ -35,7 +35,7 @@ jobs:
if: ${{ hashFiles('format_patch.txt') != '' }}
with:
message: |
Your PR updated files in MueLu, but did not respect the clang formatting settings. Please apply the patch found [here](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/${{ steps.upload-artf.outputs.artifact-id }})
Your PR updated files that did not respect package clang formatting settings. Please apply the patch found [here](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/${{ steps.upload-artf.outputs.artifact-id }})

- uses: actions/github-script@v3
if: ${{ hashFiles('format_patch.txt') != '' }}
Expand Down
2 changes: 2 additions & 0 deletions cmake/std/atdm/van1-tx2/all_supported_builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ export ATDM_CONFIG_CTEST_S_BUILD_NAME_PREFIX=Trilinos-atdm-
export ATDM_CONFIG_ALL_SUPPORTED_BUILDS=(
van1-tx2_arm-20.1_openmpi-4.0.5_openmp_static_opt
van1-tx2_arm-20.1_openmpi-4.0.5_openmp_static_dbg
van1-tx2_arm-22.1_openmpi-4.0.5_openmp_static_opt
van1-tx2_arm-22.1_openmpi-4.0.5_openmp_static_dbg
)
13 changes: 11 additions & 2 deletions cmake/std/atdm/van1-tx2/custom_builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,27 @@ if atdm_match_any_buildname_keyword \
arm-20.1_openmpi-4.0.5 \
arm-20.1 \
arm-20 \
; then
export ATDM_CONFIG_COMPILER=ARM-20.1_OPENMPI-4.0.5
elif atdm_match_any_buildname_keyword \
arm-22.1-openmpi-4.0.5 \
arm-22.1_openmpi-4.0.5 \
arm-22.1 \
arm-22 \
arm \
default \
; then
export ATDM_CONFIG_COMPILER=ARM-20.1_OPENMPI-4.0.5
export ATDM_CONFIG_COMPILER=ARM-22.1_OPENMPI-4.0.5

else
echo
echo "***"
echo "*** ERROR: A supported compiler was not selected for 'van1-tx2' (stria) env in buildname '${ATDM_CONFIG_BUILD_NAME}'"
echo "***"
echo "*** Supported compilers include:"
echo "***"
echo "**** arm-20.1-openmpi-4.0.5 (arm, arm-20, arm-20.1, default)"
echo "**** arm-22.1-openmpi-4.0.5 (arm, arm-22, arm-22.1, default)"
echo "**** arm-20.1-openmpi-4.0.5 (arm-20, arm-20.1)"
echo "***"
return

Expand Down
17 changes: 14 additions & 3 deletions cmake/std/atdm/van1-tx2/custom_builds_unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,29 @@ testAll() {
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-20.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before-arm-22.1-openmpi-4.0.5_after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-22.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before-arm-22.1_openmpi-4.0.5-after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-22.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=default
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-20.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}
${_ASSERT_EQUALS_} ARM-22.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_arm-20-afert
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-20.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before-arm-after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-20.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}
${_ASSERT_EQUALS_} ARM-22.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=BEFORE-ARM-AFTER
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-20.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}
${_ASSERT_EQUALS_} ARM-22.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}

# Make sure 'arms' does not match 'arm'
ATDM_CONFIG_BUILD_NAME=anything-arms
Expand All @@ -45,6 +53,9 @@ testAll() {
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-20.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}

ATDM_CONFIG_BUILD_NAME=before_arm-22.1-after
. ${ATDM_CONFIG_SCRIPT_DIR}/utils/set_build_options.sh
${_ASSERT_EQUALS_} ARM-22.1_OPENMPI-4.0.5 ${ATDM_CONFIG_COMPILER}
}


Expand Down
42 changes: 30 additions & 12 deletions cmake/std/atdm/van1-tx2/environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ fi
if [[ "$ATDM_CONFIG_COMPILER" == "ARM-20.1_OPENMPI-4.0.5" ]]; then
module load sparc-dev/arm-20.1_openmpi-4.0.5
module unload yaml-cpp

if [ "$ATDM_CONFIG_NODE_TYPE" == "OPENMP" ] ; then
unset OMP_PLACES
unset OMP_PROC_BIND
fi

# We'll use TPL_ROOT for consistency across ATDM environments
export MPI_ROOT=${MPI_DIR}
export BLAS_ROOT=${ARMPL_DIR}
Expand All @@ -66,6 +60,24 @@ if [[ "$ATDM_CONFIG_COMPILER" == "ARM-20.1_OPENMPI-4.0.5" ]]; then
export PARMETIS_ROOT=${PARMETIS_DIR}
export SUPERLUDIST_ROOT=${SUPERLU_DIST_DIR}
export BINUTILS_ROOT=${BINUTILS_DIR}
# SUPERLU_DIST and NETCDF libraries live in $ROOT/lib in this version
export ATDM_CONFIG_SUPERLUDIST_LIBS="-L${SUPERLUDIST_ROOT}/lib;-lsuperlu_dist"
export ATDM_CONFIG_NETCDF_LIBS="-L${NETCDF_ROOT}/lib;${NETCDF_ROOT}/lib/libnetcdf.a;${PNETCDF_ROOT}/lib/libpnetcdf.a;${ATDM_CONFIG_HDF5_LIBS}"
elif [[ "$ATDM_CONFIG_COMPILER" == "ARM-22.1_OPENMPI-4.0.5" ]]; then
export BLAS_ROOT=${ARMPL_DIR}
module load sparc-dev/arm-22.1_openmpi-4.0.5
module unload yaml-cpp
# superlu and binutils are not included in the devpack:
module load superlu/5.2.1
module load binutils/2.33.1
# This version of sparc-dev sets most of the $TPL_ROOT style variables,
# except these:
export MPI_ROOT=${MPI_DIR}
export SUPERLU_ROOT=${SUPERLU_DIR}
export BINUTILS_ROOT=${BINUTILS_DIR}
# SUPERLU_DIST and NETCDF libraries live in $ROOT/lib64 in this version
export ATDM_CONFIG_SUPERLUDIST_LIBS="-L${SUPERLUDIST_ROOT}/lib64;-lsuperlu_dist"
export ATDM_CONFIG_NETCDF_LIBS="-L${NETCDF_ROOT}/lib64;${NETCDF_ROOT}/lib64/libnetcdf.a;${PNETCDF_ROOT}/lib/libpnetcdf.a;${ATDM_CONFIG_HDF5_LIBS}"
else
echo
echo "***"
Expand All @@ -74,6 +86,11 @@ else
return
fi

if [ "$ATDM_CONFIG_NODE_TYPE" == "OPENMP" ] ; then
unset OMP_PLACES
unset OMP_PROC_BIND
fi

if [[ "$ATDM_CONFIG_NODE_TYPE" == "OPENMP" ]] ; then
export ATDM_CONFIG_CTEST_PARALLEL_LEVEL=16
export OMP_NUM_THREADS=2
Expand All @@ -83,9 +100,14 @@ else
export OMP_NUM_THREADS=1
fi

# Also unload this cmake module as 3.17 is too old to configure Trilinos.
# sparc-cmake/3.23.2 is the version we want to use
# (and both devpacks load it), but because it has a
# different name it won't unload this older version.
module unload cmake/3.17.1

# Common modules for all builds
module load ninja
module load cmake/3.17.1

export ATDM_CONFIG_USE_HWLOC=OFF
export HWLOC_LIBS=
Expand All @@ -99,18 +121,14 @@ export ATDM_CONFIG_CGNS_LIBRARY_NAMES="cgns"
# HDF5 settings
export ATDM_CONFIG_HDF5_LIBS="-L${HDF5_ROOT}/lib;${HDF5_ROOT}/lib/libhdf5_hl.a;${HDF5_ROOT}/lib/libhdf5.a;-lz;-ldl"

# NETCDF settings
export ATDM_CONFIG_NETCDF_LIBS="-L${NETCDF_ROOT}/lib;${NETCDF_ROOT}/lib/libnetcdf.a;${PNETCDF_ROOT}/lib/libpnetcdf.a;${ATDM_CONFIG_HDF5_LIBS}"

# BLAS settings
export ATDM_CONFIG_BLAS_LIBS="-L${BLAS_ROOT}/lib;-larmpl_lp64_mp;-larmflang;-lomp"

# LAPACK settings
export ATDM_CONFIG_LAPACK_LIBS="-L${LAPACK_ROOT}/lib;-larmpl_lp64_mp;-larmflang;-lomp"

# SuperLUDist settings
# Common SuperLUDist settings
export ATDM_CONFIG_SUPERLUDIST_INCLUDE_DIRS="${SUPERLUDIST_ROOT}/include"
export ATDM_CONFIG_SUPERLUDIST_LIBS="-L${SUPERLUDIST_ROOT}/lib;-lsuperlu_dist"

# METIS settings - force linker order!
export ATDM_CONFIG_PARMETIS_LIBS="${PARMETIS_ROOT}/lib/libparmetis.a;${METIS_ROOT}/lib/libmetis.a"
Expand Down
20 changes: 11 additions & 9 deletions packages/framework/get_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,25 +96,27 @@ fi
# Set up symlinks to the desired *.ini files
echo
cd ${script_dir}/GenConfig/deps/LoadEnv/ini_files
relative_path_to_script_dir="../../../.."
if [[ -d ${script_dir}/srn-ini-files ]] && [[ "$ini_file_option" == "--srn" ]]; then
echo "STATUS: Link files from srn-ini-files"
ln -sf ${script_dir}/srn-ini-files/trilinos/framework/environment-specs.ini
ln -sf ${script_dir}/srn-ini-files/trilinos/framework/supported-systems.ini
ln -sf ${relative_path_to_script_dir}/srn-ini-files/trilinos/framework/environment-specs.ini
ln -sf ${relative_path_to_script_dir}/srn-ini-files/trilinos/framework/supported-systems.ini
elif [[ -d ${script_dir}/son-ini-files ]] && [[ "$ini_file_option" == "--son" ]]; then
echo "STATUS: Link files from son-ini-files"
ln -sf ${script_dir}/son-ini-files/trilinos/framework/environment-specs.ini
ln -sf ${script_dir}/son-ini-files/trilinos/framework/supported-systems.ini
ln -sf ${relative_path_to_script_dir}/son-ini-files/trilinos/framework/environment-specs.ini
ln -sf ${relative_path_to_script_dir}/son-ini-files/trilinos/framework/supported-systems.ini
else
echo "STATUS: Link files from ini-files"
[ -e ${script_dir}/ini-files/environment-specs.ini ] && ln -sf ${script_dir}/ini-files/environment-specs.ini
[ -e ${script_dir}/ini-files/supported-systems.ini ] && ln -sf ${script_dir}/ini-files/supported-systems.ini
[ -e ${relative_path_to_script_dir}/ini-files/environment-specs.ini ] && ln -sf ${relative_path_to_script_dir}/ini-files/environment-specs.ini
[ -e ${relative_path_to_script_dir}/ini-files/supported-systems.ini ] && ln -sf ${relative_path_to_script_dir}/ini-files/supported-systems.ini
fi
ln -sf ${script_dir}/ini-files/supported-envs.ini
ln -sf ${relative_path_to_script_dir}/ini-files/supported-envs.ini
cd - > /dev/null

cd ${script_dir}/GenConfig/ini_files
ln -sf ${script_dir}/ini-files/config-specs.ini
ln -sf ${script_dir}/ini-files/supported-config-flags.ini
relative_path_to_script_dir="../.."
ln -sf ${relative_path_to_script_dir}/ini-files/config-specs.ini
ln -sf ${relative_path_to_script_dir}/ini-files/supported-config-flags.ini

# Print summary of ini file settings
cd ${script_dir}
Expand Down
4 changes: 2 additions & 2 deletions packages/framework/pr_tools/PullRequestLinuxDriverMerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ def merge_branch(source_url, target_branch, sourceSHA):

if sha_exists_as_branch_on_remote:
print_wrapper("REMARK: Detected ref as a remote branch, will merge as such")
check_call_wrapper(['git', 'merge', '--no-edit', "source_remote/" + sourceSHA])
check_call_wrapper(['git', 'merge', '--no-ff', '--no-edit', "source_remote/" + sourceSHA])
else:
check_call_wrapper(['git', 'merge', '--no-edit', sourceSHA])
check_call_wrapper(['git', 'merge', '--no-ff', '--no-edit', sourceSHA])

return 0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def test_mergeBranch_without_source_remote(self):
mock.call(['git', 'fetch', 'origin', 'fake_develop']),
mock.call(['git', 'reset', '--hard', 'HEAD']),
mock.call(['git', 'checkout', '-B', 'fake_develop', 'origin/fake_develop']),
mock.call(['git', 'merge', '--no-edit', 'df324ae']),
mock.call(['git', 'merge', '--no-ff', '--no-edit', 'df324ae']),
])
return

Expand Down Expand Up @@ -199,7 +199,7 @@ def test_mergeBranch_with_source_remote(self, m_check_call):
mock.call(['git', 'fetch', 'origin', 'fake_develop']),
mock.call(['git', 'reset', '--hard', 'HEAD']),
mock.call(['git', 'checkout', '-B', 'fake_develop', 'origin/fake_develop']),
mock.call(['git', 'merge', '--no-edit', 'df324ae']),
mock.call(['git', 'merge', '--no-ff', '--no-edit', 'df324ae']),
])
self.assertIn("git remote exists, removing it", m_stdout.getvalue())
return
Expand Down Expand Up @@ -229,7 +229,7 @@ def test_mergeBranch_ref_is_remote_branch(self, m_check_call):
mock.call(['git', 'fetch', 'origin', 'fake_develop']),
mock.call(['git', 'reset', '--hard', 'HEAD']),
mock.call(['git', 'checkout', '-B', 'fake_develop', 'origin/fake_develop']),
mock.call(['git', 'merge', '--no-edit', 'source_remote/some_ref']),
mock.call(['git', 'merge', '--no-ff', '--no-edit', 'source_remote/some_ref']),
])
self.assertIn("git remote exists, removing it", m_stdout.getvalue())
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3209,6 +3209,7 @@ namespace Ifpack2 {
printf("Start ExtractBCDTag\n");
#endif
Kokkos::deep_copy(e_scalar_values, Kokkos::ArithTraits<btdm_magnitude_type>::zero());
Kokkos::deep_copy(scalar_values_schur, Kokkos::ArithTraits<btdm_magnitude_type>::zero());

write5DMultiVectorValuesToFile(part2packrowidx0_sub.extent(0), e_scalar_values, "e_scalar_values_before_extract.mm");

Expand Down
Loading