diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 9f7d932a..ec2b4ab7 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -111,7 +111,7 @@ jobs: with: submodules: recursive - name: Check ${{ matrix.check_type }} - run: ./scripts/github-actions/linux-check.sh + run: ./scripts/github-actions/linux-check.sh - name: Upload coverage to Codecov if: ${{ matrix.check_type == 'coverage' }} uses: codecov/codecov-action@v4 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 45aa1a31..a5c0d73d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ variables: # Build source and run unit tests. - echo -e "section_start:$(date +%s):src_build_and_unit_test\r\e[0K Source Build and Unit Tests ${CI_PROJECT_NAME}" - - ${ALLOC_COMMAND} python3 scripts/llnl/build_src.py -v --host-config=${HOST_CONFIG} --extra-cmake-options=${EXTRA_CMAKE_OPTIONS} ${EXTRA_BUILD_OPTIONS} + - ${ALLOC_COMMAND} python3 scripts/llnl/build_src.py -v --host-config=${HOST_CONFIG} --extra-cmake-options="${EXTRA_CMAKE_OPTIONS}" ${EXTRA_BUILD_OPTIONS} - echo -e "section_end:$(date +%s):src_build_and_unit_test\r\e[0K" artifacts: expire_in: 2 weeks diff --git a/.gitlab/build_blueos.yml b/.gitlab/build_blueos.yml index b83d15d0..318fe3cf 100644 --- a/.gitlab/build_blueos.yml +++ b/.gitlab/build_blueos.yml @@ -9,9 +9,9 @@ # This is the share configuration of jobs for blueos .on_blueos: variables: - ALLOC_COMMAND: lalloc ${ALLOC_NODES} -W ${ALLOC_TIME} -q pci + SCHEDULER_PARAMETERS: -nnodes ${ALLOC_NODES} -W ${ALLOC_TIME} -q pci -G ${ALLOC_BANK} tags: - - shell + - batch - lassen rules: - if: '$CI_COMMIT_BRANCH =~ /_lnone/ || $ON_BLUEOS == "OFF"' #run except if ... @@ -25,7 +25,7 @@ # like we do in config-build - module load cmake/3.23.1 # Workaround for multiple before_scripts - see https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2301 - # See also https://github.com/LLNL/serac/pull/417#discussion_r631194968 + # See also https://github.com/LLNL/smith/pull/417#discussion_r631194968 - if [[ $CUDA_BUILD == "ON" ]]; then module load cuda/11.8.0; fi #### diff --git a/.gitlab/build_toss4.yml b/.gitlab/build_toss4.yml index 3ea46d67..2b0a4530 100644 --- a/.gitlab/build_toss4.yml +++ b/.gitlab/build_toss4.yml @@ -29,17 +29,18 @@ #### # Build jobs -toss4-clang_19_1_3-src: + +toss4-llvm_19_1_3-src: variables: - COMPILER: "clang@19.1.3" + COMPILER: "llvm@19.1.3" HOST_CONFIG: "dane-toss_4_x86_64_ib-${COMPILER}.cmake" ALLOC_NODES: "1" ALLOC_TIME: "30" extends: .src_build_on_toss4 -toss4-clang_19_1_3-src-release: +toss4-llvm_19_1_3-src-codevelop: variables: - COMPILER: "clang@19.1.3" + COMPILER: "llvm@19.1.3" HOST_CONFIG: "dane-toss_4_x86_64_ib-${COMPILER}.cmake" EXTRA_CMAKE_OPTIONS: "-DCMAKE_BUILD_TYPE=Release" ALLOC_NODES: "1" diff --git a/.gitlab/build_toss4_cray.yml b/.gitlab/build_toss4_cray.yml index bc4e80c5..53cf228f 100644 --- a/.gitlab/build_toss4_cray.yml +++ b/.gitlab/build_toss4_cray.yml @@ -10,9 +10,11 @@ .on_toss4_cray: variables: SCHEDULER_PARAMETERS: "--queue pci --exclusive --time-limit=${ALLOC_TIME}m --nodes=${ALLOC_NODES}" + COMPILER: "llvm-amdgpu@6.4.2" + HOST_CONFIG: "tuolumne-toss_4_x86_64_ib_cray-${COMPILER}_hip.cmake" tags: - batch - - tioga + - tuolumne rules: - if: '$CI_COMMIT_BRANCH =~ /_qnone/ || $ON_TOSS4_CRAY == "OFF"' #run except if ... when: never @@ -27,11 +29,8 @@ #### # Build jobs -toss4_cray-rocmcc_6_2_1-src: +toss4_cray-llvm_amdgpu_6_4_2-src: variables: - COMPILER: "rocmcc@6.2.1" - HOST_CONFIG: "tioga-toss_4_x86_64_ib_cray-${COMPILER}_hip.cmake" ALLOC_NODES: "1" ALLOC_TIME: "30" extends: .src_build_on_toss4_cray - \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 77fb3c7d..e456bb3b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,7 @@ if ("${PROJECT_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}") endif() endforeach() - set(BLT_REQUIRED_CLANGFORMAT_VERSION "14" CACHE STRING "") + set(BLT_REQUIRED_CLANGFORMAT_VERSION "19" CACHE STRING "") endif() include(${BLT_SOURCE_DIR}/SetupBLT.cmake) diff --git a/config-build.py b/config-build.py index 96b3ca12..e67dbf04 100755 --- a/config-build.py +++ b/config-build.py @@ -19,13 +19,13 @@ import shutil import socket -_host_configs_map = {"rzgenie" : "rzwhippet-toss_4_x86_64_ib-clang@14.0.6.cmake", - "rzwhippet" : "rzwhippet-toss_4_x86_64_ib-clang@14.0.6.cmake", +_host_configs_map = {"rzgenie" : "rzwhippet-toss_4_x86_64_ib-llvm@19.1.3.cmake", + "rzwhippet" : "rzwhippet-toss_4_x86_64_ib-llvm@19.1.3.cmake", "rzvernal" : "rzvernal-toss_4_x86_64_ib_cray-rocmcc@6.2.1_hip.cmake", - "rzansel" : "rzansel-blueos_3_ppc64le_ib_p9-clang@14.0.5_cuda.cmake", - "dane" : "dane-toss_4_x86_64_ib-clang@19.1.3.cmake", - "tioga" : "tioga-toss_4_x86_64_ib_cray-rocmcc@6.2.1_hip.cmake", - "lassen" : "lassen-blueos_3_ppc64le_ib_p9-clang@14.0.5_cuda.cmake"} + "rzadams" : "rzadams-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip.cmake", + "dane" : "dane-toss_4_x86_64_ib-llvm@19.1.3.cmake", + "tioga" : "tuolumne-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip.cmake", + "tuolumne" : "tuolumne-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip.cmake"} def get_machine_name(): return socket.gethostname().rstrip('1234567890') diff --git a/host-configs/dane-toss_4_x86_64_ib-clang@19.1.3.cmake b/host-configs/dane-toss_4_x86_64_ib-clang@19.1.3.cmake deleted file mode 100644 index fbde51db..00000000 --- a/host-configs/dane-toss_4_x86_64_ib-clang@19.1.3.cmake +++ /dev/null @@ -1,108 +0,0 @@ -#------------------------------------------------------------------------------ -# !!!! This is a generated file, edit at own risk !!!! -#------------------------------------------------------------------------------ -# CMake executable path: /usr/tce/bin/cmake -#------------------------------------------------------------------------------ - -set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/caliper-2.12.1-nz3lmb4qolrz7prhtoyugz74vnxcihtw;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/enzyme-0.0.180-xleormmofvptlsthvvypxjc6e5plzyh5;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/tribol-0.1.0.19-coiujdfacmhrkyhhuh4mdlpgmrb33si5;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/adiak-0.4.1-7ttshzflnc4rsmmjqmbz2qjfkj3frqek;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/axom-0.10.1.1-hl564w3hrloxikwshaiou2dsj6alreov;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/conduit-0.9.2-yz5fziquxcqrzxsoibtohkjghn3gwqzh;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/mfem-4.8.0.1-rxvsehnommwu2xnvhlsjspsdloukyzsn;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/raja-2024.07.0-yjwvxtexaphdxrgs333gamhjayjkt5eo;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/umpire-2024.07.0-6p3ogm6uegmc7q3snwgsx2qkopyqte6d;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/netcdf-c-4.7.4-ssvz6dnq434dzlcdpes77r2arssoh4bs;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/slepc-3.21.2-3t3zfunwp2hzv2abxlpnrkkcksezed77;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/sundials-6.7.0-dybn2xdbel2rly4ycu6qsopvep4h2dgq;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/camp-2024.07.0-y2oepihweipevkkjgnyhvkw2fs37gpbv;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/fmt-11.0.2-klyhttb7ma3ny2ksm6ywvoorqr6nrhie;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/hdf5-1.8.23-3prkcsqw75gpmqy244zr72uq7s4dnles;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/arpack-ng-3.9.0-jad4rf7jbx6ipiidl65xelgekfy6jxo7;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/petsc-3.21.6-2kazkxzachljuze4z5vspjo7g3ozq3pu;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/hypre-2.26.0-yuzmo7lanmrkn2tefxtkngyestzhp55e;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/strumpack-8.0.0-fu5524rjudtlevyooypmkiochtaakgxt;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/superlu-dist-8.1.2-ges7olrg4fbofm43fij7yalrcmh4lmxy;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/netlib-scalapack-2.2.2-qeorvxwxdo6tahacqg5zqz4dznn5v2vs;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/parmetis-4.0.3-7pxu4ifofsjnj6bpm7v3yyag24adjwze;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/metis-5.1.0-2pu2cesnzoxhc53feelz6xnfos4rz43a;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/python-3.11.7;/usr/tce;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/cppcheck-2.9;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/doxygen-1.9.8;/usr/tce/packages/gcc/gcc-13.3.1;/usr/tce/packages/clang/clang-19.1.3;/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic;/usr/tce/packages/python/python-3.9.12" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") - -set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/serac-develop-akel2pn27dnl7lqngckuhuvcvmghf6qg/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/serac-develop-akel2pn27dnl7lqngckuhuvcvmghf6qg/lib64;;/usr/tce/backend/installations/linux-rhel8-x86_64/gcc-13.3.1/llvm-19.1.3-gy2lu5xbi4csr2k47emlajzfs5mlsd4g/lib/x86_64-unknown-linux-gnu;/opt/rh/gcc-toolset-13/root/lib/gcc/x86_64-redhat-linux/13;/usr/tce/packages/clang/clang-19.1.3/lib;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/serac-develop-akel2pn27dnl7lqngckuhuvcvmghf6qg/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3/serac-develop-akel2pn27dnl7lqngckuhuvcvmghf6qg/lib64;;/usr/tce/backend/installations/linux-rhel8-x86_64/gcc-13.3.1/llvm-19.1.3-gy2lu5xbi4csr2k47emlajzfs5mlsd4g/lib/x86_64-unknown-linux-gnu;/opt/rh/gcc-toolset-13/root/lib/gcc/x86_64-redhat-linux/13;/usr/tce/packages/clang/clang-19.1.3/lib;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") - -set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Compilers -#------------------------------------------------------------------------------ -# Compiler Spec: llvm@19.1.3/bmskmshy3mzlmo37b2pxkt76vqcffxvp -#------------------------------------------------------------------------------ -if(DEFINED ENV{SPACK_CC}) - - set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/clang/clang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/clang/clang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gfortran" CACHE PATH "") - -else() - - set(CMAKE_C_COMPILER "/usr/tce/packages/clang/clang-19.1.3-magic/bin/clang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/usr/tce/packages/clang/clang-19.1.3-magic/bin/clang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/usr/tce/packages/gcc/gcc-13.3.1/bin/gfortran" CACHE PATH "") - -endif() - -set(CMAKE_Fortran_FLAGS "-fPIC" CACHE STRING "") - -#------------------------------------------------------------------------------ -# MPI -#------------------------------------------------------------------------------ - -set(MPI_C_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpicc" CACHE PATH "") - -set(MPI_CXX_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpicxx" CACHE PATH "") - -set(MPI_Fortran_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpif90" CACHE PATH "") - -set(MPIEXEC_NUMPROC_FLAG "-n" CACHE STRING "") - -set(ENABLE_MPI ON CACHE BOOL "") - -set(MPIEXEC_EXECUTABLE "/usr/bin/srun" CACHE PATH "") - -#------------------------------------------------------------------------------ -# Hardware -#------------------------------------------------------------------------------ - -set(ENABLE_OPENMP ON CACHE BOOL "") - -#------------------------------------------------------------------------------ -# Options -#------------------------------------------------------------------------------ - -set(BUILD_REDECOMP ON CACHE BOOL "") - -#------------------------------------------------------------------------------ -# TPLs -#------------------------------------------------------------------------------ - -set(TPL_ROOT "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/llvm-19.1.3" CACHE PATH "") - -set(AXOM_DIR "${TPL_ROOT}/axom-0.10.1.1-hl564w3hrloxikwshaiou2dsj6alreov" CACHE PATH "") - -set(MFEM_DIR "${TPL_ROOT}/mfem-4.8.0.1-rxvsehnommwu2xnvhlsjspsdloukyzsn" CACHE PATH "") - -set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-xleormmofvptlsthvvypxjc6e5plzyh5" CACHE PATH "") - -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-yjwvxtexaphdxrgs333gamhjayjkt5eo" CACHE PATH "") - -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-6p3ogm6uegmc7q3snwgsx2qkopyqte6d" CACHE PATH "") - -#------------------------------------------------------------------------------ -# Devtools -#------------------------------------------------------------------------------ - -set(DEVTOOLS_ROOT "/usr/WS2/smithdev/devtools/toss_4_x86_64_ib/2024_05_30_15_02_20/._view/psk2dcrijss6s4i6qmxplzthrzm3y7nh" CACHE PATH "") - -set(TRIBOL_ENABLE_CODE_CHECKS ON CACHE BOOL "") - -set(ENABLE_CLANGFORMAT ON CACHE BOOL "") - -set(CLANGFORMAT_EXECUTABLE "/usr/tce/packages/clang/clang-14.0.6/bin/clang-format" CACHE PATH "") - -set(CLANGTIDY_EXECUTABLE "/usr/tce/packages/clang/clang-19.1.3/bin/clang-tidy" CACHE PATH "") - -set(TRIBOL_ENABLE_DOCS ON CACHE BOOL "") - -set(SPHINX_EXECUTABLE "${DEVTOOLS_ROOT}/python-3.11.7/bin/sphinx-build" CACHE PATH "") - -set(CPPCHECK_EXECUTABLE "${DEVTOOLS_ROOT}/cppcheck-2.9/bin/cppcheck" CACHE PATH "") - -set(DOXYGEN_EXECUTABLE "${DEVTOOLS_ROOT}/doxygen-1.9.8/bin/doxygen" CACHE PATH "") - - diff --git a/host-configs/dane-toss_4_x86_64_ib-gcc@13.3.1.cmake b/host-configs/dane-toss_4_x86_64_ib-gcc@13.3.1.cmake index 5a5caa8b..84c6ca93 100644 --- a/host-configs/dane-toss_4_x86_64_ib-gcc@13.3.1.cmake +++ b/host-configs/dane-toss_4_x86_64_ib-gcc@13.3.1.cmake @@ -4,13 +4,13 @@ # CMake executable path: /usr/tce/bin/cmake #------------------------------------------------------------------------------ -set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/caliper-2.12.1-nnegy5dckpkmcjxr2d7p3bxftxnp7ugy;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/tribol-0.1.0.19-s27sxpcq3wpunhf3hat37pcgfaopsofg;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/adiak-0.4.1-vcebqioolx5swnh5jh3vofbc7gwxbjnz;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/axom-0.10.1.1-rneru4giv2ewylgebtcf3uk6c37uvd7m;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/conduit-0.9.2-3zjitqyjo5hywwgvoiksoah3vo3xoxpo;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/mfem-4.8.0.1-daspwjx4rrms5tvvurhw44s7ndacpwdq;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/raja-2024.07.0-xgktxoswgbbqcqkrxl5nrfhabqjb7nqi;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/umpire-2024.07.0-2lgp2wihiz7gghci2euzhvj65xbfrgo3;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/netcdf-c-4.7.4-bp24ixl6szluqobec5eicnqm5df6wfmo;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/slepc-3.21.2-6l55bgc7rljc3rgaei5j34ajc6wjstyl;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/sundials-6.7.0-pegrbubvgbbnxgklabb3hq4yeb7jfabc;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/camp-2024.07.0-5hekan5rpn3dzadr3gucz7u5q4cglwwz;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/fmt-11.0.2-usm3fj6qxr75ga5p2ydlhearxsbtpckd;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/hdf5-1.8.23-a5aevsftdqt4quek6v6eluljsazqs6ww;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/arpack-ng-3.9.0-h7azneakjc2bas5pmvzxurdb2zxibeqc;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/petsc-3.21.6-kc675eyn4s5ldwml6rygmvwjmipr5xw7;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/hypre-2.26.0-fip3pi45ru7ao6y4rcjwlrrtmyz56gd2;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/strumpack-8.0.0-nikoevilkmzfxtoywzljgbcpgtpx2s62;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/superlu-dist-8.1.2-l5xmnfrhhqqa7z5hnibp522ceevfibup;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/netlib-scalapack-2.2.2-exloohmk6uv52js7hiy74dkuzdaxgzho;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/parmetis-4.0.3-q4uej3qoobfln5vpx55kpxprhwfxahgz;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/metis-5.1.0-nbxqo5m7iy3uyjd32skqzpa4d5cev2dt;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/python-3.11.7;/usr/tce;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/cppcheck-2.9;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/doxygen-1.9.8;/usr/tce/packages/gcc/gcc-13.3.1;/usr/tce/packages/clang/clang-19.1.3;/usr/tce/packages/mvapich2/mvapich2-2.3.7-gcc-13.3.1-magic;/usr/tce/packages/python/python-3.9.12" CACHE STRING "") +set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/caliper-2.12.1-cg25q356sb7kiuabwtfka4tywsgbtpiu;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/tribol-0.1.0.23-ysqjlxfxls46fsccfvnaw3teuqj7jp3f;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/adiak-0.4.1-2z3ogwq4rmbuwpc5vl2mgxymme4mfbke;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/axom-0.12.0.0-i37xne6rixnhgwrptvzzfbrgcmdryhoo;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/conduit-0.9.5-bb722yzgl4d3g2diyieu73hrkt732qez;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/mfem-4.9.0.2-rnhik76bnx6j6665kwbnzm355av6lpmp;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/raja-2025.09.0-ume2ifdwlyie3yynwdvhyf2uxjykqpvc;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/umpire-2025.09.0-ir2e37p6sqldodud4cwaezspl2co5v42;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/netcdf-c-4.7.4-zslniorcg7ki7lnsimctkn6ig3zg2qaw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/slepc-3.21.2-y7425db4zsffjhcc3d33o2s2pz7w6664;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/sundials-6.7.0-7azsxv7nm2sr5pyi6px6abcdb6l475bv;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/camp-2025.09.2-qei7a63hp4u37cas2m7zte3phmv2fyhd;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/fmt-11.0.2-usm3fj6qxr75ga5p2ydlhearxsbtpckd;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/hdf5-1.8.23-frgmbp2plziqwxwypvemeglz6semjqei;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/arpack-ng-3.9.1-foedq43u27rbxrupjqborfxd47smzuch;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/petsc-3.21.6-jfsq7enjou6z5mzggfqndbmtc3sz3jy2;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/hypre-2.33.0-23ph5bzk62r3tntdn277zrtv6dpmon2n;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/strumpack-8.0.0-zn5qsdclfhyvrubcweeqymoptoqm3vja;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/superlu-dist-8.1.2-quwnz5kk2xb42g3j7vejc6hrq2urngof;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/netlib-scalapack-2.2.2-4utyi6inwwno5hssouh7566hmveptxtb;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/parmetis-4.0.3-c7wowvg6qcowqn53dlxtq4msf5m7tfo7;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/metis-5.1.0-nbxqo5m7iy3uyjd32skqzpa4d5cev2dt;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/python-3.11.7;/usr/tce;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/cppcheck-2.9;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/doxygen-1.9.8;/usr/tce/packages/gcc/gcc-13.3.1;/usr/tce/packages/clang/clang-19.1.3;/usr/tce/packages/mvapich2/mvapich2-2.3.7-gcc-13.3.1-magic;/usr/tce/packages/python/python-3.9.12" CACHE STRING "") set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") -set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/serac-develop-li5aqawkgqnsoolyrhohbjb3ohy66oza/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/serac-develop-li5aqawkgqnsoolyrhohbjb3ohy66oza/lib64;;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") +set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/smith-develop-iijxlgvwfrtse2ytqlu62iwx7b6dvx3v/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/smith-develop-iijxlgvwfrtse2ytqlu62iwx7b6dvx3v/lib64;;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") -set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/serac-develop-li5aqawkgqnsoolyrhohbjb3ohy66oza/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1/serac-develop-li5aqawkgqnsoolyrhohbjb3ohy66oza/lib64;;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") +set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/smith-develop-iijxlgvwfrtse2ytqlu62iwx7b6dvx3v/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1/smith-develop-iijxlgvwfrtse2ytqlu62iwx7b6dvx3v/lib64;;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") @@ -21,11 +21,11 @@ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") #------------------------------------------------------------------------------ if(DEFINED ENV{SPACK_CC}) - set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gcc" CACHE PATH "") + set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gcc" CACHE PATH "") - set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/g++" CACHE PATH "") + set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/g++" CACHE PATH "") - set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gfortran" CACHE PATH "") + set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gfortran" CACHE PATH "") else() @@ -71,17 +71,17 @@ set(BUILD_REDECOMP ON CACHE BOOL "") # TPLs #------------------------------------------------------------------------------ -set(TPL_ROOT "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_28_07_48_43/gcc-13.3.1" CACHE PATH "") +set(TPL_ROOT "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/gcc-13.3.1" CACHE PATH "") -set(AXOM_DIR "${TPL_ROOT}/axom-0.10.1.1-rneru4giv2ewylgebtcf3uk6c37uvd7m" CACHE PATH "") +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-i37xne6rixnhgwrptvzzfbrgcmdryhoo" CACHE PATH "") -set(MFEM_DIR "${TPL_ROOT}/mfem-4.8.0.1-daspwjx4rrms5tvvurhw44s7ndacpwdq" CACHE PATH "") +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-rnhik76bnx6j6665kwbnzm355av6lpmp" CACHE PATH "") # ENZYME not built -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-xgktxoswgbbqcqkrxl5nrfhabqjb7nqi" CACHE PATH "") +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-ume2ifdwlyie3yynwdvhyf2uxjykqpvc" CACHE PATH "") -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-2lgp2wihiz7gghci2euzhvj65xbfrgo3" CACHE PATH "") +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-ir2e37p6sqldodud4cwaezspl2co5v42" CACHE PATH "") #------------------------------------------------------------------------------ # Devtools @@ -93,7 +93,7 @@ set(TRIBOL_ENABLE_CODE_CHECKS ON CACHE BOOL "") set(ENABLE_CLANGFORMAT ON CACHE BOOL "") -set(CLANGFORMAT_EXECUTABLE "/usr/tce/packages/clang/clang-14.0.6/bin/clang-format" CACHE PATH "") +set(CLANGFORMAT_EXECUTABLE "/usr/tce/packages/clang/clang-19.1.3/bin/clang-format" CACHE PATH "") set(CLANGTIDY_EXECUTABLE "/usr/tce/packages/clang/clang-19.1.3/bin/clang-tidy" CACHE PATH "") diff --git a/host-configs/dane-toss_4_x86_64_ib-llvm@19.1.3.cmake b/host-configs/dane-toss_4_x86_64_ib-llvm@19.1.3.cmake new file mode 100644 index 00000000..982ede97 --- /dev/null +++ b/host-configs/dane-toss_4_x86_64_ib-llvm@19.1.3.cmake @@ -0,0 +1,106 @@ +#------------------------------------------------------------------------------ +# !!!! This is a generated file, edit at own risk !!!! +#------------------------------------------------------------------------------ +# CMake executable path: /usr/tce/bin/cmake +#------------------------------------------------------------------------------ + +set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/caliper-2.12.1-z4b5jhgqubkdztt3a7rv472qfyitrwjt;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/tribol-0.1.0.23-oe43csdvi5y3asre3fysjqta7lc54xqj;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/adiak-0.4.1-phz7spqilihsb7voe6ubymle2n43ihrt;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/axom-0.12.0.0-45futx52tz63tfajb4xrtr5uyir33kij;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/conduit-0.9.5-6hyhaouworooemg5ys23cl46qko6hpf7;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/mfem-4.9.0.2-lxmn6iy6khcpe6tizo3ynvvd4hiyktps;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/raja-2025.09.0-zcwyfo2b2rwnxkmdp4c3k43sm3iiwane;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/umpire-2025.09.0-hwbvsapxfvyo4tupsxuhhqcfqd2lzq2r;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/enzyme-0.0.180-7i4qtqo3obdncxmd7x2nxqpsrzscgxoj;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/netcdf-c-4.7.4-p7xuxxst3xxa6wwqftrazpwsu54umxvb;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/slepc-3.21.2-67qm4jsx4ih6thr2ttffvtzdlsttixju;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/sundials-6.7.0-thnhsd6xkzbsuij75tb3344nphzg7wyj;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/camp-2025.09.2-exklmptyvyylyhheouqowazmvdzpf7op;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/fmt-11.0.2-klyhttb7ma3ny2ksm6ywvoorqr6nrhie;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/hdf5-1.8.23-rwzwt3mizlt7inrqhw265xklvlx5w3ju;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/arpack-ng-3.9.1-mcmuyid4s3kp5eugb6wtoly2nnbukfss;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/petsc-3.21.6-7zcj2uxdp25op43kutj6uecnemuq25tf;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/hypre-2.33.0-ebs6zrtqf7mug35yez5i5ceq3zxznv3s;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/strumpack-8.0.0-njongku6aahr4duq3hzznxylsfdeib5v;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/superlu-dist-8.1.2-xz552dtahyxm44unb5ouiubr3teq7gfk;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/netlib-scalapack-2.2.2-dwv5ga3qznko5suqtedb7ulou4mrkuat;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/parmetis-4.0.3-4thtnxv4kii5rl3pnphqgwzbqr5l72xz;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/metis-5.1.0-2pu2cesnzoxhc53feelz6xnfos4rz43a;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/python-3.11.7;/usr/tce;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/cppcheck-2.9;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/doxygen-1.9.8;/usr/tce/packages/gcc/gcc-13.3.1;/usr/tce/packages/clang/clang-19.1.3;/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic;/usr/tce/packages/python/python-3.9.12" CACHE STRING "") + +set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") + +set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/smith-develop-tyymcqxmz2igfxb4wktsdsftctfpesgj/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/smith-develop-tyymcqxmz2igfxb4wktsdsftctfpesgj/lib64;;/usr/tce/backend/installations/linux-rhel8-x86_64/gcc-13.3.1/llvm-19.1.3-gy2lu5xbi4csr2k47emlajzfs5mlsd4g/lib/x86_64-unknown-linux-gnu;/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13;/usr/tce/packages/clang/clang-19.1.3/lib;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") + +set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/smith-develop-tyymcqxmz2igfxb4wktsdsftctfpesgj/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3/smith-develop-tyymcqxmz2igfxb4wktsdsftctfpesgj/lib64;;/usr/tce/backend/installations/linux-rhel8-x86_64/gcc-13.3.1/llvm-19.1.3-gy2lu5xbi4csr2k47emlajzfs5mlsd4g/lib/x86_64-unknown-linux-gnu;/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13;/usr/tce/packages/clang/clang-19.1.3/lib;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") + +set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") + +#------------------------------------------------------------------------------ +# Compilers +#------------------------------------------------------------------------------ +# Compiler Spec: llvm@19.1.3/bmskmshy3mzlmo37b2pxkt76vqcffxvp +#------------------------------------------------------------------------------ +if(DEFINED ENV{SPACK_CC}) + + set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/clang/clang" CACHE PATH "") + + set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/clang/clang++" CACHE PATH "") + + set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gfortran" CACHE PATH "") + +else() + + set(CMAKE_C_COMPILER "/usr/tce/packages/clang/clang-19.1.3-magic/bin/clang" CACHE PATH "") + + set(CMAKE_CXX_COMPILER "/usr/tce/packages/clang/clang-19.1.3-magic/bin/clang++" CACHE PATH "") + + set(CMAKE_Fortran_COMPILER "/usr/tce/packages/gcc/gcc-13.3.1/bin/gfortran" CACHE PATH "") + +endif() + +set(CMAKE_Fortran_FLAGS "-fPIC" CACHE STRING "") + +#------------------------------------------------------------------------------ +# MPI +#------------------------------------------------------------------------------ + +set(MPI_C_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpicc" CACHE PATH "") + +set(MPI_CXX_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpicxx" CACHE PATH "") + +set(MPI_Fortran_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpif90" CACHE PATH "") + +set(MPIEXEC_NUMPROC_FLAG "-n" CACHE STRING "") + +set(ENABLE_MPI ON CACHE BOOL "") + +set(MPIEXEC_EXECUTABLE "/usr/bin/srun" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Hardware +#------------------------------------------------------------------------------ + +set(ENABLE_OPENMP ON CACHE BOOL "") + +#------------------------------------------------------------------------------ +# Options +#------------------------------------------------------------------------------ + +set(BUILD_REDECOMP ON CACHE BOOL "") + +#------------------------------------------------------------------------------ +# TPLs +#------------------------------------------------------------------------------ + +set(TPL_ROOT "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_08/llvm-19.1.3" CACHE PATH "") + +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-45futx52tz63tfajb4xrtr5uyir33kij" CACHE PATH "") + +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-lxmn6iy6khcpe6tizo3ynvvd4hiyktps" CACHE PATH "") + +set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-7i4qtqo3obdncxmd7x2nxqpsrzscgxoj" CACHE PATH "") + +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-zcwyfo2b2rwnxkmdp4c3k43sm3iiwane" CACHE PATH "") + +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-hwbvsapxfvyo4tupsxuhhqcfqd2lzq2r" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Devtools +#------------------------------------------------------------------------------ + +set(DEVTOOLS_ROOT "/usr/WS2/smithdev/devtools/toss_4_x86_64_ib/2024_05_30_15_02_20/._view/psk2dcrijss6s4i6qmxplzthrzm3y7nh" CACHE PATH "") + +set(TRIBOL_ENABLE_CODE_CHECKS ON CACHE BOOL "") + +set(CLANGFORMAT_EXECUTABLE "/usr/tce/packages/clang/clang-19.1.3/bin/clang-format" CACHE PATH "") + +set(CLANGTIDY_EXECUTABLE "/usr/tce/packages/clang/clang-19.1.3/bin/clang-tidy" CACHE PATH "") + +set(TRIBOL_ENABLE_DOCS ON CACHE BOOL "") + +set(SPHINX_EXECUTABLE "${DEVTOOLS_ROOT}/python-3.11.7/bin/sphinx-build" CACHE PATH "") + +set(CPPCHECK_EXECUTABLE "${DEVTOOLS_ROOT}/cppcheck-2.9/bin/cppcheck" CACHE PATH "") + +set(DOXYGEN_EXECUTABLE "${DEVTOOLS_ROOT}/doxygen-1.9.8/bin/doxygen" CACHE PATH "") + + diff --git a/host-configs/lassen-blueos_3_ppc64le_ib_p9-clang@14.0.5_cuda.cmake b/host-configs/lassen-blueos_3_ppc64le_ib_p9-clang@14.0.5_cuda.cmake deleted file mode 100644 index 13cb3f9f..00000000 --- a/host-configs/lassen-blueos_3_ppc64le_ib_p9-clang@14.0.5_cuda.cmake +++ /dev/null @@ -1,138 +0,0 @@ -#------------------------------------------------------------------------------ -# !!!! This is a generated file, edit at own risk !!!! -#------------------------------------------------------------------------------ -# CMake executable path: /usr/tce/packages/cmake/cmake-3.23.1/bin/cmake -#------------------------------------------------------------------------------ - -set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/caliper-2.12.1-n4jaak6u3osmqjbf2qt6lwtnjng43fmq;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/gmake-4.4.1-o2g2qehrdeo43i7y3lzd4p6ezbekfhrn;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/tribol-0.1.0.18-yf6vnroojhfxlfxa7fwtj2mr3ws5jcat;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/adiak-0.4.1-hlb7ba4mnoekzmvendibrqr2hvrqz6dt;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/axom-0.10.1.1-g6cvrthq53bojlsueicedhjjq3ilxmty;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/conduit-0.9.2-2fa6hwnynzqe34zrpwurw6mewojxwrzp;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/lua-5.4.6-hgvexdoqsidugjmnupxe4iff7joyccnn;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/mfem-4.8.0.1-hsowhwz4z7v5ngj4visibps5at6lqnlb;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/raja-2024.07.0-nuqxsjtmy6g3g2eydmsycwkatobkxwbz;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/umpire-2024.07.0-yzyk22tmsor6f3ibszgpbg5wiqcv5fd7;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/ncurses-6.5-ljrsxqnt3h2ophhdamhi7odcbu5wbr65;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/amgx-2.3.0.1-d7l2xyr7ienx5re2jd4jvjbpfkkebd3q;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/netcdf-c-4.7.4-3itjrcqczanznhu4gj6rik4smjqabmj2;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/slepc-3.21.2-275utqtsuh7aky366m6thvtdaztwivp2;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/sundials-6.7.0-nx3m6pq7agdgd3dolhuirzy36rh3scdq;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/camp-2024.07.0-o2nfczodkeclmompfknjetvo5lgu3r3w;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/fmt-11.0.2-qgvefts3qbseiacrfwa7lbome3c2mhbj;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/hdf5-1.8.23-4rh6gbnx3qpu6hip62kmqgnwe4hh3are;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/arpack-ng-3.9.0-o3ccyipqf6y35jf4m43gg65ktirkpufs;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/petsc-3.21.5-ahyrwdmprk2mbrvl7nqdttvudp4affow;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/hypre-2.26.0-r65sfdcpyal6lcn2ghc72vf3crcmsqpe;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/superlu-dist-8.1.2-uxle6vd3ekhfb24derdevj7z74xh57n2;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/parmetis-4.0.3-k4aypuwdbzdsr4mvgwmgdjl7kgboqr6n;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/metis-5.1.0-bqxllm5r7et5pem4wqhqsad5jmiyvrxg;/usr/workspace/smithdev/devtools/blueos_3_ppc64le_ib_p9/latest/python-3.11.7;/usr/workspace/smithdev/devtools/blueos_3_ppc64le_ib_p9/latest/python-3.11.7;/usr/tce/packages/cmake/cmake-3.23.1;/usr/workspace/smithdev/devtools/blueos_3_ppc64le_ib_p9/latest/cppcheck-2.9;/usr/tce/packages/cuda/cuda-11.8.0;/usr/workspace/smithdev/devtools/blueos_3_ppc64le_ib_p9/latest/doxygen-1.9.8;/usr/tce/packages/clang/clang-14.0.5;/usr/tce/packages/python/python-3.8.2;/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-14.0.5-gcc-8.3.1;/usr/tcetmp/packages/lapack/lapack-3.9.0-gcc-7.3.1/lib" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") - -set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/serac-develop-fk2fafws6sd3hbhekqgxxm7gjngln6vq/lib;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/serac-develop-fk2fafws6sd3hbhekqgxxm7gjngln6vq/lib64;;/usr/tce/packages/gcc/gcc-8.3.1/rh/usr/lib/gcc/ppc64le-redhat-linux/8;/usr/tce/packages/clang/clang-ibm-14.0.5/release/lib;/usr/tce/packages/clang/clang-ibm-14.0.5-gcc-8.3.1/release/lib" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/serac-develop-fk2fafws6sd3hbhekqgxxm7gjngln6vq/lib;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5/serac-develop-fk2fafws6sd3hbhekqgxxm7gjngln6vq/lib64;;/usr/tce/packages/gcc/gcc-8.3.1/rh/usr/lib/gcc/ppc64le-redhat-linux/8;/usr/tce/packages/clang/clang-ibm-14.0.5/release/lib;/usr/tce/packages/clang/clang-ibm-14.0.5-gcc-8.3.1/release/lib" CACHE STRING "") - -set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Compilers -#------------------------------------------------------------------------------ -# Compiler Spec: clang@=14.0.5 -#------------------------------------------------------------------------------ -if(DEFINED ENV{SPACK_CC}) - - set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/spack/lib/spack/env/clang/clang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/spack/lib/spack/env/clang/clang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/spack/lib/spack/env/clang/gfortran" CACHE PATH "") - -else() - - set(CMAKE_C_COMPILER "/usr/tce/packages/clang/clang-ibm-14.0.5-gcc-8.3.1/bin/clang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/usr/tce/packages/clang/clang-ibm-14.0.5-gcc-8.3.1/bin/clang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/usr/tce/packages/gcc/gcc-8.3.1/bin/gfortran" CACHE PATH "") - -endif() - -set(CMAKE_C_STANDARD_LIBRARIES "-lgfortran" CACHE STRING "") - -set(CMAKE_CXX_STANDARD_LIBRARIES "-lgfortran" CACHE STRING "") - -set(CMAKE_Fortran_STANDARD_LIBRARIES "-lgfortran" CACHE STRING "") - -#------------------------------------------------------------------------------ -# MPI -#------------------------------------------------------------------------------ - -set(MPI_C_COMPILER "/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-14.0.5-gcc-8.3.1/bin/mpicc" CACHE PATH "") - -set(MPI_CXX_COMPILER "/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-14.0.5-gcc-8.3.1/bin/mpicxx" CACHE PATH "") - -set(MPI_Fortran_COMPILER "/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-14.0.5-gcc-8.3.1/bin/mpif90" CACHE PATH "") - -set(MPIEXEC_EXECUTABLE "/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-14.0.5-gcc-8.3.1/bin/mpirun" CACHE PATH "") - -set(MPIEXEC_NUMPROC_FLAG "-np" CACHE STRING "") - -set(ENABLE_MPI ON CACHE BOOL "") - -set(BLT_MPI_COMMAND_APPEND "mpibind" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Hardware -#------------------------------------------------------------------------------ - -#------------------------------------------------ -# Cuda -#------------------------------------------------ - -set(CUDAToolkit_ROOT "/usr/tce/packages/cuda/cuda-11.8.0" CACHE PATH "") - -set(CMAKE_CUDA_COMPILER "${CUDAToolkit_ROOT}/bin/nvcc" CACHE PATH "") - -set(CMAKE_CUDA_HOST_COMPILER "${CMAKE_CXX_COMPILER}" CACHE PATH "") - -set(CUDA_TOOLKIT_ROOT_DIR "/usr/tce/packages/cuda/cuda-11.8.0" CACHE PATH "") - -set(CMAKE_CUDA_ARCHITECTURES "70" CACHE STRING "") - -set(CMAKE_CUDA_FLAGS "" CACHE STRING "") - -set(ENABLE_OPENMP ON CACHE BOOL "") - -set(ENABLE_CUDA ON CACHE BOOL "") - -set(CMAKE_CUDA_SEPARABLE_COMPILATION ON CACHE BOOL "") - -set(CMAKE_CUDA_FLAGS " ${CMAKE_CUDA_FLAGS} --expt-extended-lambda --expt-relaxed-constexpr " CACHE STRING "" FORCE) - -# nvcc does not like gtest's 'pthreads' flag - -set(gtest_disable_pthreads ON CACHE BOOL "") - -set(BLT_CMAKE_IMPLICIT_LINK_DIRECTORIES_EXCLUDE "/usr/tce/packages/gcc/gcc-4.9.3/lib64;/usr/tce/packages/gcc/gcc-4.9.3/lib64/gcc/powerpc64le-unknown-linux-gnu/4.9.3;/usr/tce/packages/gcc/gcc-4.9.3/gnu/lib64;/usr/tce/packages/gcc/gcc-4.9.3/gnu/lib64/gcc/powerpc64le-unknown-linux-gnu/4.9.3" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Options -#------------------------------------------------------------------------------ - -set(BUILD_REDECOMP ON CACHE BOOL "") - -#------------------------------------------------------------------------------ -# TPLs -#------------------------------------------------------------------------------ - -set(TPL_ROOT "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_50_18/clang-14.0.5" CACHE PATH "") - -set(AXOM_DIR "${TPL_ROOT}/axom-0.10.1.1-g6cvrthq53bojlsueicedhjjq3ilxmty" CACHE PATH "") - -set(MFEM_DIR "${TPL_ROOT}/mfem-4.8.0.1-hsowhwz4z7v5ngj4visibps5at6lqnlb" CACHE PATH "") - -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-nuqxsjtmy6g3g2eydmsycwkatobkxwbz" CACHE PATH "") - -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-yzyk22tmsor6f3ibszgpbg5wiqcv5fd7" CACHE PATH "") - -#------------------------------------------------------------------------------ -# Devtools -#------------------------------------------------------------------------------ - -set(DEVTOOLS_ROOT "/usr/WS2/smithdev/devtools/blueos_3_ppc64le_ib_p9/2024_05_30_15_06_29/._view/p656t53t2lio2ceenu36ffkz6uas6bui" CACHE PATH "") - -set(TRIBOL_ENABLE_CODE_CHECKS ON CACHE BOOL "") - -set(ENABLE_CLANGFORMAT ON CACHE BOOL "") - -set(CLANGFORMAT_EXECUTABLE "/usr/tce/packages/clang/clang-14.0.5/bin/clang-format" CACHE PATH "") - -set(CLANGTIDY_EXECUTABLE "/usr/tce/packages/clang/clang-14.0.5/bin/clang-tidy" CACHE PATH "") - -set(TRIBOL_ENABLE_DOCS ON CACHE BOOL "") - -set(SPHINX_EXECUTABLE "${DEVTOOLS_ROOT}/python-3.11.7/bin/sphinx-build" CACHE PATH "") - -set(DOXYGEN_EXECUTABLE "${DEVTOOLS_ROOT}/doxygen-1.9.8/bin/doxygen" CACHE PATH "") - - diff --git a/host-configs/rzadams-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip.cmake b/host-configs/rzadams-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip.cmake new file mode 100644 index 00000000..f1864581 --- /dev/null +++ b/host-configs/rzadams-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip.cmake @@ -0,0 +1,118 @@ +#------------------------------------------------------------------------------ +# !!!! This is a generated file, edit at own risk !!!! +#------------------------------------------------------------------------------ +# CMake executable path: /usr/tce/bin/cmake +#------------------------------------------------------------------------------ + +set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/caliper-2.12.1-tdt2eikgly5djuxkxoaeoora46pkhg3q;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/tribol-0.1.0.23-n64mpdyt3yvtinp6dhdmmeidrtbtssbo;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/adiak-0.4.1-3pedcs7kfkltks4rbuimessyn2ftkfb7;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/libunwind-1.8.1-ijbnecr6mrnowuwv3khy34jidzh3yyj3;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/axom-0.12.0.0-og5pha7nn5usaq3nm7moptorpjmpwgiw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/conduit-0.9.5-fr6nlivg2q44p2fm7d3twivtsitkrwp4;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/mfem-4.9.0.2-mk5cpr4hsq5tf5tqne5uckm26jmvwcvd;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/hypre-2.33.0-smuq4sfalzokt3xbj3afxcyxdyr737yr;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/netcdf-c-4.7.4-hdvzf6k35jgfv4fto44neg6oka65trbb;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/raja-2025.09.0-mlvvn7h257hluzfwmkgk5qyvvdgcimzr;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/strumpack-8.0.0-hs2yx7rpgcfmescp4tgang2enurkzoyj;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/superlu-dist-8.1.2-j4sdkhw4zt5g7zogpylucmb2adzufpps;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/umpire-2025.09.0-7qtxj2a5ihxb7metqdjot6dxmfof47oe;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/hdf5-1.8.23-hi7eotv4olqrfedxqzy56p3mgfldbpyg;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/netlib-scalapack-2.2.2-a5ef54cb4mvrj7vaia2nssjjiy42fuy6;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/parmetis-4.0.3-5prdk7nqp4ujhc3suytx66t2jkhunia4;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/camp-2025.09.2-3fxmbhyimpvimplr2qvt32giqaom7ymy;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/fmt-11.0.2-7obrzgdsm7vuixhdva7kcl7ut637gmfw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/metis-5.1.0-rvjhpveexfgalsyntmwhkwm6icozu7zg;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/none-none/compiler-wrapper-1.0-gp57b4mbq4ctshuybmbzq62fjybcm5tp;/usr/tce;/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2/llvm;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2" CACHE STRING "") + +set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") + +set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/smith-develop-5s6ssfglpw4ljlyuwzgynzz3qabpygku/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/smith-develop-5s6ssfglpw4ljlyuwzgynzz3qabpygku/lib64;;/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") + +set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/smith-develop-5s6ssfglpw4ljlyuwzgynzz3qabpygku/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2/smith-develop-5s6ssfglpw4ljlyuwzgynzz3qabpygku/lib64;;/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") + +set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") + +#------------------------------------------------------------------------------ +# Compilers +#------------------------------------------------------------------------------ +# Compiler Spec: llvm-amdgpu@6.4.2/5r3ij6vqblq4roanzix4i7qiteyl6gjj +#------------------------------------------------------------------------------ +if(DEFINED ENV{SPACK_CC}) + + set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/none-none/compiler-wrapper-1.0-gp57b4mbq4ctshuybmbzq62fjybcm5tp/libexec/spack/rocmcc/amdclang" CACHE PATH "") + + set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/none-none/compiler-wrapper-1.0-gp57b4mbq4ctshuybmbzq62fjybcm5tp/libexec/spack/rocmcc/amdclang++" CACHE PATH "") + + set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/none-none/compiler-wrapper-1.0-gp57b4mbq4ctshuybmbzq62fjybcm5tp/libexec/spack/rocmcc/amdflang" CACHE PATH "") + +else() + + set(CMAKE_C_COMPILER "/opt/rocm-6.4.2/llvm/bin/amdclang" CACHE PATH "") + + set(CMAKE_CXX_COMPILER "/opt/rocm-6.4.2/llvm/bin/amdclang++" CACHE PATH "") + + set(CMAKE_Fortran_COMPILER "/opt/rocm-6.4.2/llvm/bin/amdflang" CACHE PATH "") + +endif() + +#------------------------------------------------------------------------------ +# MPI +#------------------------------------------------------------------------------ + +set(MPI_C_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.4.2/bin/mpicc" CACHE PATH "") + +set(MPI_CXX_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.4.2/bin/mpicxx" CACHE PATH "") + +set(MPI_Fortran_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.4.2/bin/mpif90" CACHE PATH "") + +set(MPIEXEC_NUMPROC_FLAG "-n" CACHE STRING "") + +set(ENABLE_MPI ON CACHE BOOL "") + +set(MPIEXEC_EXECUTABLE "/usr/global/tools/flux_wrappers/bin/srun" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Hardware +#------------------------------------------------------------------------------ + +#------------------------------------------------ +# ROCm +#------------------------------------------------ + +set(ROCM_PATH "/opt/rocm-6.4.2" CACHE PATH "") + +set(CMAKE_HIP_ARCHITECTURES "gfx90a;gfx942" CACHE STRING "") + +set(CMAKE_HIP_COMPILER "/opt/rocm-6.4.2/llvm/bin/amdclang++" CACHE FILEPATH "") + +set(HIP_ROOT_DIR "/opt/rocm-6.4.2" CACHE PATH "") + +set(AMDGPU_TARGETS "gfx90a;gfx942" CACHE STRING "") + +set(GPU_TARGETS "gfx90a;gfx942" CACHE STRING "") + +set(ENABLE_OPENMP OFF CACHE BOOL "") + +set(ENABLE_HIP ON CACHE BOOL "") + +set(ROCM_ROOT_DIR "/opt/rocm-6.4.2" CACHE PATH "") + +set(CMAKE_EXE_LINKER_FLAGS "-lxpmem -L/opt/cray/pe/mpich/8.1.29/gtl/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.29/gtl/lib -lmpi_gtl_hsa -L/opt/rocm-6.4.2/lib/llvm/lib -Wl,-rpath,/opt/rocm-6.4.2/lib/llvm/lib -L/opt/rocm-6.4.2/lib -Wl,-rpath,/opt/rocm-6.4.2/lib -Wl,--disable-new-dtags -lflang -lflangrti -lamdhip64 -lhsakmt -lhsa-runtime64 -lamd_comgr -lpgmath -lhipblas" CACHE STRING "") + +#------------------------------------------------------------------------------ +# Options +#------------------------------------------------------------------------------ + +set(BUILD_REDECOMP ON CACHE BOOL "") + +#------------------------------------------------------------------------------ +# TPLs +#------------------------------------------------------------------------------ + +set(TPL_ROOT "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_17_51_24/llvm-amdgpu-6.4.2" CACHE PATH "") + +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-og5pha7nn5usaq3nm7moptorpjmpwgiw" CACHE PATH "") + +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-mk5cpr4hsq5tf5tqne5uckm26jmvwcvd" CACHE PATH "") + +# enzyme not built + +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-mlvvn7h257hluzfwmkgk5qyvvdgcimzr" CACHE PATH "") + +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-7qtxj2a5ihxb7metqdjot6dxmfof47oe" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Devtools +#------------------------------------------------------------------------------ + +# Code checks disabled due to disabled devtools + +set(TRIBOL_ENABLE_CODE_CHECKS OFF CACHE BOOL "") + +set(ENABLE_CLANGFORMAT OFF CACHE BOOL "") + +set(TRIBOL_ENABLE_DOCS OFF CACHE BOOL "") + + diff --git a/host-configs/rzansel-blueos_3_ppc64le_ib_p9-clang@14.0.5_cuda.cmake b/host-configs/rzansel-blueos_3_ppc64le_ib_p9-clang@14.0.5_cuda.cmake deleted file mode 100644 index 2a99ea34..00000000 --- a/host-configs/rzansel-blueos_3_ppc64le_ib_p9-clang@14.0.5_cuda.cmake +++ /dev/null @@ -1,140 +0,0 @@ -#------------------------------------------------------------------------------ -# !!!! This is a generated file, edit at own risk !!!! -#------------------------------------------------------------------------------ -# CMake executable path: /usr/tce/packages/cmake/cmake-3.23.1/bin/cmake -#------------------------------------------------------------------------------ - -set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/caliper-2.12.1-n4jaak6u3osmqjbf2qt6lwtnjng43fmq;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/gmake-4.4.1-o2g2qehrdeo43i7y3lzd4p6ezbekfhrn;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/tribol-0.1.0.18-yf6vnroojhfxlfxa7fwtj2mr3ws5jcat;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/adiak-0.4.1-hlb7ba4mnoekzmvendibrqr2hvrqz6dt;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/axom-0.10.1.1-g6cvrthq53bojlsueicedhjjq3ilxmty;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/conduit-0.9.2-2fa6hwnynzqe34zrpwurw6mewojxwrzp;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/lua-5.4.6-hgvexdoqsidugjmnupxe4iff7joyccnn;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/mfem-4.8.0.1-hsowhwz4z7v5ngj4visibps5at6lqnlb;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/raja-2024.07.0-nuqxsjtmy6g3g2eydmsycwkatobkxwbz;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/umpire-2024.07.0-yzyk22tmsor6f3ibszgpbg5wiqcv5fd7;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/ncurses-6.5-ljrsxqnt3h2ophhdamhi7odcbu5wbr65;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/amgx-2.3.0.1-d7l2xyr7ienx5re2jd4jvjbpfkkebd3q;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/netcdf-c-4.7.4-3itjrcqczanznhu4gj6rik4smjqabmj2;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/slepc-3.21.2-275utqtsuh7aky366m6thvtdaztwivp2;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/sundials-6.7.0-nx3m6pq7agdgd3dolhuirzy36rh3scdq;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/camp-2024.07.0-o2nfczodkeclmompfknjetvo5lgu3r3w;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/fmt-11.0.2-qgvefts3qbseiacrfwa7lbome3c2mhbj;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/hdf5-1.8.23-4rh6gbnx3qpu6hip62kmqgnwe4hh3are;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/arpack-ng-3.9.0-o3ccyipqf6y35jf4m43gg65ktirkpufs;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/petsc-3.21.5-ahyrwdmprk2mbrvl7nqdttvudp4affow;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/hypre-2.26.0-r65sfdcpyal6lcn2ghc72vf3crcmsqpe;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/superlu-dist-8.1.2-uxle6vd3ekhfb24derdevj7z74xh57n2;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/parmetis-4.0.3-k4aypuwdbzdsr4mvgwmgdjl7kgboqr6n;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/metis-5.1.0-bqxllm5r7et5pem4wqhqsad5jmiyvrxg;/usr/workspace/smithdev/devtools/blueos_3_ppc64le_ib_p9/latest/python-3.11.7;/usr/workspace/smithdev/devtools/blueos_3_ppc64le_ib_p9/latest/python-3.11.7;/usr/tce/packages/cmake/cmake-3.23.1;/usr/workspace/smithdev/devtools/blueos_3_ppc64le_ib_p9/latest/cppcheck-2.9;/usr/tce/packages/cuda/cuda-11.8.0;/usr/workspace/smithdev/devtools/blueos_3_ppc64le_ib_p9/latest/doxygen-1.9.8;/usr/tce/packages/clang/clang-14.0.5;/usr/tce/packages/python/python-3.8.2;/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-14.0.5-gcc-8.3.1;/usr/tcetmp/packages/lapack/lapack-3.9.0-gcc-7.3.1/lib" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") - -set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/serac-develop-fk2fafws6sd3hbhekqgxxm7gjngln6vq/lib;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/serac-develop-fk2fafws6sd3hbhekqgxxm7gjngln6vq/lib64;;/usr/tce/packages/gcc/gcc-8.3.1/rh/usr/lib/gcc/ppc64le-redhat-linux/8;/usr/tce/packages/clang/clang-ibm-14.0.5/release/lib;/usr/tce/packages/clang/clang-ibm-14.0.5-gcc-8.3.1/release/lib" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/serac-develop-fk2fafws6sd3hbhekqgxxm7gjngln6vq/lib;/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5/serac-develop-fk2fafws6sd3hbhekqgxxm7gjngln6vq/lib64;;/usr/tce/packages/gcc/gcc-8.3.1/rh/usr/lib/gcc/ppc64le-redhat-linux/8;/usr/tce/packages/clang/clang-ibm-14.0.5/release/lib;/usr/tce/packages/clang/clang-ibm-14.0.5-gcc-8.3.1/release/lib" CACHE STRING "") - -set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Compilers -#------------------------------------------------------------------------------ -# Compiler Spec: clang@=14.0.5 -#------------------------------------------------------------------------------ -if(DEFINED ENV{SPACK_CC}) - - set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/spack/lib/spack/env/clang/clang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/spack/lib/spack/env/clang/clang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/spack/lib/spack/env/clang/gfortran" CACHE PATH "") - -else() - - set(CMAKE_C_COMPILER "/usr/tce/packages/clang/clang-ibm-14.0.5-gcc-8.3.1/bin/clang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/usr/tce/packages/clang/clang-ibm-14.0.5-gcc-8.3.1/bin/clang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/usr/tce/packages/gcc/gcc-8.3.1/bin/gfortran" CACHE PATH "") - -endif() - -set(CMAKE_C_STANDARD_LIBRARIES "-lgfortran" CACHE STRING "") - -set(CMAKE_CXX_STANDARD_LIBRARIES "-lgfortran" CACHE STRING "") - -set(CMAKE_Fortran_STANDARD_LIBRARIES "-lgfortran" CACHE STRING "") - -#------------------------------------------------------------------------------ -# MPI -#------------------------------------------------------------------------------ - -set(MPI_C_COMPILER "/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-14.0.5-gcc-8.3.1/bin/mpicc" CACHE PATH "") - -set(MPI_CXX_COMPILER "/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-14.0.5-gcc-8.3.1/bin/mpicxx" CACHE PATH "") - -set(MPI_Fortran_COMPILER "/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-14.0.5-gcc-8.3.1/bin/mpif90" CACHE PATH "") - -set(MPIEXEC_EXECUTABLE "/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-clang-14.0.5-gcc-8.3.1/bin/mpirun" CACHE PATH "") - -set(MPIEXEC_NUMPROC_FLAG "-np" CACHE STRING "") - -set(ENABLE_MPI ON CACHE BOOL "") - -set(BLT_MPI_COMMAND_APPEND "mpibind" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Hardware -#------------------------------------------------------------------------------ - -#------------------------------------------------ -# Cuda -#------------------------------------------------ - -set(CUDAToolkit_ROOT "/usr/tce/packages/cuda/cuda-11.8.0" CACHE PATH "") - -set(CMAKE_CUDA_COMPILER "${CUDAToolkit_ROOT}/bin/nvcc" CACHE PATH "") - -set(CMAKE_CUDA_HOST_COMPILER "${CMAKE_CXX_COMPILER}" CACHE PATH "") - -set(CUDA_TOOLKIT_ROOT_DIR "/usr/tce/packages/cuda/cuda-11.8.0" CACHE PATH "") - -set(CMAKE_CUDA_ARCHITECTURES "70" CACHE STRING "") - -set(CMAKE_CUDA_FLAGS "" CACHE STRING "") - -set(ENABLE_OPENMP ON CACHE BOOL "") - -set(ENABLE_CUDA ON CACHE BOOL "") - -set(CMAKE_CUDA_SEPARABLE_COMPILATION ON CACHE BOOL "") - -set(CMAKE_CUDA_FLAGS " ${CMAKE_CUDA_FLAGS} --expt-extended-lambda --expt-relaxed-constexpr " CACHE STRING "" FORCE) - -# nvcc does not like gtest's 'pthreads' flag - -set(gtest_disable_pthreads ON CACHE BOOL "") - -set(BLT_CMAKE_IMPLICIT_LINK_DIRECTORIES_EXCLUDE "/usr/tce/packages/gcc/gcc-4.9.3/lib64;/usr/tce/packages/gcc/gcc-4.9.3/lib64/gcc/powerpc64le-unknown-linux-gnu/4.9.3;/usr/tce/packages/gcc/gcc-4.9.3/gnu/lib64;/usr/tce/packages/gcc/gcc-4.9.3/gnu/lib64/gcc/powerpc64le-unknown-linux-gnu/4.9.3" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Options -#------------------------------------------------------------------------------ - -set(BUILD_REDECOMP ON CACHE BOOL "") - -#------------------------------------------------------------------------------ -# TPLs -#------------------------------------------------------------------------------ - -set(TPL_ROOT "/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2025_04_16_13_46_58/clang-14.0.5" CACHE PATH "") - -set(AXOM_DIR "${TPL_ROOT}/axom-0.10.1.1-g6cvrthq53bojlsueicedhjjq3ilxmty" CACHE PATH "") - -set(MFEM_DIR "${TPL_ROOT}/mfem-4.8.0.1-hsowhwz4z7v5ngj4visibps5at6lqnlb" CACHE PATH "") - -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-nuqxsjtmy6g3g2eydmsycwkatobkxwbz" CACHE PATH "") - -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-yzyk22tmsor6f3ibszgpbg5wiqcv5fd7" CACHE PATH "") - -#------------------------------------------------------------------------------ -# Devtools -#------------------------------------------------------------------------------ - -set(DEVTOOLS_ROOT "/usr/WS2/smithdev/devtools/blueos_3_ppc64le_ib_p9/2024_05_30_15_10_11/._view/2yqkkl63im63yw53skuuoodsrqah2vof" CACHE PATH "") - -set(TRIBOL_ENABLE_CODE_CHECKS ON CACHE BOOL "") - -set(ENABLE_CLANGFORMAT ON CACHE BOOL "") - -set(CLANGFORMAT_EXECUTABLE "/usr/tce/packages/clang/clang-14.0.5/bin/clang-format" CACHE PATH "") - -set(CLANGTIDY_EXECUTABLE "/usr/tce/packages/clang/clang-14.0.5/bin/clang-tidy" CACHE PATH "") - -set(TRIBOL_ENABLE_DOCS ON CACHE BOOL "") - -set(SPHINX_EXECUTABLE "${DEVTOOLS_ROOT}/python-3.11.7/bin/sphinx-build" CACHE PATH "") - -set(CPPCHECK_EXECUTABLE "${DEVTOOLS_ROOT}/cppcheck-2.9/bin/cppcheck" CACHE PATH "") - -set(DOXYGEN_EXECUTABLE "${DEVTOOLS_ROOT}/doxygen-1.9.8/bin/doxygen" CACHE PATH "") - - diff --git a/host-configs/rzvernal-toss_4_x86_64_ib_cray-rocmcc@6.2.1_hip.cmake b/host-configs/rzvernal-toss_4_x86_64_ib_cray-rocmcc@6.2.1_hip.cmake deleted file mode 100644 index 6f03f649..00000000 --- a/host-configs/rzvernal-toss_4_x86_64_ib_cray-rocmcc@6.2.1_hip.cmake +++ /dev/null @@ -1,114 +0,0 @@ -#------------------------------------------------------------------------------ -# !!!! This is a generated file, edit at own risk !!!! -#------------------------------------------------------------------------------ -# CMake executable path: /usr/tce/bin/cmake -#------------------------------------------------------------------------------ - -set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/caliper-2.12.1-h2elmogt2mtorvunf67jrcxqdcrzjjem;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/tribol-0.1.0.18-neize4eyd3wxmeuui44az2x5ecqfe2pd;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/adiak-0.4.1-djvwhzv7uucbw342y2lxn6mjv4onnzeh;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/libunwind-1.8.1-667lulihqw77lixyhoyezlqadqmw3ufq;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/axom-0.10.1.1-4udyvzqnaoic74uv3zcumyguv5mbqqcg;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/conduit-0.9.2-wo23sn3yekayvxjphe2eu4vvmvkqrovj;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/mfem-4.8.0.1-s6vr55m7kq5gylxswlaqy5usltbrslzd;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/raja-2024.07.0-m322mdffprdfso4vg7iox3n5goelhtyp;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/umpire-2024.07.0-h4aizqln4js5uo6o5dnkkjadcq5apw37;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/netcdf-c-4.7.4-m3moxxpcdu3id35a6ib662pmcpe6hlxt;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/strumpack-8.0.0-w5kwnpidy7gzm4q2kplzw7ip2hebkojg;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/sundials-6.7.0-ihjcn5jozjo6hqxvueljdahsvpg4fpyr;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/superlu-dist-8.1.2-ulxns2zfpqyuezhrgxjh7do45ezer2m5;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/camp-2024.07.0-223y52kngyoyilxr7gz3i4pe5btnm5uq;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/fmt-11.0.2-haismsyfch472jneh7tj5hoz5faug2wp;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/hdf5-1.8.23-zhqxrmbx5hqezzazejozk5l7wuz3ijx6;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/netlib-scalapack-2.2.2-zinikcerv4cwfrzt4kbhby6xm76fjmvq;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/hypre-2.26.0-sffmaz74r5zmnzir6l73deslw36yypsh;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/parmetis-4.0.3-7o2cbbpbawncpn24yftcj24gbopz4aev;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/metis-5.1.0-q4s4zr5oj2vsyc4eqjy22wrwndgb4fnh;/usr/tce;/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.2.1;/opt/rocm-6.2.1;/opt/rocm-6.2.1;/opt/rocm-6.2.1;/opt/rocm-6.2.1/llvm;/opt/rocm-6.2.1;/opt/rocm-6.2.1;/opt/rocm-6.2.1;/opt/rocm-6.2.1" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") - -set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/serac-develop-og4fmn5dkubewiybduaji237suiuzssb/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/serac-develop-og4fmn5dkubewiybduaji237suiuzssb/lib64;;/opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/serac-develop-og4fmn5dkubewiybduaji237suiuzssb/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1/serac-develop-og4fmn5dkubewiybduaji237suiuzssb/lib64;;/opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12" CACHE STRING "") - -set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Compilers -#------------------------------------------------------------------------------ -# Compiler Spec: rocmcc@=6.2.1 -#------------------------------------------------------------------------------ -if(DEFINED ENV{SPACK_CC}) - - set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/spack/lib/spack/env/rocmcc/amdclang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/spack/lib/spack/env/rocmcc/amdclang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/spack/lib/spack/env/rocmcc/amdflang" CACHE PATH "") - -else() - - set(CMAKE_C_COMPILER "/opt/rocm-6.2.1/llvm/bin/amdclang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/opt/rocm-6.2.1/llvm/bin/amdclang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/opt/rocm-6.2.1/llvm/bin/amdflang" CACHE PATH "") - -endif() - -#------------------------------------------------------------------------------ -# MPI -#------------------------------------------------------------------------------ - -set(MPI_C_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.2.1/bin/mpicc" CACHE PATH "") - -set(MPI_CXX_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.2.1/bin/mpicxx" CACHE PATH "") - -set(MPI_Fortran_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.2.1/bin/mpif90" CACHE PATH "") - -set(MPIEXEC_NUMPROC_FLAG "-n" CACHE STRING "") - -set(ENABLE_MPI ON CACHE BOOL "") - -set(MPIEXEC_EXECUTABLE "/usr/global/tools/flux_wrappers/bin/srun" CACHE PATH "") - -#------------------------------------------------------------------------------ -# Hardware -#------------------------------------------------------------------------------ - -#------------------------------------------------ -# ROCm -#------------------------------------------------ - -set(HIP_ROOT_DIR "/opt/rocm-6.2.1" CACHE PATH "") - -set(CMAKE_HIP_COMPILER "/opt/rocm-6.2.1/llvm/bin/clang++" CACHE FILEPATH "") - -set(CMAKE_HIP_ARCHITECTURES "gfx90a" CACHE STRING "") - -set(AMDGPU_TARGETS "gfx90a" CACHE STRING "") - -set(GPU_TARGETS "gfx90a" CACHE STRING "") - -set(ENABLE_OPENMP OFF CACHE BOOL "") - -set(ENABLE_HIP ON CACHE BOOL "") - -set(ROCM_PATH "/opt/rocm-6.2.1" CACHE PATH "") - -set(CMAKE_EXE_LINKER_FLAGS "-L/opt/rocm-6.2.1/lib -Wl,-rpath,/opt/rocm-6.2.1/lib -L/opt/rocm-6.2.1/llvm/lib -Wl,-rpath,/opt/rocm-6.2.1/llvm/lib -lxpmem -L/opt/cray/pe/mpich/8.1.29/gtl/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.29/gtl/lib -lmpi_gtl_hsa -Wl,--disable-new-dtags -lflang -lflangrti -lamdhip64 -lhsakmt -lhsa-runtime64 -lamd_comgr -lpgmath -lhipblas" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Options -#------------------------------------------------------------------------------ - -set(BUILD_REDECOMP ON CACHE BOOL "") - -#------------------------------------------------------------------------------ -# TPLs -#------------------------------------------------------------------------------ - -set(TPL_ROOT "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_43/rocmcc-6.2.1" CACHE PATH "") - -set(AXOM_DIR "${TPL_ROOT}/axom-0.10.1.1-4udyvzqnaoic74uv3zcumyguv5mbqqcg" CACHE PATH "") - -set(MFEM_DIR "${TPL_ROOT}/mfem-4.8.0.1-s6vr55m7kq5gylxswlaqy5usltbrslzd" CACHE PATH "") - -set(ENZYME_DIR "/usr/WS2/smithdev/toss_4_x86_64_ib_cray/rocm-6.2.1/enzyme/0.0.180" CACHE PATH "") - -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-m322mdffprdfso4vg7iox3n5goelhtyp" CACHE PATH "") - -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-h4aizqln4js5uo6o5dnkkjadcq5apw37" CACHE PATH "") - -#------------------------------------------------------------------------------ -# Devtools -#------------------------------------------------------------------------------ - -# Code checks disabled due to disabled devtools - -set(TRIBOL_ENABLE_CODE_CHECKS OFF CACHE BOOL "") - -set(ENABLE_CLANGFORMAT OFF CACHE BOOL "") - -set(TRIBOL_ENABLE_DOCS OFF CACHE BOOL "") diff --git a/host-configs/rzwhippet-toss_4_x86_64_ib-clang@19.1.3.cmake b/host-configs/rzwhippet-toss_4_x86_64_ib-clang@19.1.3.cmake deleted file mode 100644 index 63ae7207..00000000 --- a/host-configs/rzwhippet-toss_4_x86_64_ib-clang@19.1.3.cmake +++ /dev/null @@ -1,107 +0,0 @@ -#------------------------------------------------------------------------------ -# !!!! This is a generated file, edit at own risk !!!! -#------------------------------------------------------------------------------ -# CMake executable path: /usr/tce/bin/cmake -#------------------------------------------------------------------------------ - -set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/caliper-2.12.1-u4ltl47ya4lwqdus4fy7tip57eezhnci;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/enzyme-0.0.180-4inppos4wqta26wwlf5likb7flqzrhl4;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/tribol-0.1.0.19-2jz6zkfs3ya2bvzurdjqwfqtzrtebuj6;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/adiak-0.4.1-cn4bq3qjl5ogfbqzgskobk3x7kcu67my;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/axom-0.10.1.1-gv4sodgtibad2zwwdim3yq47vszpqgju;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/conduit-0.9.2-wjjgr7f4m6xxufcbmsp3blwhxvq46j3y;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/mfem-4.8.0.1-kjwyuu6bnuqkpk72fvx3txro7wjwfvdw;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/raja-2024.07.0-3cj3iduknjazweq55kvwepqtgkphfkgs;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/umpire-2024.07.0-stflr2ni6zllck5kpygrg7rgnaeyagth;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/netcdf-c-4.7.4-re25s3ahi4ifhcniagx4pfwgjmb4vaxt;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/slepc-3.21.2-gtt47e6ax4rw7ngcwe65iqvc63jeh3ep;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/sundials-6.7.0-zfqmsfjob6bd6gutzpzgvuqqlormkrkm;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/camp-2024.07.0-wn3u5emvivpjmzlnb4v5tqgdmabazigx;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/fmt-11.0.2-oi7626esk5lha7aa52uss2i4ekki5qw7;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/hdf5-1.8.23-w2uk7tmrgg2avj6yiqw664qnq6v7uhqp;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/arpack-ng-3.9.0-tayvwaa3awvvdkszsi7mzrjcgz4plier;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/petsc-3.21.6-kuyc6m7qsillpcqv6bkrz7z6g4wlrc42;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/hypre-2.26.0-saterxtwplhc7kgt5ck3lgesza74hi77;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/strumpack-8.0.0-hfn26j2urqbq33myiqydzlz7ikbtomeq;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/superlu-dist-8.1.2-dvicsjso67ifowuertmjjxzilnu4tmi5;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/netlib-scalapack-2.2.2-xcw7da4aoles6pcgwyqq3cqor6rztrmf;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/parmetis-4.0.3-44d6tmzcfbzqzvizowgiknpe7ajk4f3a;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/metis-5.1.0-fr5rc4ei3az6v6rb5y6tullezokgq2dc;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/none-none/compiler-wrapper-1.0-yxdwep4jkd7nmmo75thneajpuwjzruw3;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/python-3.11.7;/usr/tce;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/cppcheck-2.9;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/doxygen-1.9.8;/usr/tce/packages/gcc/gcc-13.3.1;/usr/tce/packages/clang/clang-19.1.3;/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic;/usr/tce/packages/python/python-3.9.12" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") - -set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/serac-develop-nnfpihspxosnyq3nnepyvofuytha7y7k/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/serac-develop-nnfpihspxosnyq3nnepyvofuytha7y7k/lib64;;/usr/tce/backend/installations/linux-rhel8-x86_64/gcc-13.3.1/llvm-19.1.3-gy2lu5xbi4csr2k47emlajzfs5mlsd4g/lib/x86_64-unknown-linux-gnu;/opt/rh/gcc-toolset-13/root/lib/gcc/x86_64-redhat-linux/13;/usr/tce/packages/clang/clang-19.1.3/lib;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/serac-develop-nnfpihspxosnyq3nnepyvofuytha7y7k/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3/serac-develop-nnfpihspxosnyq3nnepyvofuytha7y7k/lib64;;/usr/tce/backend/installations/linux-rhel8-x86_64/gcc-13.3.1/llvm-19.1.3-gy2lu5xbi4csr2k47emlajzfs5mlsd4g/lib/x86_64-unknown-linux-gnu;/opt/rh/gcc-toolset-13/root/lib/gcc/x86_64-redhat-linux/13;/usr/tce/packages/clang/clang-19.1.3/lib;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") - -set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Compilers -#------------------------------------------------------------------------------ -# Compiler Spec: llvm@19.1.3/bmskmshy3mzlmo37b2pxkt76vqcffxvp -#------------------------------------------------------------------------------ -if(DEFINED ENV{SPACK_CC}) - - set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/none-none/compiler-wrapper-1.0-yxdwep4jkd7nmmo75thneajpuwjzruw3/libexec/spack/clang/clang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/none-none/compiler-wrapper-1.0-yxdwep4jkd7nmmo75thneajpuwjzruw3/libexec/spack/clang/clang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/none-none/compiler-wrapper-1.0-yxdwep4jkd7nmmo75thneajpuwjzruw3/libexec/spack/gcc/gfortran" CACHE PATH "") - -else() - - set(CMAKE_C_COMPILER "/usr/tce/packages/clang/clang-19.1.3-magic/bin/clang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/usr/tce/packages/clang/clang-19.1.3-magic/bin/clang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/usr/tce/packages/gcc/gcc-13.3.1/bin/gfortran" CACHE PATH "") - -endif() - -set(CMAKE_Fortran_FLAGS "-fPIC" CACHE STRING "") - -#------------------------------------------------------------------------------ -# MPI -#------------------------------------------------------------------------------ - -set(MPI_C_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpicc" CACHE PATH "") - -set(MPI_CXX_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpicxx" CACHE PATH "") - -set(MPI_Fortran_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpif90" CACHE PATH "") - -set(MPIEXEC_NUMPROC_FLAG "-n" CACHE STRING "") - -set(ENABLE_MPI ON CACHE BOOL "") - -set(MPIEXEC_EXECUTABLE "/usr/bin/srun" CACHE PATH "") - -#------------------------------------------------------------------------------ -# Hardware -#------------------------------------------------------------------------------ - -set(ENABLE_OPENMP ON CACHE BOOL "") - -#------------------------------------------------------------------------------ -# Options -#------------------------------------------------------------------------------ - -set(BUILD_REDECOMP ON CACHE BOOL "") - -#------------------------------------------------------------------------------ -# TPLs -#------------------------------------------------------------------------------ - -set(TPL_ROOT "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/llvm-19.1.3" CACHE PATH "") - -set(AXOM_DIR "${TPL_ROOT}/axom-0.10.1.1-gv4sodgtibad2zwwdim3yq47vszpqgju" CACHE PATH "") - -set(MFEM_DIR "${TPL_ROOT}/mfem-4.8.0.1-kjwyuu6bnuqkpk72fvx3txro7wjwfvdw" CACHE PATH "") - -set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-4inppos4wqta26wwlf5likb7flqzrhl4" CACHE PATH "") - -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-3cj3iduknjazweq55kvwepqtgkphfkgs" CACHE PATH "") - -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-stflr2ni6zllck5kpygrg7rgnaeyagth" CACHE PATH "") - -#------------------------------------------------------------------------------ -# Devtools -#------------------------------------------------------------------------------ - -set(DEVTOOLS_ROOT "/usr/WS2/smithdev/devtools/toss_4_x86_64_ib/2024_05_30_15_09_55/._view/rkqkran3ydsuprr2wip5pdnz5wh7xwnr" CACHE PATH "") - -set(TRIBOL_ENABLE_CODE_CHECKS ON CACHE BOOL "") - -set(ENABLE_CLANGFORMAT ON CACHE BOOL "") - -set(CLANGFORMAT_EXECUTABLE "/usr/tce/packages/clang/clang-14.0.6/bin/clang-format" CACHE PATH "") - -set(CLANGTIDY_EXECUTABLE "/usr/tce/packages/clang/clang-19.1.3/bin/clang-tidy" CACHE PATH "") - -set(TRIBOL_ENABLE_DOCS ON CACHE BOOL "") - -set(SPHINX_EXECUTABLE "${DEVTOOLS_ROOT}/python-3.11.7/bin/sphinx-build" CACHE PATH "") - -set(CPPCHECK_EXECUTABLE "${DEVTOOLS_ROOT}/cppcheck-2.9/bin/cppcheck" CACHE PATH "") - -set(DOXYGEN_EXECUTABLE "${DEVTOOLS_ROOT}/doxygen-1.9.8/bin/doxygen" CACHE PATH "") - diff --git a/host-configs/rzwhippet-toss_4_x86_64_ib-gcc@13.3.1.cmake b/host-configs/rzwhippet-toss_4_x86_64_ib-gcc@13.3.1.cmake index 3c431bd1..9574236a 100644 --- a/host-configs/rzwhippet-toss_4_x86_64_ib-gcc@13.3.1.cmake +++ b/host-configs/rzwhippet-toss_4_x86_64_ib-gcc@13.3.1.cmake @@ -4,13 +4,13 @@ # CMake executable path: /usr/tce/bin/cmake #------------------------------------------------------------------------------ -set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/caliper-2.12.1-ey2kopr5qlpuutqvx3qnbjh4wq5ofbff;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/tribol-0.1.0.19-fipns3lh4m4qj265yui4p2xeyqchfj63;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/adiak-0.4.1-gdrinv73upvej6r75b7eocymhkvoyvib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/axom-0.10.1.1-pbefzqlb4uqp54sz4rmiq2k57p2j7hwx;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/conduit-0.9.2-y4jorrobbxmxsoayktqlbisgrdeyf6vf;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/mfem-4.8.0.1-iljy7j7rclxvtjdtmaujnjuaowsvommq;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/raja-2024.07.0-p5b5jdglfzyvsm4454vyvoefmr7dnmpj;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/umpire-2024.07.0-xwhcedrqoi3bib7jrnzy5xfodli25sax;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/netcdf-c-4.7.4-2bhqmds67wrruptf7dij3mklsgkgp6l7;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/slepc-3.21.2-w2j332vl53jmphcki45xiu5xp42nwzlx;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/sundials-6.7.0-zimb25qym4e3ei5q2izfikrsdtnp7k4x;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/camp-2024.07.0-4kltblapqoaz5veugz5lf7m5b2govnt6;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/fmt-11.0.2-wmsfm4jzzhcaepaab64ucvigkmpqbhsn;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/hdf5-1.8.23-dhyhfrkpol3avvrd4d4t34b6bmtt65m4;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/arpack-ng-3.9.0-4ln5vougvjertihfiengbhzv5m4woccz;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/petsc-3.21.6-vej3dxrg3z6swjzk3or6yufn4n6xvnbw;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/hypre-2.26.0-pgnscc2ivu6civp5ku5igfos6n7nyzzr;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/strumpack-8.0.0-lclahgyw5vpik3sv6zp7nbo6mrwe2w6q;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/superlu-dist-8.1.2-qxgliz2632ipg5fjdupcrwgyj6ftu5bq;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/netlib-scalapack-2.2.2-5day2ghlv7tnchetsihnoqlep2yqmj6u;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/parmetis-4.0.3-jq43bqqqhbfwrtmvwkcofkemzv5gvrrr;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/metis-5.1.0-6vwyo5wuwjtazlg2bqaz6qkf4fyn64cs;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/none-none/compiler-wrapper-1.0-yxdwep4jkd7nmmo75thneajpuwjzruw3;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/python-3.11.7;/usr/tce;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/cppcheck-2.9;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/doxygen-1.9.8;/usr/tce/packages/gcc/gcc-13.3.1;/usr/tce/packages/clang/clang-19.1.3;/usr/tce/packages/mvapich2/mvapich2-2.3.7-gcc-13.3.1-magic;/usr/tce/packages/python/python-3.9.12" CACHE STRING "") +set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/caliper-2.12.1-cg25q356sb7kiuabwtfka4tywsgbtpiu;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/tribol-0.1.0.23-ysqjlxfxls46fsccfvnaw3teuqj7jp3f;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/adiak-0.4.1-2z3ogwq4rmbuwpc5vl2mgxymme4mfbke;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/axom-0.12.0.0-i37xne6rixnhgwrptvzzfbrgcmdryhoo;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/conduit-0.9.5-bb722yzgl4d3g2diyieu73hrkt732qez;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/mfem-4.9.0.2-rnhik76bnx6j6665kwbnzm355av6lpmp;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/raja-2025.09.0-ume2ifdwlyie3yynwdvhyf2uxjykqpvc;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/umpire-2025.09.0-ir2e37p6sqldodud4cwaezspl2co5v42;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/netcdf-c-4.7.4-zslniorcg7ki7lnsimctkn6ig3zg2qaw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/slepc-3.21.2-y7425db4zsffjhcc3d33o2s2pz7w6664;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/sundials-6.7.0-7azsxv7nm2sr5pyi6px6abcdb6l475bv;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/camp-2025.09.2-qei7a63hp4u37cas2m7zte3phmv2fyhd;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/fmt-11.0.2-usm3fj6qxr75ga5p2ydlhearxsbtpckd;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/hdf5-1.8.23-frgmbp2plziqwxwypvemeglz6semjqei;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/arpack-ng-3.9.1-foedq43u27rbxrupjqborfxd47smzuch;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/petsc-3.21.6-jfsq7enjou6z5mzggfqndbmtc3sz3jy2;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/hypre-2.33.0-23ph5bzk62r3tntdn277zrtv6dpmon2n;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/strumpack-8.0.0-zn5qsdclfhyvrubcweeqymoptoqm3vja;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/superlu-dist-8.1.2-quwnz5kk2xb42g3j7vejc6hrq2urngof;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/netlib-scalapack-2.2.2-4utyi6inwwno5hssouh7566hmveptxtb;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/parmetis-4.0.3-c7wowvg6qcowqn53dlxtq4msf5m7tfo7;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/metis-5.1.0-nbxqo5m7iy3uyjd32skqzpa4d5cev2dt;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/python-3.11.7;/usr/tce;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/cppcheck-2.9;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/doxygen-1.9.8;/usr/tce/packages/gcc/gcc-13.3.1;/usr/tce/packages/clang/clang-19.1.3;/usr/tce/packages/mvapich2/mvapich2-2.3.7-gcc-13.3.1-magic;/usr/tce/packages/python/python-3.9.12" CACHE STRING "") set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") -set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/serac-develop-kjda3yj2wyak2obvuavw62e3qgfhxweu/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/serac-develop-kjda3yj2wyak2obvuavw62e3qgfhxweu/lib64;;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") +set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/smith-develop-iijxlgvwfrtse2ytqlu62iwx7b6dvx3v/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/smith-develop-iijxlgvwfrtse2ytqlu62iwx7b6dvx3v/lib64;;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") -set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/serac-develop-kjda3yj2wyak2obvuavw62e3qgfhxweu/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1/serac-develop-kjda3yj2wyak2obvuavw62e3qgfhxweu/lib64;;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") +set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/smith-develop-iijxlgvwfrtse2ytqlu62iwx7b6dvx3v/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1/smith-develop-iijxlgvwfrtse2ytqlu62iwx7b6dvx3v/lib64;;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") @@ -21,11 +21,11 @@ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") #------------------------------------------------------------------------------ if(DEFINED ENV{SPACK_CC}) - set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/none-none/compiler-wrapper-1.0-yxdwep4jkd7nmmo75thneajpuwjzruw3/libexec/spack/gcc/gcc" CACHE PATH "") + set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gcc" CACHE PATH "") - set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/none-none/compiler-wrapper-1.0-yxdwep4jkd7nmmo75thneajpuwjzruw3/libexec/spack/gcc/g++" CACHE PATH "") + set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/g++" CACHE PATH "") - set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/none-none/compiler-wrapper-1.0-yxdwep4jkd7nmmo75thneajpuwjzruw3/libexec/spack/gcc/gfortran" CACHE PATH "") + set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gfortran" CACHE PATH "") else() @@ -71,17 +71,17 @@ set(BUILD_REDECOMP ON CACHE BOOL "") # TPLs #------------------------------------------------------------------------------ -set(TPL_ROOT "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib/2025_08_27_22_14_24/gcc-13.3.1" CACHE PATH "") +set(TPL_ROOT "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/gcc-13.3.1" CACHE PATH "") -set(AXOM_DIR "${TPL_ROOT}/axom-0.10.1.1-pbefzqlb4uqp54sz4rmiq2k57p2j7hwx" CACHE PATH "") +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-i37xne6rixnhgwrptvzzfbrgcmdryhoo" CACHE PATH "") -set(MFEM_DIR "${TPL_ROOT}/mfem-4.8.0.1-iljy7j7rclxvtjdtmaujnjuaowsvommq" CACHE PATH "") +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-rnhik76bnx6j6665kwbnzm355av6lpmp" CACHE PATH "") # ENZYME not built -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-p5b5jdglfzyvsm4454vyvoefmr7dnmpj" CACHE PATH "") +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-ume2ifdwlyie3yynwdvhyf2uxjykqpvc" CACHE PATH "") -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-xwhcedrqoi3bib7jrnzy5xfodli25sax" CACHE PATH "") +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-ir2e37p6sqldodud4cwaezspl2co5v42" CACHE PATH "") #------------------------------------------------------------------------------ # Devtools @@ -93,7 +93,7 @@ set(TRIBOL_ENABLE_CODE_CHECKS ON CACHE BOOL "") set(ENABLE_CLANGFORMAT ON CACHE BOOL "") -set(CLANGFORMAT_EXECUTABLE "/usr/tce/packages/clang/clang-14.0.6/bin/clang-format" CACHE PATH "") +set(CLANGFORMAT_EXECUTABLE "/usr/tce/packages/clang/clang-19.1.3/bin/clang-format" CACHE PATH "") set(CLANGTIDY_EXECUTABLE "/usr/tce/packages/clang/clang-19.1.3/bin/clang-tidy" CACHE PATH "") diff --git a/host-configs/rzwhippet-toss_4_x86_64_ib-llvm@19.1.3.cmake b/host-configs/rzwhippet-toss_4_x86_64_ib-llvm@19.1.3.cmake new file mode 100644 index 00000000..58eaf9b2 --- /dev/null +++ b/host-configs/rzwhippet-toss_4_x86_64_ib-llvm@19.1.3.cmake @@ -0,0 +1,102 @@ +#------------------------------------------------------------------------------ +# !!!! This is a generated file, edit at own risk !!!! +#------------------------------------------------------------------------------ +# CMake executable path: /usr/tce/bin/cmake +#------------------------------------------------------------------------------ + +set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/caliper-2.12.1-z4b5jhgqubkdztt3a7rv472qfyitrwjt;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/tribol-0.1.0.23-oe43csdvi5y3asre3fysjqta7lc54xqj;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/adiak-0.4.1-phz7spqilihsb7voe6ubymle2n43ihrt;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/axom-0.12.0.0-45futx52tz63tfajb4xrtr5uyir33kij;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/conduit-0.9.5-6hyhaouworooemg5ys23cl46qko6hpf7;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/mfem-4.9.0.2-lxmn6iy6khcpe6tizo3ynvvd4hiyktps;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/raja-2025.09.0-zcwyfo2b2rwnxkmdp4c3k43sm3iiwane;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/umpire-2025.09.0-hwbvsapxfvyo4tupsxuhhqcfqd2lzq2r;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/enzyme-0.0.180-7i4qtqo3obdncxmd7x2nxqpsrzscgxoj;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/netcdf-c-4.7.4-p7xuxxst3xxa6wwqftrazpwsu54umxvb;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/slepc-3.21.2-67qm4jsx4ih6thr2ttffvtzdlsttixju;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/sundials-6.7.0-thnhsd6xkzbsuij75tb3344nphzg7wyj;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/camp-2025.09.2-exklmptyvyylyhheouqowazmvdzpf7op;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/fmt-11.0.2-klyhttb7ma3ny2ksm6ywvoorqr6nrhie;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/hdf5-1.8.23-rwzwt3mizlt7inrqhw265xklvlx5w3ju;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/arpack-ng-3.9.1-mcmuyid4s3kp5eugb6wtoly2nnbukfss;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/petsc-3.21.6-7zcj2uxdp25op43kutj6uecnemuq25tf;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/hypre-2.33.0-ebs6zrtqf7mug35yez5i5ceq3zxznv3s;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/strumpack-8.0.0-njongku6aahr4duq3hzznxylsfdeib5v;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/superlu-dist-8.1.2-xz552dtahyxm44unb5ouiubr3teq7gfk;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/netlib-scalapack-2.2.2-dwv5ga3qznko5suqtedb7ulou4mrkuat;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/parmetis-4.0.3-4thtnxv4kii5rl3pnphqgwzbqr5l72xz;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/metis-5.1.0-2pu2cesnzoxhc53feelz6xnfos4rz43a;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/python-3.11.7;/usr/tce;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/cppcheck-2.9;/usr/workspace/smithdev/devtools/toss_4_x86_64_ib/latest/doxygen-1.9.8;/usr/tce/packages/gcc/gcc-13.3.1;/usr/tce/packages/clang/clang-19.1.3;/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic;/usr/tce/packages/python/python-3.9.12" CACHE STRING "") + +set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") + +set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/smith-develop-tyymcqxmz2igfxb4wktsdsftctfpesgj/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/smith-develop-tyymcqxmz2igfxb4wktsdsftctfpesgj/lib64;;/usr/tce/backend/installations/linux-rhel8-x86_64/gcc-13.3.1/llvm-19.1.3-gy2lu5xbi4csr2k47emlajzfs5mlsd4g/lib/x86_64-unknown-linux-gnu;/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13;/usr/tce/packages/clang/clang-19.1.3/lib;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") + +set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/smith-develop-tyymcqxmz2igfxb4wktsdsftctfpesgj/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3/smith-develop-tyymcqxmz2igfxb4wktsdsftctfpesgj/lib64;;/usr/tce/backend/installations/linux-rhel8-x86_64/gcc-13.3.1/llvm-19.1.3-gy2lu5xbi4csr2k47emlajzfs5mlsd4g/lib/x86_64-unknown-linux-gnu;/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13;/usr/tce/packages/clang/clang-19.1.3/lib;/collab/usr/global/tools/tce4/packages/gcc/gcc-13.3.1/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") + +set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") + +#------------------------------------------------------------------------------ +# Compilers +#------------------------------------------------------------------------------ +# Compiler Spec: llvm@19.1.3/bmskmshy3mzlmo37b2pxkt76vqcffxvp +#------------------------------------------------------------------------------ +if(DEFINED ENV{SPACK_CC}) + + set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/clang/clang" CACHE PATH "") + + set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/clang/clang++" CACHE PATH "") + + set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gfortran" CACHE PATH "") + +else() + + set(CMAKE_C_COMPILER "/usr/tce/packages/clang/clang-19.1.3-magic/bin/clang" CACHE PATH "") + + set(CMAKE_CXX_COMPILER "/usr/tce/packages/clang/clang-19.1.3-magic/bin/clang++" CACHE PATH "") + + set(CMAKE_Fortran_COMPILER "/usr/tce/packages/gcc/gcc-13.3.1/bin/gfortran" CACHE PATH "") + +endif() + +set(CMAKE_Fortran_FLAGS "-fPIC" CACHE STRING "") + +#------------------------------------------------------------------------------ +# MPI +#------------------------------------------------------------------------------ + +set(MPI_C_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpicc" CACHE PATH "") + +set(MPI_CXX_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpicxx" CACHE PATH "") + +set(MPI_Fortran_COMPILER "/usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic/bin/mpif90" CACHE PATH "") + +set(MPIEXEC_NUMPROC_FLAG "-n" CACHE STRING "") + +set(ENABLE_MPI ON CACHE BOOL "") + +set(MPIEXEC_EXECUTABLE "/usr/bin/srun" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Hardware +#------------------------------------------------------------------------------ + +set(ENABLE_OPENMP ON CACHE BOOL "") + +#------------------------------------------------------------------------------ +# TPLs +#------------------------------------------------------------------------------ + +set(TPL_ROOT "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_11_20_17_51_15/llvm-19.1.3" CACHE PATH "") + +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-45futx52tz63tfajb4xrtr5uyir33kij" CACHE PATH "") + +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-lxmn6iy6khcpe6tizo3ynvvd4hiyktps" CACHE PATH "") + +set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-7i4qtqo3obdncxmd7x2nxqpsrzscgxoj" CACHE PATH "") + +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-zcwyfo2b2rwnxkmdp4c3k43sm3iiwane" CACHE PATH "") + +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-hwbvsapxfvyo4tupsxuhhqcfqd2lzq2r" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Devtools +#------------------------------------------------------------------------------ + +set(DEVTOOLS_ROOT "/usr/WS2/smithdev/devtools/toss_4_x86_64_ib/2024_05_30_15_09_55/._view/rkqkran3ydsuprr2wip5pdnz5wh7xwnr" CACHE PATH "") + +set(TRIBOL_ENABLE_CODE_CHECKS ON CACHE BOOL "") + +set(ENABLE_CLANGFORMAT ON CACHE BOOL "") + +set(CLANGFORMAT_EXECUTABLE "/usr/tce/packages/clang/clang-19.1.3/bin/clang-format" CACHE PATH "") + +set(CLANGTIDY_EXECUTABLE "/usr/tce/packages/clang/clang-19.1.3/bin/clang-tidy" CACHE PATH "") + +set(TRIBOL_ENABLE_DOCS ON CACHE BOOL "") + +set(SPHINX_EXECUTABLE "${DEVTOOLS_ROOT}/python-3.11.7/bin/sphinx-build" CACHE PATH "") + +set(CPPCHECK_EXECUTABLE "${DEVTOOLS_ROOT}/cppcheck-2.9/bin/cppcheck" CACHE PATH "") + +set(DOXYGEN_EXECUTABLE "${DEVTOOLS_ROOT}/doxygen-1.9.8/bin/doxygen" CACHE PATH "") + + diff --git a/host-configs/tioga-toss_4_x86_64_ib_cray-rocmcc@6.2.1_hip.cmake b/host-configs/tioga-toss_4_x86_64_ib_cray-rocmcc@6.2.1_hip.cmake deleted file mode 100644 index bf43feba..00000000 --- a/host-configs/tioga-toss_4_x86_64_ib_cray-rocmcc@6.2.1_hip.cmake +++ /dev/null @@ -1,117 +0,0 @@ -#------------------------------------------------------------------------------ -# !!!! This is a generated file, edit at own risk !!!! -#------------------------------------------------------------------------------ -# CMake executable path: /usr/tce/bin/cmake -#------------------------------------------------------------------------------ - -set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/caliper-2.12.1-h2elmogt2mtorvunf67jrcxqdcrzjjem;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/tribol-0.1.0.18-neize4eyd3wxmeuui44az2x5ecqfe2pd;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/adiak-0.4.1-djvwhzv7uucbw342y2lxn6mjv4onnzeh;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/libunwind-1.8.1-667lulihqw77lixyhoyezlqadqmw3ufq;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/axom-0.10.1.1-4udyvzqnaoic74uv3zcumyguv5mbqqcg;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/conduit-0.9.2-wo23sn3yekayvxjphe2eu4vvmvkqrovj;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/mfem-4.8.0.1-s6vr55m7kq5gylxswlaqy5usltbrslzd;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/raja-2024.07.0-m322mdffprdfso4vg7iox3n5goelhtyp;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/umpire-2024.07.0-h4aizqln4js5uo6o5dnkkjadcq5apw37;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/netcdf-c-4.7.4-m3moxxpcdu3id35a6ib662pmcpe6hlxt;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/strumpack-8.0.0-w5kwnpidy7gzm4q2kplzw7ip2hebkojg;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/sundials-6.7.0-ihjcn5jozjo6hqxvueljdahsvpg4fpyr;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/superlu-dist-8.1.2-ulxns2zfpqyuezhrgxjh7do45ezer2m5;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/camp-2024.07.0-223y52kngyoyilxr7gz3i4pe5btnm5uq;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/fmt-11.0.2-haismsyfch472jneh7tj5hoz5faug2wp;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/hdf5-1.8.23-zhqxrmbx5hqezzazejozk5l7wuz3ijx6;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/netlib-scalapack-2.2.2-zinikcerv4cwfrzt4kbhby6xm76fjmvq;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/hypre-2.26.0-sffmaz74r5zmnzir6l73deslw36yypsh;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/parmetis-4.0.3-7o2cbbpbawncpn24yftcj24gbopz4aev;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/metis-5.1.0-q4s4zr5oj2vsyc4eqjy22wrwndgb4fnh;/usr/tce;/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.2.1;/opt/rocm-6.2.1;/opt/rocm-6.2.1;/opt/rocm-6.2.1;/opt/rocm-6.2.1/llvm;/opt/rocm-6.2.1;/opt/rocm-6.2.1;/opt/rocm-6.2.1;/opt/rocm-6.2.1" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") - -set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/serac-develop-og4fmn5dkubewiybduaji237suiuzssb/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/serac-develop-og4fmn5dkubewiybduaji237suiuzssb/lib64;;/opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12" CACHE STRING "") - -set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/serac-develop-og4fmn5dkubewiybduaji237suiuzssb/lib;/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/serac-develop-og4fmn5dkubewiybduaji237suiuzssb/lib64;;/opt/rh/gcc-toolset-12/root/usr/lib/gcc/x86_64-redhat-linux/12" CACHE STRING "") - -set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Compilers -#------------------------------------------------------------------------------ -# Compiler Spec: rocmcc@=6.2.1 -#------------------------------------------------------------------------------ -if(DEFINED ENV{SPACK_CC}) - - set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/spack/lib/spack/env/rocmcc/amdclang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/spack/lib/spack/env/rocmcc/amdclang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/spack/lib/spack/env/rocmcc/amdflang" CACHE PATH "") - -else() - - set(CMAKE_C_COMPILER "/opt/rocm-6.2.1/llvm/bin/amdclang" CACHE PATH "") - - set(CMAKE_CXX_COMPILER "/opt/rocm-6.2.1/llvm/bin/amdclang++" CACHE PATH "") - - set(CMAKE_Fortran_COMPILER "/opt/rocm-6.2.1/llvm/bin/amdflang" CACHE PATH "") - -endif() - -#------------------------------------------------------------------------------ -# MPI -#------------------------------------------------------------------------------ - -set(MPI_C_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.2.1/bin/mpicc" CACHE PATH "") - -set(MPI_CXX_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.2.1/bin/mpicxx" CACHE PATH "") - -set(MPI_Fortran_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.2.1/bin/mpif90" CACHE PATH "") - -set(MPIEXEC_NUMPROC_FLAG "-n" CACHE STRING "") - -set(ENABLE_MPI ON CACHE BOOL "") - -set(MPIEXEC_EXECUTABLE "/usr/global/tools/flux_wrappers/bin/srun" CACHE PATH "") - -#------------------------------------------------------------------------------ -# Hardware -#------------------------------------------------------------------------------ - -#------------------------------------------------ -# ROCm -#------------------------------------------------ - -set(HIP_ROOT_DIR "/opt/rocm-6.2.1" CACHE PATH "") - -set(CMAKE_HIP_COMPILER "/opt/rocm-6.2.1/llvm/bin/clang++" CACHE FILEPATH "") - -set(CMAKE_HIP_ARCHITECTURES "gfx90a" CACHE STRING "") - -set(AMDGPU_TARGETS "gfx90a" CACHE STRING "") - -set(GPU_TARGETS "gfx90a" CACHE STRING "") - -set(ENABLE_OPENMP OFF CACHE BOOL "") - -set(ENABLE_HIP ON CACHE BOOL "") - -set(ROCM_PATH "/opt/rocm-6.2.1" CACHE PATH "") - -set(CMAKE_EXE_LINKER_FLAGS "-L/opt/rocm-6.2.1/lib -Wl,-rpath,/opt/rocm-6.2.1/lib -L/opt/rocm-6.2.1/llvm/lib -Wl,-rpath,/opt/rocm-6.2.1/llvm/lib -lxpmem -L/opt/cray/pe/mpich/8.1.29/gtl/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.29/gtl/lib -lmpi_gtl_hsa -Wl,--disable-new-dtags -lflang -lflangrti -lamdhip64 -lhsakmt -lhsa-runtime64 -lamd_comgr -lpgmath -lhipblas" CACHE STRING "") - -#------------------------------------------------------------------------------ -# Options -#------------------------------------------------------------------------------ - -set(BUILD_REDECOMP ON CACHE BOOL "") - -#------------------------------------------------------------------------------ -# TPLs -#------------------------------------------------------------------------------ - -set(TPL_ROOT "/usr/WS2/smithdev/libs/serac/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1" CACHE PATH "") - -set(AXOM_DIR "${TPL_ROOT}/axom-0.10.1.1-4udyvzqnaoic74uv3zcumyguv5mbqqcg" CACHE PATH "") - -set(MFEM_DIR "${TPL_ROOT}/mfem-4.8.0.1-s6vr55m7kq5gylxswlaqy5usltbrslzd" CACHE PATH "") - -set(ENZYME_DIR "/usr/WS2/smithdev/toss_4_x86_64_ib_cray/enzyme/rocm-6.2.1/0.0.180" CACHE PATH "") - -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-m322mdffprdfso4vg7iox3n5goelhtyp" CACHE PATH "") - -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-h4aizqln4js5uo6o5dnkkjadcq5apw37" CACHE PATH "") - -#------------------------------------------------------------------------------ -# Devtools -#------------------------------------------------------------------------------ - -# Code checks disabled due to disabled devtools - -set(SERAC_ENABLE_CODE_CHECKS OFF CACHE BOOL "") - -set(ENABLE_CLANGFORMAT OFF CACHE BOOL "") - -set(ENABLE_CLANGTIDY OFF CACHE BOOL "") - -set(TRIBOL_ENABLE_DOCS OFF CACHE BOOL "") - diff --git a/host-configs/tuolumne-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip.cmake b/host-configs/tuolumne-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip.cmake new file mode 100644 index 00000000..f744509a --- /dev/null +++ b/host-configs/tuolumne-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip.cmake @@ -0,0 +1,114 @@ +#------------------------------------------------------------------------------ +# !!!! This is a generated file, edit at own risk !!!! +#------------------------------------------------------------------------------ +# CMake executable path: /usr/tce/bin/cmake +#------------------------------------------------------------------------------ + +set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/caliper-2.12.1-tdt2eikgly5djuxkxoaeoora46pkhg3q;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/tribol-0.1.0.23-n64mpdyt3yvtinp6dhdmmeidrtbtssbo;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/adiak-0.4.1-3pedcs7kfkltks4rbuimessyn2ftkfb7;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/libunwind-1.8.1-ijbnecr6mrnowuwv3khy34jidzh3yyj3;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/axom-0.12.0.0-og5pha7nn5usaq3nm7moptorpjmpwgiw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/conduit-0.9.5-fr6nlivg2q44p2fm7d3twivtsitkrwp4;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/mfem-4.9.0.2-mk5cpr4hsq5tf5tqne5uckm26jmvwcvd;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/hypre-2.33.0-smuq4sfalzokt3xbj3afxcyxdyr737yr;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/netcdf-c-4.7.4-hdvzf6k35jgfv4fto44neg6oka65trbb;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/raja-2025.09.0-mlvvn7h257hluzfwmkgk5qyvvdgcimzr;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/strumpack-8.0.0-hs2yx7rpgcfmescp4tgang2enurkzoyj;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/superlu-dist-8.1.2-j4sdkhw4zt5g7zogpylucmb2adzufpps;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/umpire-2025.09.0-7qtxj2a5ihxb7metqdjot6dxmfof47oe;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/hdf5-1.8.23-hi7eotv4olqrfedxqzy56p3mgfldbpyg;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/netlib-scalapack-2.2.2-a5ef54cb4mvrj7vaia2nssjjiy42fuy6;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/parmetis-4.0.3-5prdk7nqp4ujhc3suytx66t2jkhunia4;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/camp-2025.09.2-3fxmbhyimpvimplr2qvt32giqaom7ymy;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/fmt-11.0.2-7obrzgdsm7vuixhdva7kcl7ut637gmfw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/metis-5.1.0-rvjhpveexfgalsyntmwhkwm6icozu7zg;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/none-none/compiler-wrapper-1.0-gp57b4mbq4ctshuybmbzq62fjybcm5tp;/usr/tce;/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2/llvm;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2;/opt/rocm-6.4.2" CACHE STRING "") + +set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") + +set(CMAKE_BUILD_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/smith-develop-5s6ssfglpw4ljlyuwzgynzz3qabpygku/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/smith-develop-5s6ssfglpw4ljlyuwzgynzz3qabpygku/lib64;;/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") + +set(CMAKE_INSTALL_RPATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/smith-develop-5s6ssfglpw4ljlyuwzgynzz3qabpygku/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2/smith-develop-5s6ssfglpw4ljlyuwzgynzz3qabpygku/lib64;;/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13" CACHE STRING "") + +set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") + +#------------------------------------------------------------------------------ +# Compilers +#------------------------------------------------------------------------------ +# Compiler Spec: llvm-amdgpu@6.4.2/5r3ij6vqblq4roanzix4i7qiteyl6gjj +#------------------------------------------------------------------------------ +if(DEFINED ENV{SPACK_CC}) + + set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/none-none/compiler-wrapper-1.0-gp57b4mbq4ctshuybmbzq62fjybcm5tp/libexec/spack/rocmcc/amdclang" CACHE PATH "") + + set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/none-none/compiler-wrapper-1.0-gp57b4mbq4ctshuybmbzq62fjybcm5tp/libexec/spack/rocmcc/amdclang++" CACHE PATH "") + + set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/none-none/compiler-wrapper-1.0-gp57b4mbq4ctshuybmbzq62fjybcm5tp/libexec/spack/rocmcc/amdflang" CACHE PATH "") + +else() + + set(CMAKE_C_COMPILER "/opt/rocm-6.4.2/llvm/bin/amdclang" CACHE PATH "") + + set(CMAKE_CXX_COMPILER "/opt/rocm-6.4.2/llvm/bin/amdclang++" CACHE PATH "") + + set(CMAKE_Fortran_COMPILER "/opt/rocm-6.4.2/llvm/bin/amdflang" CACHE PATH "") + +endif() + +#------------------------------------------------------------------------------ +# MPI +#------------------------------------------------------------------------------ + +set(MPI_C_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.4.2/bin/mpicc" CACHE PATH "") + +set(MPI_CXX_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.4.2/bin/mpicxx" CACHE PATH "") + +set(MPI_Fortran_COMPILER "/usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.4.2/bin/mpif90" CACHE PATH "") + +set(MPIEXEC_NUMPROC_FLAG "-n" CACHE STRING "") + +set(ENABLE_MPI ON CACHE BOOL "") + +set(MPIEXEC_EXECUTABLE "/usr/global/tools/flux_wrappers/bin/srun" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Hardware +#------------------------------------------------------------------------------ + +#------------------------------------------------ +# ROCm +#------------------------------------------------ + +set(ROCM_PATH "/opt/rocm-6.4.2" CACHE PATH "") + +set(CMAKE_HIP_ARCHITECTURES "gfx90a;gfx942" CACHE STRING "") + +set(CMAKE_HIP_COMPILER "/opt/rocm-6.4.2/llvm/bin/amdclang++" CACHE FILEPATH "") + +set(HIP_ROOT_DIR "/opt/rocm-6.4.2" CACHE PATH "") + +set(AMDGPU_TARGETS "gfx90a;gfx942" CACHE STRING "") + +set(GPU_TARGETS "gfx90a;gfx942" CACHE STRING "") + +set(ENABLE_OPENMP OFF CACHE BOOL "") + +set(ENABLE_HIP ON CACHE BOOL "") + +set(ROCM_ROOT_DIR "/opt/rocm-6.4.2" CACHE PATH "") + +set(CMAKE_EXE_LINKER_FLAGS "-lxpmem -L/opt/cray/pe/mpich/8.1.29/gtl/lib -Wl,-rpath,/opt/cray/pe/mpich/8.1.29/gtl/lib -lmpi_gtl_hsa -L/opt/rocm-6.4.2/lib/llvm/lib -Wl,-rpath,/opt/rocm-6.4.2/lib/llvm/lib -L/opt/rocm-6.4.2/lib -Wl,-rpath,/opt/rocm-6.4.2/lib -Wl,--disable-new-dtags -lflang -lflangrti -lamdhip64 -lhsakmt -lhsa-runtime64 -lamd_comgr -lpgmath -lhipblas" CACHE STRING "") + +#------------------------------------------------------------------------------ +# TPLs +#------------------------------------------------------------------------------ + +set(TPL_ROOT "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_20_18_05_56/llvm-amdgpu-6.4.2" CACHE PATH "") + +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-og5pha7nn5usaq3nm7moptorpjmpwgiw" CACHE PATH "") + +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-mk5cpr4hsq5tf5tqne5uckm26jmvwcvd" CACHE PATH "") + +# ENZYME not built + +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-mlvvn7h257hluzfwmkgk5qyvvdgcimzr" CACHE PATH "") + +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-7qtxj2a5ihxb7metqdjot6dxmfof47oe" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Devtools +#------------------------------------------------------------------------------ + +# Code checks disabled due to disabled devtools + +set(TRIBOL_ENABLE_CODE_CHECKS OFF CACHE BOOL "") + +set(ENABLE_CLANGFORMAT OFF CACHE BOOL "") + +set(ENABLE_CLANGTIDY OFF CACHE BOOL "") + +set(TRIBOL_ENABLE_DOCS OFF CACHE BOOL "") + + diff --git a/scripts/github-actions/linux-check.sh b/scripts/github-actions/linux-check.sh index 5ec1e0c9..7fe51583 100755 --- a/scripts/github-actions/linux-check.sh +++ b/scripts/github-actions/linux-check.sh @@ -17,28 +17,25 @@ function or_die () { fi } -git submodule init -git submodule update - echo HOST_CONFIG echo $HOST_CONFIG echo "~~~~~~ RUNNING CMAKE ~~~~~~~~" -cmake_args="-DENABLE_CLANGTIDY=OFF -DTRIBOL_ENABLE_CODE_CHECKS=ON" +cmake_args="-DCMAKE_BUILD_TYPE=Debug -DENABLE_CLANGTIDY=OFF -DTRIBOL_ENABLE_CODE_CHECKS=ON" -if [[ "$DO_COVERAGE_CHECK" == "yes" ]] ; then +if [[ "$CHECK_TYPE" == "coverage" ]] ; then # Alias llvm-cov to gcov so it acts like gcov ln -s `which llvm-cov` /home/serac/gcov cmake_args="$cmake_args -DENABLE_COVERAGE=ON -DGCOV_EXECUTABLE=/home/serac/gcov" fi -if [[ "$DO_DOCS_CHECK" == "yes" ]] ; then +if [[ "$CHECK_TYPE" == "docs" ]] ; then SPHINX_EXECUTABLE=/usr/bin/sphinx-build if [[ ! -f "$SPHINX_EXECUTABLE" ]]; then echo "sphinx not found: $SPHINX_EXECUTABLE" exit 1 fi - DOXYGEN_EXECUTABLE=/usr/bin/doxygen + DOXYGEN_EXECUTABLE=/usr/local/bin/doxygen if [[ ! -f "$DOXYGEN_EXECUTABLE" ]]; then echo "doxygen not found: $DOXYGEN_EXECUTABLE" exit 1 @@ -46,7 +43,7 @@ if [[ "$DO_DOCS_CHECK" == "yes" ]] ; then cmake_args="$cmake_args -DENABLE_DOCS=ON -DSPHINX_EXECUTABLE=$SPHINX_EXECUTABLE -DDOXYGEN_EXECUTABLE=$DOXYGEN_EXECUTABLE" fi -if [[ "$DO_STYLE_CHECK" == "yes" ]] ; then +if [[ "$CHECK_TYPE" == "style" ]] ; then CLANGFORMAT_EXECUTABLE=/usr/bin/clang-format if [[ ! -f "$CLANGFORMAT_EXECUTABLE" ]]; then echo "clang-format not found: $CLANGFORMAT_EXECUTABLE" @@ -55,27 +52,26 @@ if [[ "$DO_STYLE_CHECK" == "yes" ]] ; then cmake_args="$cmake_args -DENABLE_CLANGFORMAT=ON -DCLANGFORMAT_EXECUTABLE=$CLANGFORMAT_EXECUTABLE" fi -or_die ./config-build.py -hc host-configs/docker/${HOST_CONFIG} -bp build-check-debug $cmake_args +or_die ./config-build.py -hc host-configs/docker/${HOST_CONFIG} -bp build-check-debug -ip install-check-debug $cmake_args or_die cd build-check-debug -if [[ "$DO_COVERAGE_CHECK" == "yes" ]] ; then +if [[ "$CHECK_TYPE" == "coverage" ]] ; then or_die make -j4 or_die make tribol_coverage - # Rename to file expected by codecov - cp tribol_coverage.info.cleaned lcov.info - or_die curl -s https://codecov.io/bash | bash /dev/stdin -X gcov + # Move cov report to repo dir, so that Github Actions can find it + cp tribol_coverage.info.cleaned .. fi -if [[ "$DO_DOCS_CHECK" == "yes" ]] ; then +if [[ "$CHECK_TYPE" == "docs" ]] ; then or_die make VERBOSE=1 docs 2>&1 | tee docs_output or_die ../scripts/check_log.py -l docs_output -i ../scripts/github-actions/docs_ignore_regexs.txt fi -if [[ "$DO_STYLE_CHECK" == "yes" ]] ; then +if [[ "$CHECK_TYPE" == "style" ]] ; then or_die make VERBOSE=1 clangformat_check fi -if [[ "$DO_HEADER_CHECK" == "yes" ]] ; then +if [[ "$CHECK_TYPE" == "header" ]] ; then or_die make -j4 or_die make install -j4 or_die ../scripts/check_for_missing_headers.py -i ../install-check-debug -s ../src diff --git a/src/examples/common_plane_gpu.cpp b/src/examples/common_plane_gpu.cpp index 2f31e166..2d505a1c 100644 --- a/src/examples/common_plane_gpu.cpp +++ b/src/examples/common_plane_gpu.cpp @@ -86,15 +86,14 @@ int main( int argc, char** argv ) ->check( axom::CLI::PositiveNumber ); app.add_option( "-d,--device", device_str, "Target device where the code should be run." ) ->capture_default_str() - ->check( axom::CLI::IsMember( { - "cpu" + ->check( axom::CLI::IsMember( { "cpu" #if defined( TRIBOL_USE_CUDA ) || defined( TRIBOL_USE_HIP ) - , - "gpu" + , + "gpu" #endif #ifdef TRIBOL_USE_OPENMP - , - "omp" + , + "omp" #endif } ) ); CLI11_PARSE( app, argc, argv ); diff --git a/src/examples/examples_common.hpp b/src/examples/examples_common.hpp index ea79c55e..4c6f5d81 100644 --- a/src/examples/examples_common.hpp +++ b/src/examples/examples_common.hpp @@ -131,12 +131,10 @@ int parse_command_line_args( std::string ex_name, Arguments& args, int argc, cha CLI11_PARSE( app, argc, argv ); // print parsed args to screen - SLIC_INFO( "Mesh 1" - << "\n\t x,y,z discretization: " << getPoint( args.block1_res ) - << "\n\t Bounding box: " << getBoundingBox( args.block1_min, args.block1_max ) ); - SLIC_INFO( "Mesh 2" - << "\n\t x,y,z discretization: " << getPoint( args.block2_res ) - << "\n\t Bounding box: " << getBoundingBox( args.block2_min, args.block2_max ) ); + SLIC_INFO( "Mesh 1" << "\n\t x,y,z discretization: " << getPoint( args.block1_res ) + << "\n\t Bounding box: " << getBoundingBox( args.block1_min, args.block1_max ) ); + SLIC_INFO( "Mesh 2" << "\n\t x,y,z discretization: " << getPoint( args.block2_res ) + << "\n\t Bounding box: " << getBoundingBox( args.block2_min, args.block2_max ) ); return 0; } @@ -280,9 +278,8 @@ int tribol_register_and_update( tribol::TestMesh& mesh, tribol::ContactMethod me /////////////////////////////////////////////////////// if ( enforcement == tribol::PENALTY ) { if ( params == nullptr ) { - SLIC_ERROR( "tribol_register_and_update(): " - << "tribol::TestControlParameters pointer is null. " - << "Parameters are required for penalty enforcement." ); + SLIC_ERROR( "tribol_register_and_update(): " << "tribol::TestControlParameters pointer is null. " + << "Parameters are required for penalty enforcement." ); } if ( !params->penalty_ratio ) { diff --git a/src/examples/mortar_lm_patch_test.cpp b/src/examples/mortar_lm_patch_test.cpp index adccb2a9..9fa6cd16 100644 --- a/src/examples/mortar_lm_patch_test.cpp +++ b/src/examples/mortar_lm_patch_test.cpp @@ -123,9 +123,8 @@ int main( int argc, char** argv ) if ( err == 1 ) { SLIC_WARNING( "Returned from tribol_register_and_update with error." ); } else { - SLIC_INFO( "Tribol update executed successfully. " - << "Preparing mfem mesh and linear algebra for " - << "computation of pressure Lagrange multipliers." ); + SLIC_INFO( "Tribol update executed successfully. " << "Preparing mfem mesh and linear algebra for " + << "computation of pressure Lagrange multipliers." ); } ////////////////////////////////////////////////////////// @@ -160,8 +159,7 @@ int main( int argc, char** argv ) mfem::SparseMatrix* tribolJac{ nullptr }; int sparseMatErr = tribol::getJacobianSparseMatrix( &tribolJac, 0 ); - SLIC_ERROR_IF( sparseMatErr != 0, "mortar_lm_patch_test.cpp: error " - << "gettting Tribol mfem sparse matrix." ); + SLIC_ERROR_IF( sparseMatErr != 0, "mortar_lm_patch_test.cpp: error " << "gettting Tribol mfem sparse matrix." ); SLIC_INFO( "Setup mfem mesh and grabbed Tribol sparse data." ); diff --git a/src/redecomp/utils/MPIUtility.hpp b/src/redecomp/utils/MPIUtility.hpp index 6051632a..181fd0e8 100644 --- a/src/redecomp/utils/MPIUtility.hpp +++ b/src/redecomp/utils/MPIUtility.hpp @@ -19,8 +19,7 @@ namespace redecomp { template -struct type { -}; +struct type {}; /** * @brief Wrapper class for MPI functions and communication patterns used in redecomp. diff --git a/src/tests/tribol_common_plane_gap_rate.cpp b/src/tests/tribol_common_plane_gap_rate.cpp index 5d4666df..b73985f6 100644 --- a/src/tests/tribol_common_plane_gap_rate.cpp +++ b/src/tests/tribol_common_plane_gap_rate.cpp @@ -124,8 +124,7 @@ void checkPressures( tribol::CouplingScheme const* cs, RealT pressure, const Rea } else if ( std::strcmp( pressureType, "kinematic" ) == 0 ) { my_pressure = plane.m_pressure; } else { - SLIC_ERROR( "checkPressures(): invalid pressure type. Supported types are " - << "'kinematic' or 'rate'." ); + SLIC_ERROR( "checkPressures(): invalid pressure type. Supported types are " << "'kinematic' or 'rate'." ); } // check diffs diff --git a/src/tests/tribol_common_plane_penalty.cpp b/src/tests/tribol_common_plane_penalty.cpp index 727d0977..5f264725 100644 --- a/src/tests/tribol_common_plane_penalty.cpp +++ b/src/tests/tribol_common_plane_penalty.cpp @@ -124,8 +124,7 @@ void checkPressures( tribol::CouplingScheme const* cs, RealT pressure, const Rea } else if ( std::strcmp( pressureType, "kinematic" ) == 0 ) { my_pressure = plane.m_pressure; } else { - SLIC_ERROR( "checkPressures(): invalid pressure type. Supported types are " - << "'kinematic' or 'rate'." ); + SLIC_ERROR( "checkPressures(): invalid pressure type. Supported types are " << "'kinematic' or 'rate'." ); } // check diffs diff --git a/src/tests/tribol_iso_integ.cpp b/src/tests/tribol_iso_integ.cpp index d042da64..fd750520 100644 --- a/src/tests/tribol_iso_integ.cpp +++ b/src/tests/tribol_iso_integ.cpp @@ -65,8 +65,8 @@ class IsoIntegTest : public ::testing::Test { xy[this->dim * j + k] = z[j]; break; } // end switch - } // end loop over dimension - } // end loop over nodes + } // end loop over dimension + } // end loop over nodes // instantiate SurfaceContactElem struct. Note, this object is instantiated // using face 1 as face 2, but these faces are not used in this test so this diff --git a/src/tests/tribol_mortar_data_geom.cpp b/src/tests/tribol_mortar_data_geom.cpp index 5626ced3..a5dd6d85 100644 --- a/src/tests/tribol_mortar_data_geom.cpp +++ b/src/tests/tribol_mortar_data_geom.cpp @@ -398,7 +398,7 @@ TEST_F( MortarGeomTest, mortar_ironing ) ++num_total_active_nodes; } } // end loop over nonzero columns, I[a] - } // end loop over matrix rows + } // end loop over matrix rows SLIC_INFO( "Total number of ACTIVE nonmortar nodes: " << num_total_active_nodes ); diff --git a/src/tests/tribol_mortar_data_weights.cpp b/src/tests/tribol_mortar_data_weights.cpp index 2d432eed..affa0dcb 100644 --- a/src/tests/tribol_mortar_data_weights.cpp +++ b/src/tests/tribol_mortar_data_weights.cpp @@ -62,7 +62,7 @@ void TestMortarWeights( tribol::CouplingScheme const* cs, RealT exact_area, Real // nonmortar node, " << a << " and mortar node, " << J[b] << "."); } // end loop over nonzero columns, I[a] - } // end loop over matrix rows + } // end loop over matrix rows area /= 2.; diff --git a/src/tests/tribol_mortar_gap.cpp b/src/tests/tribol_mortar_gap.cpp index 5cca695c..244f714f 100644 --- a/src/tests/tribol_mortar_gap.cpp +++ b/src/tests/tribol_mortar_gap.cpp @@ -128,8 +128,8 @@ class MortarGapTest : public ::testing::Test { xyOverlap[id] = zo[j]; break; } // end switch - } // end loop over dimension - } // end loop over nodes + } // end loop over dimension + } // end loop over nodes // register the mesh with tribol int cellType = static_cast( tribol::UNDEFINED_ELEMENT ); diff --git a/src/tests/tribol_mortar_sparse_weights.cpp b/src/tests/tribol_mortar_sparse_weights.cpp index 8b24556e..ffef07cc 100644 --- a/src/tests/tribol_mortar_sparse_weights.cpp +++ b/src/tests/tribol_mortar_sparse_weights.cpp @@ -121,7 +121,7 @@ void computeGapsFromSparseWts( tribol::CouplingScheme* cs, RealT* gaps ) } // end if-block } // end loop over nonzero columns, I[a] - } // end loop over matrix rows + } // end loop over matrix rows } // end ComputeGapsFromSparseWts() diff --git a/src/tests/tribol_mortar_wts.cpp b/src/tests/tribol_mortar_wts.cpp index d8feb7c3..474456cd 100644 --- a/src/tests/tribol_mortar_wts.cpp +++ b/src/tests/tribol_mortar_wts.cpp @@ -109,8 +109,8 @@ class MortarWeightTest : public ::testing::Test { xyOverlap[this->dim * j + k] = zo[j]; break; } // end switch - } // end loop over dimension - } // end loop over nodes + } // end loop over dimension + } // end loop over nodes // instantiate SurfaceContactElem struct. Note, this object is instantiated // using face 1, face 2, and the set overlap polygon. Note, the mesh ids are set diff --git a/src/tests/tribol_quad_integ.cpp b/src/tests/tribol_quad_integ.cpp index 424ba0be..ff080611 100644 --- a/src/tests/tribol_quad_integ.cpp +++ b/src/tests/tribol_quad_integ.cpp @@ -60,8 +60,8 @@ class IsoIntegTest : public ::testing::Test { xy[this->dim * j + k] = z[j]; break; } // end switch - } // end loop over dimension - } // end loop over nodes + } // end loop over dimension + } // end loop over nodes // instantiate SurfaceContactElem struct. Note, this object is instantiated // using face 1 as face 2, but these faces are not used in this test so this diff --git a/src/tests/tribol_twb_integ.cpp b/src/tests/tribol_twb_integ.cpp index 91ca5cd8..853c20ca 100644 --- a/src/tests/tribol_twb_integ.cpp +++ b/src/tests/tribol_twb_integ.cpp @@ -61,8 +61,8 @@ class TWBIntegTest : public ::testing::Test { xy[this->dim * j + k] = z[j]; break; } // end switch - } // end loop over dimension - } // end loop over nodes + } // end loop over dimension + } // end loop over nodes // instantiate SurfaceContactElem struct. Note, this object is instantiated // using face 1 as face 2, but these faces are not used in this test so this diff --git a/src/tribol/common/LoopExec.hpp b/src/tribol/common/LoopExec.hpp index 70cbc414..ad692a33 100644 --- a/src/tribol/common/LoopExec.hpp +++ b/src/tribol/common/LoopExec.hpp @@ -52,8 +52,7 @@ namespace tribol { namespace detail { // SFINAE type for choosing correct RAJA::forall policy at compile time template -struct forAllType { -}; +struct forAllType {}; template void forAllImpl( forAllType, IndexT, BODY&& ) diff --git a/src/tribol/geom/CompGeom.cpp b/src/tribol/geom/CompGeom.cpp index ad5cdbf4..ce900114 100644 --- a/src/tribol/geom/CompGeom.cpp +++ b/src/tribol/geom/CompGeom.cpp @@ -857,10 +857,10 @@ TRIBOL_HOST_DEVICE void ContactPlanePair::getFace2ProjectedCoords( RealT* x2_pro TRIBOL_HOST_DEVICE void ContactPlanePair::getOverlapVertices( RealT* overlap_verts ) const { #ifdef TRIBOL_USE_HOST - SLIC_ERROR_IF( m_dim == 2 && m_numPolyVert != 2, "ContactPlanePair::getOverlapVertices(): " - << "number of overlap vertices not equal to 2" ); - SLIC_ERROR_IF( m_dim == 3 && m_numPolyVert < 3, "ContactPlanePair::getOverlapVertices(): " - << "number of overlap vertices < 3" ); + SLIC_ERROR_IF( m_dim == 2 && m_numPolyVert != 2, + "ContactPlanePair::getOverlapVertices(): " << "number of overlap vertices not equal to 2" ); + SLIC_ERROR_IF( m_dim == 3 && m_numPolyVert < 3, + "ContactPlanePair::getOverlapVertices(): " << "number of overlap vertices < 3" ); #endif for ( int i = 0; i < m_numPolyVert; ++i ) { @@ -1250,7 +1250,7 @@ TRIBOL_HOST_DEVICE FaceGeomException CommonPlanePair::computeOverlap3D( const Re ++k; } // end if (inter) - } // end if (k<2) + } // end if (k<2) // Secondly: check the current face's current node to see if it lies on the other side of the other face. // do this even if we don't ultimately have an interpen overlap calc. @@ -1295,7 +1295,7 @@ TRIBOL_HOST_DEVICE FaceGeomException CommonPlanePair::computeOverlap3D( const Re num_nodes_otherside[i] = k_otherside; } // end loop over faces - } // end if-convex + } // end if-convex // we come into this routine with full overlap calculation set to true. Here, we need // to determine if we need to switch to interpen overlap calc. This is cleaner logic diff --git a/src/tribol/geom/CompGeom.hpp b/src/tribol/geom/CompGeom.hpp index f5863601..e90a485a 100644 --- a/src/tribol/geom/CompGeom.hpp +++ b/src/tribol/geom/CompGeom.hpp @@ -22,7 +22,7 @@ class CompGeomPair { protected: InterfacePair* m_pair; ///< Face-pair struct for two constituent faces - TRIBOL_HOST_DEVICE CompGeomPair(){}; + TRIBOL_HOST_DEVICE CompGeomPair() {}; TRIBOL_HOST_DEVICE CompGeomPair( InterfacePair* pair, const Parameters& params, const int dim ) : m_pair( pair ), m_dim( dim ), m_params( params ) @@ -45,7 +45,7 @@ class ContactPlanePair : public CompGeomPair { * @brief Constructs a ContactPlane object * */ - TRIBOL_HOST_DEVICE ContactPlanePair(){}; + TRIBOL_HOST_DEVICE ContactPlanePair() {}; /** * @brief Overloaded constructor @@ -328,7 +328,7 @@ class CommonPlanePair : public ContactPlanePair { * @brief Constructs a common plane contact plane * */ - TRIBOL_HOST_DEVICE CommonPlanePair(){}; + TRIBOL_HOST_DEVICE CommonPlanePair() {}; /*! * @brief Overloaded constructor @@ -523,7 +523,7 @@ class MortarPlanePair : public ContactPlanePair { * @brief Constructs a Mortar contact plane * */ - TRIBOL_HOST_DEVICE MortarPlanePair(){}; + TRIBOL_HOST_DEVICE MortarPlanePair() {}; /*! * @brief Overloaded constructor @@ -620,7 +620,7 @@ class AlignedMortarPlanePair : public ContactPlanePair { * @brief Constructs a Mortar-based contact plane * */ - TRIBOL_HOST_DEVICE AlignedMortarPlanePair(){}; + TRIBOL_HOST_DEVICE AlignedMortarPlanePair() {}; /*! * @brief Overloaded constructor @@ -770,7 +770,7 @@ class CompGeom { * @brief Constructs a comp geom object * */ - CompGeom(){}; + CompGeom() {}; /*! * @brief Destructor @@ -911,7 +911,7 @@ class CompGeom { break; } } // end switch - } // end resizeActivePairs() + } // end resizeActivePairs() private: ArrayT m_common_plane_pairs; diff --git a/src/tribol/geom/GeomUtilities.hpp b/src/tribol/geom/GeomUtilities.hpp index 564cf81b..7f8d08d8 100644 --- a/src/tribol/geom/GeomUtilities.hpp +++ b/src/tribol/geom/GeomUtilities.hpp @@ -1373,7 +1373,7 @@ TRIBOL_HOST_DEVICE inline FaceGeomException Intersection2DPolygon( } } } // end loop over A segments - } // end loop over B segments + } // end loop over B segments // count the number of segment-segment intersections int numSegInter = 0; diff --git a/src/tribol/integ/FE.cpp b/src/tribol/integ/FE.cpp index c7a0ea9b..e3bfe8fd 100644 --- a/src/tribol/integ/FE.cpp +++ b/src/tribol/integ/FE.cpp @@ -99,11 +99,9 @@ TRIBOL_HOST_DEVICE void SegmentBasis( const RealT* const x, const RealT pX, cons #ifdef TRIBOL_USE_HOST if ( phi > 1.0 || phi < 0.0 ) { SLIC_DEBUG( "SegmentBasis: phi is " << phi << " not between 0. and 1 for vertex " << vertexId << "." ); - SLIC_DEBUG( "(x0,y0) and (x1,y1): " - << "(" << x[0] << ", " << x[1] << "), " - << "(" << x[2] << ", " << x[3] << ")." ); - SLIC_DEBUG( "(px,py): " - << "(" << pX << ", " << pY << ")" ); + SLIC_DEBUG( "(x0,y0) and (x1,y1): " << "(" << x[0] << ", " << x[1] << "), " + << "(" << x[2] << ", " << x[3] << ")." ); + SLIC_DEBUG( "(px,py): " << "(" << pX << ", " << pY << ")" ); } #endif diff --git a/src/tribol/integ/Integration.cpp b/src/tribol/integ/Integration.cpp index 4bd55a94..00c837dd 100644 --- a/src/tribol/integ/Integration.cpp +++ b/src/tribol/integ/Integration.cpp @@ -244,7 +244,7 @@ void TWBPolyInt( SurfaceContactElem const& elem, IntegPts& integ, int k ) bary[elem.dim * m] * elem.overlapCoords[elem.dim * k + 2] + bary[elem.dim * m + 1] * elem.overlapCoords[elem.dim * ( k + 1 ) + 2] + bary[elem.dim * m + 2] * xc[2]; } // end loop over number of points per triangle - } // end loop over (n-1) number of triangles + } // end loop over (n-1) number of triangles // populate last triangle's integration point coordinates vx = elem.overlapCoords[elem.dim * ( elem.numPolyVert - 1 )] - elem.overlapCoords[0]; @@ -422,7 +422,7 @@ void GaussPolyIntTri( SurfaceContactElem const& elem, IntegPts& integ, int k ) integ.xy[( ( integ.ipDim ) * numTriPoints ) * j + ( integ.ipDim * k ) + 1] = x[1]; integ.xy[( ( integ.ipDim ) * numTriPoints ) * j + ( integ.ipDim * k ) + 2] = x[2]; } // end loop over number of ips per triangle - } // end loop over triangles + } // end loop over triangles delete[] coords; } diff --git a/src/tribol/interface/simple_tribol.cpp b/src/tribol/interface/simple_tribol.cpp index 8c33dbe3..88ddac14 100644 --- a/src/tribol/interface/simple_tribol.cpp +++ b/src/tribol/interface/simple_tribol.cpp @@ -65,8 +65,7 @@ void SimpleCouplingSetup( const int dim, int cell_type, int contact_method, int (void)dim; // quiet compiler if ( contact_method != tribol::MORTAR_WEIGHTS ) { - SLIC_ERROR( "SimpleCouplingSetup: simple API only works " - << "for MORTAR_WEIGHTS method." ); + SLIC_ERROR( "SimpleCouplingSetup: simple API only works " << "for MORTAR_WEIGHTS method." ); } // register mortar mesh diff --git a/src/tribol/interface/tribol.cpp b/src/tribol/interface/tribol.cpp index 236ab8cb..f31f1f69 100644 --- a/src/tribol/interface/tribol.cpp +++ b/src/tribol/interface/tribol.cpp @@ -12,7 +12,7 @@ #include "tribol/mesh/MethodCouplingData.hpp" #include "tribol/mesh/InterfacePairs.hpp" -//#include "tribol/geom/CompGeom.hpp" +// #include "tribol/geom/CompGeom.hpp" #include "tribol/geom/GeomUtilities.hpp" #include "tribol/physics/Physics.hpp" @@ -50,8 +50,8 @@ void setMPIComm( IndexT cs_id, CommT comm ) auto cs = CouplingSchemeManager::getInstance().findData( cs_id ); // check to see if coupling scheme exists - SLIC_ERROR_ROOT_IF( !cs, "tribol::setMPIComm(): call tribol::registerCouplingScheme() " - << "prior to calling this routine." ); + SLIC_ERROR_ROOT_IF( + !cs, "tribol::setMPIComm(): call tribol::registerCouplingScheme() " << "prior to calling this routine." ); cs->setMPIComm( comm ); } @@ -63,8 +63,8 @@ void setPenaltyOptions( IndexT cs_id, PenaltyConstraintType pen_enfrc_option, auto cs = CouplingSchemeManager::getInstance().findData( cs_id ); // check to see if coupling scheme exists - SLIC_ERROR_ROOT_IF( !cs, "tribol::setPenaltyOptions(): call tribol::registerCouplingScheme() " - << "prior to calling this routine." ); + SLIC_ERROR_ROOT_IF( + !cs, "tribol::setPenaltyOptions(): call tribol::registerCouplingScheme() " << "prior to calling this routine." ); // get access to struct on coupling scheme holding penalty options EnforcementOptions& enforcement_options = cs->getEnforcementOptions(); @@ -158,8 +158,8 @@ void setTimestepPenFrac( IndexT cs_id, RealT frac ) auto cs = CouplingSchemeManager::getInstance().findData( cs_id ); // check to see if coupling scheme exists - SLIC_ERROR_ROOT_IF( !cs, "tribol::setTimestepPenFrac(): call tribol::registerCouplingScheme() " - << "prior to calling this routine." ); + SLIC_ERROR_ROOT_IF( + !cs, "tribol::setTimestepPenFrac(): call tribol::registerCouplingScheme() " << "prior to calling this routine." ); if ( frac <= 0. ) { // Don't set the timestep_pen_frac. This will use default @@ -181,8 +181,8 @@ void setTimestepScale( IndexT cs_id, RealT scale ) auto cs = CouplingSchemeManager::getInstance().findData( cs_id ); // check to see if coupling scheme exists - SLIC_ERROR_ROOT_IF( !cs, "tribol::setTimestepScale(): call tribol::registerCouplingScheme() " - << "prior to calling this routine." ); + SLIC_ERROR_ROOT_IF( + !cs, "tribol::setTimestepScale(): call tribol::registerCouplingScheme() " << "prior to calling this routine." ); cs->getParameters().timestep_scale = scale; } @@ -192,12 +192,11 @@ void setContactAreaFrac( IndexT cs_id, RealT frac ) auto cs = CouplingSchemeManager::getInstance().findData( cs_id ); // check to see if coupling scheme exists - SLIC_ERROR_ROOT_IF( !cs, "tribol::setContactAreaFrac(): call tribol::registerCouplingScheme() " - << "prior to calling this routine." ); + SLIC_ERROR_ROOT_IF( + !cs, "tribol::setContactAreaFrac(): call tribol::registerCouplingScheme() " << "prior to calling this routine." ); if ( frac <= 0.0 ) { - SLIC_DEBUG_ROOT( "tribol::setContactAreaFrac(): area fraction <= 0.0; " - << "setting to default 1.e-8." ); + SLIC_DEBUG_ROOT( "tribol::setContactAreaFrac(): area fraction <= 0.0; " << "setting to default 1.e-8." ); frac = 1.e-8; } cs->getParameters().overlap_area_frac = frac; @@ -209,8 +208,7 @@ void setPenaltyScale( IndexT mesh_id, RealT scale ) { auto mesh = MeshManager::getInstance().findData( mesh_id ); - SLIC_ERROR_ROOT_IF( !mesh, "tribol::setPenaltyScale(): " - << "no mesh with id, " << mesh_id << "exists." ); + SLIC_ERROR_ROOT_IF( !mesh, "tribol::setPenaltyScale(): " << "no mesh with id, " << mesh_id << "exists." ); if ( scale > 1.e-6 ) { mesh->getElementData().m_penalty_scale = scale; @@ -278,8 +276,8 @@ void setPlotOptions( IndexT cs_id, enum VisType v_type ) auto cs = CouplingSchemeManager::getInstance().findData( cs_id ); // check to see if coupling scheme exists - SLIC_ERROR_ROOT_IF( !cs, "tribol::setPlotOptions(): call tribol::registerCouplingScheme() " - << "prior to calling this routine." ); + SLIC_ERROR_ROOT_IF( + !cs, "tribol::setPlotOptions(): call tribol::registerCouplingScheme() " << "prior to calling this routine." ); cs->getParameters().vis_type = v_type; @@ -291,8 +289,8 @@ void setOutputDirectory( IndexT cs_id, const std::string& dir ) auto cs = CouplingSchemeManager::getInstance().findData( cs_id ); // check to see if coupling scheme exists - SLIC_ERROR_ROOT_IF( !cs, "tribol::setOutputDirectory(): call tribol::registerCouplingScheme() " - << "prior to calling this routine." ); + SLIC_ERROR_ROOT_IF( + !cs, "tribol::setOutputDirectory(): call tribol::registerCouplingScheme() " << "prior to calling this routine." ); // Create path if it doesn't already exist if ( !axom::utilities::filesystem::pathExists( dir ) ) { @@ -310,12 +308,10 @@ void setLoggingLevel( IndexT cs_id, LoggingLevel log_level ) // get access to coupling scheme auto cs = CouplingSchemeManager::getInstance().findData( cs_id ); - SLIC_ERROR_IF( !cs, "tribol::setLoggingLevel(): " - << "invalid CouplingScheme id." ); + SLIC_ERROR_IF( !cs, "tribol::setLoggingLevel(): " << "invalid CouplingScheme id." ); if ( !in_range( static_cast( log_level ), static_cast( LoggingLevel::NUM_LOGGING_LEVELS ) ) ) { - SLIC_INFO_ROOT( "tribol::setLoggingLevel(): Logging level not an option; " - << "using 'warning' level." ); + SLIC_INFO_ROOT( "tribol::setLoggingLevel(): Logging level not an option; " << "using 'warning' level." ); cs->setLoggingLevel( LoggingLevel::WARNING ); } else { cs->setLoggingLevel( log_level ); @@ -347,8 +343,8 @@ void enableTimestepVote( IndexT cs_id, const bool enable ) auto cs = CouplingSchemeManager::getInstance().findData( cs_id ); // check to see if coupling scheme exists - SLIC_ERROR_ROOT_IF( !cs, "tribol::enableTimestepVote(): call tribol::registerCouplingScheme() " - << "prior to calling this routine." ); + SLIC_ERROR_ROOT_IF( + !cs, "tribol::enableTimestepVote(): call tribol::registerCouplingScheme() " << "prior to calling this routine." ); cs->getParameters().enable_timestep_vote = enable; @@ -360,8 +356,8 @@ void enableEnzyme( IndexT cs_id, [[maybe_unused]] bool use_enzyme ) auto cs = CouplingSchemeManager::getInstance().findData( cs_id ); // check to see if coupling scheme exists - SLIC_ERROR_ROOT_IF( !cs, "tribol::enableEnzyme(): call tribol::registerCouplingScheme() " - << "prior to calling this routine." ); + SLIC_ERROR_ROOT_IF( + !cs, "tribol::enableEnzyme(): call tribol::registerCouplingScheme() " << "prior to calling this routine." ); #ifdef TRIBOL_USE_ENZYME cs->enableEnzyme( use_enzyme ); @@ -385,8 +381,7 @@ void registerNodalDisplacements( IndexT mesh_id, const RealT* dx, const RealT* d { auto mesh = MeshManager::getInstance().findData( mesh_id ); - SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerNodalDisplacements(): " - << "no mesh with id, " << mesh_id << "exists." ); + SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerNodalDisplacements(): " << "no mesh with id, " << mesh_id << "exists." ); mesh->getNodalFields().m_is_nodal_displacement_set = true; @@ -409,8 +404,7 @@ void registerNodalVelocities( IndexT mesh_id, const RealT* vx, const RealT* vy, { auto mesh = MeshManager::getInstance().findData( mesh_id ); - SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerNodalVelocities(): " - << "no mesh with id, " << mesh_id << "exists." ); + SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerNodalVelocities(): " << "no mesh with id, " << mesh_id << "exists." ); mesh->getNodalFields().m_is_velocity_set = true; @@ -433,8 +427,7 @@ void registerNodalReferenceCoords( IndexT mesh_id, const RealT* xref, const Real { auto mesh = MeshManager::getInstance().findData( mesh_id ); - SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerNodalVelocities(): " - << "no mesh with id, " << mesh_id << "exists." ); + SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerNodalVelocities(): " << "no mesh with id, " << mesh_id << "exists." ); mesh->setReferencePosition( xref, yref, zref ); @@ -445,8 +438,7 @@ void registerNodalResponse( IndexT mesh_id, RealT* rx, RealT* ry, RealT* rz ) { auto mesh = MeshManager::getInstance().findData( mesh_id ); - SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerNodalResponse(): " - << "no mesh with id, " << mesh_id << "exists." ); + SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerNodalResponse(): " << "no mesh with id, " << mesh_id << "exists." ); mesh->getNodalFields().m_is_nodal_response_set = true; if ( rx == nullptr || ry == nullptr ) { @@ -468,14 +460,12 @@ int getJacobianSparseMatrix( mfem::SparseMatrix** sMat, IndexT cs_id ) { // note, SLIC_ERROR_ROOT_IF is not used here because it's possible not all ranks // will have method (i.e. mortar) data. - SLIC_ERROR_IF( *sMat != nullptr, "tribol::getJacobianSparseMatrix(): " - << "sparse matrix pointer not null." ); + SLIC_ERROR_IF( *sMat != nullptr, "tribol::getJacobianSparseMatrix(): " << "sparse matrix pointer not null." ); // get access to coupling scheme auto cs = CouplingSchemeManager::getInstance().findData( cs_id ); - SLIC_ERROR_IF( !cs, "tribol::getJacobianSparseMatrix(): " - << "invalid CouplingScheme id." ); + SLIC_ERROR_IF( !cs, "tribol::getJacobianSparseMatrix(): " << "invalid CouplingScheme id." ); switch ( cs->getContactMethod() ) { case MORTAR_WEIGHTS: @@ -506,8 +496,7 @@ int getJacobianCSRMatrix( int** I, int** J, RealT** vals, IndexT cs_id, int* n_o // Note, SLIC_<>_ROOT macros are not here because it's possible not all ranks will have // method data. - SLIC_ERROR_IF( !cs, "tribol::getJacobianCSRMatrix(): invalid " - << "CouplingScheme id." ); + SLIC_ERROR_IF( !cs, "tribol::getJacobianCSRMatrix(): invalid " << "CouplingScheme id." ); switch ( cs->getContactMethod() ) { case ALIGNED_MORTAR: { @@ -526,8 +515,7 @@ int getJacobianCSRMatrix( int** I, int** J, RealT** vals, IndexT cs_id, int* n_o return 1; } default: { - SLIC_WARNING( "tribol::getJacobianCSRMatrix(): method does not return matrix data; " - << "invalid call." ); + SLIC_WARNING( "tribol::getJacobianCSRMatrix(): method does not return matrix data; " << "invalid call." ); return 1; } } @@ -544,8 +532,7 @@ int getElementBlockJacobians( IndexT cs_id, BlockSpace row_block, BlockSpace col // Note, SLIC_<>_ROOT macros are not here because it's possible not all ranks will have // method data. - SLIC_ERROR_IF( !cs, "tribol::getElementBlockJacobians(): invalid " - << "CouplingScheme id." ); + SLIC_ERROR_IF( !cs, "tribol::getElementBlockJacobians(): invalid " << "CouplingScheme id." ); SparseMode sparse_mode = cs->getEnforcementOptions().lm_implicit_options.sparse_mode; if ( sparse_mode != SparseMode::MFEM_ELEMENT_DENSE ) { @@ -571,12 +558,10 @@ void registerMortarGaps( IndexT mesh_id, RealT* gaps ) { auto mesh = MeshManager::getInstance().findData( mesh_id ); - SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerMortarGaps(): " - << "no mesh with id " << mesh_id << " exists." ); + SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerMortarGaps(): " << "no mesh with id " << mesh_id << " exists." ); if ( gaps == nullptr && mesh->numberOfElements() > 0 ) { - SLIC_WARNING( "tribol::registerMortarGaps(): null pointer to gap data " - << "on non-null mesh " << mesh_id << "." ); + SLIC_WARNING( "tribol::registerMortarGaps(): null pointer to gap data " << "on non-null mesh " << mesh_id << "." ); mesh->isMeshValid() = false; } else { mesh->getNodalFields().m_node_gap = ArrayViewT( gaps, mesh->numberOfNodes() ); @@ -590,12 +575,11 @@ void registerMortarPressures( IndexT mesh_id, const RealT* pressures ) { auto mesh = MeshManager::getInstance().findData( mesh_id ); - SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerMortarPressures(): " - << "no mesh with id " << mesh_id << " exists." ); + SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerMortarPressures(): " << "no mesh with id " << mesh_id << " exists." ); if ( pressures == nullptr && mesh->numberOfElements() > 0 ) { - SLIC_WARNING( "tribol::registerMortarPressures(): null pointer to pressure data " - << "on non-null mesh " << mesh_id << "." ); + SLIC_WARNING( "tribol::registerMortarPressures(): null pointer to pressure data " << "on non-null mesh " << mesh_id + << "." ); mesh->isMeshValid() = false; } else { mesh->getNodalFields().m_node_pressure = ArrayViewT( pressures, mesh->numberOfNodes() ); @@ -609,8 +593,7 @@ void registerIntNodalField( IndexT mesh_id, const IntNodalFields field, int* TRI { auto mesh = MeshManager::getInstance().findData( mesh_id ); - SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerIntNodalField(): " - << "no mesh with id " << mesh_id << " exists." ); + SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerIntNodalField(): " << "no mesh with id " << mesh_id << " exists." ); switch ( field ) { case UNDEFINED_INT_NODAL_FIELD: @@ -625,8 +608,7 @@ void registerRealElementField( IndexT mesh_id, const RealElementFields field, co { auto mesh = MeshManager::getInstance().findData( mesh_id ); - SLIC_ERROR_IF( !mesh, "tribol::registerRealElementField(): " - << "no mesh with id " << mesh_id << " exists." ); + SLIC_ERROR_IF( !mesh, "tribol::registerRealElementField(): " << "no mesh with id " << mesh_id << " exists." ); switch ( field ) { case KINEMATIC_CONSTANT_STIFFNESS: { @@ -677,8 +659,8 @@ void registerRealElementField( IndexT mesh_id, const RealElementFields field, co case BULK_MODULUS: { if ( fieldVariable == nullptr ) { if ( mesh->numberOfElements() > 0 ) { - SLIC_ERROR( "tribol::registerRealElementField(): null pointer to data for " - << "'BULK_MODULUS' on mesh " << mesh_id << "." ); + SLIC_ERROR( "tribol::registerRealElementField(): null pointer to data for " << "'BULK_MODULUS' on mesh " + << mesh_id << "." ); mesh->getElementData().m_is_kinematic_element_penalty_set = false; } else { // set boolean to true for zero element meshes (acceptable registration) @@ -700,8 +682,8 @@ void registerRealElementField( IndexT mesh_id, const RealElementFields field, co case YOUNGS_MODULUS: { if ( fieldVariable == nullptr ) { if ( mesh->numberOfElements() > 0 ) { - SLIC_ERROR( "tribol::registerRealElementField(): null pointer to data for " - << "'YOUNGS_MODULUS' on mesh " << mesh_id << "." ); + SLIC_ERROR( "tribol::registerRealElementField(): null pointer to data for " << "'YOUNGS_MODULUS' on mesh " + << mesh_id << "." ); mesh->getElementData().m_is_kinematic_element_penalty_set = false; } else { // set boolean to true for zero element meshes (acceptable registration) @@ -723,8 +705,8 @@ void registerRealElementField( IndexT mesh_id, const RealElementFields field, co case ELEMENT_THICKNESS: { if ( fieldVariable == nullptr ) { if ( mesh->numberOfElements() > 0 ) { - SLIC_ERROR( "tribol::registerRealElementField(): null pointer to data for " - << "'ELEMENT_THICKNESS' on mesh " << mesh_id << "." ); + SLIC_ERROR( "tribol::registerRealElementField(): null pointer to data for " << "'ELEMENT_THICKNESS' on mesh " + << mesh_id << "." ); mesh->getElementData().m_is_kinematic_element_penalty_set = false; } else { // set booleans to true for zero element meshes (acceptable registration) @@ -773,8 +755,7 @@ void registerIntElementField( IndexT mesh_id, const IntElementFields field, int* { auto mesh = MeshManager::getInstance().findData( mesh_id ); - SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerIntElementField(): " - << "no mesh with id " << mesh_id << " exists." ); + SLIC_ERROR_ROOT_IF( !mesh, "tribol::registerIntElementField(): " << "no mesh with id " << mesh_id << " exists." ); switch ( field ) { case UNDEFINED_INT_ELEMENT_FIELD: diff --git a/src/tribol/mesh/CouplingScheme.cpp b/src/tribol/mesh/CouplingScheme.cpp index e5b54b70..3f5d2d2e 100644 --- a/src/tribol/mesh/CouplingScheme.cpp +++ b/src/tribol/mesh/CouplingScheme.cpp @@ -539,7 +539,7 @@ bool CouplingScheme::isValidCase() default: this->m_parameters.auto_contact_check = false; } // end switch on case - } // end if check on common-plane + } // end if check on common-plane return isValid; } // end CouplingScheme::isValidCase() @@ -813,7 +813,7 @@ int CouplingScheme::checkEnforcementData() // no-op break; } // end switch over enforcement method - } // end case COMMON_PLANE + } // end case COMMON_PLANE default: // no-op break; @@ -1111,8 +1111,8 @@ int CouplingScheme::apply( int cycle, RealT t, RealT& dt ) // appropriate physics in the normal and tangential directions. int err = ApplyInterfacePhysics( this, cycle, t ); - SLIC_WARNING_IF( err != 0, "CouplingScheme::apply(): error in ApplyInterfacePhysics for " - << "coupling scheme, " << this->m_id << "." ); + SLIC_WARNING_IF( err != 0, "CouplingScheme::apply(): error in ApplyInterfacePhysics for " << "coupling scheme, " + << this->m_id << "." ); // compute Tribol timestep vote on the coupling scheme if ( err == 0 && getNumActivePairs() > 0 ) { @@ -1202,7 +1202,7 @@ void CouplingScheme::setSlicLoggingLevel() break; } } // end switch - } // end if + } // end if } //------------------------------------------------------------------------------ @@ -1703,11 +1703,11 @@ void CouplingScheme::writeInterfaceOutput( const std::string& dir, const VisType break; default: // Can this be called on root? SRW - SLIC_INFO( "CouplingScheme::writeInterfaceOutput(): " - << "output routine not yet written for interface method. " ); + SLIC_INFO( + "CouplingScheme::writeInterfaceOutput(): " << "output routine not yet written for interface method. " ); break; } // end-switch - } // end-if + } // end-if return; } diff --git a/src/tribol/mesh/MeshData.cpp b/src/tribol/mesh/MeshData.cpp index 523dc707..bc2b5be0 100644 --- a/src/tribol/mesh/MeshData.cpp +++ b/src/tribol/mesh/MeshData.cpp @@ -43,22 +43,20 @@ bool MeshElemData::isValidKinematicPenalty( PenaltyEnforcementOptions& pen_optio switch ( kin_calc ) { case KINEMATIC_CONSTANT: { if ( !this->m_is_kinematic_constant_penalty_set ) { - SLIC_WARNING( "MeshElemData::isValidKinematicPenalty(): " - << "single stiffness penalty not set." ); + SLIC_WARNING( "MeshElemData::isValidKinematicPenalty(): " << "single stiffness penalty not set." ); return false; } else if ( this->m_penalty_stiffness < pen_options.tiny_penalty ) { - SLIC_WARNING( "MeshElemData::isValidKinematicPenalty(): " - << "single stiffness penalty less than threshold (" << pen_options.tiny_penalty - << "). Consider increasing " - << "for your problem." ); + SLIC_WARNING( "MeshElemData::isValidKinematicPenalty(): " << "single stiffness penalty less than threshold (" + << pen_options.tiny_penalty + << "). Consider increasing " + << "for your problem." ); return false; } break; } // end case KINEMATIC_CONSTANT case KINEMATIC_ELEMENT: { if ( !this->m_is_kinematic_element_penalty_set ) { - SLIC_WARNING( "MeshElemData::isValidKinematicPenalty(): " - << "element-wise penalty data not set." ); + SLIC_WARNING( "MeshElemData::isValidKinematicPenalty(): " << "element-wise penalty data not set." ); return false; } @@ -143,26 +141,22 @@ bool MeshElemData::isValidRatePenalty( PenaltyEnforcementOptions& pen_options ) } // end case NONE case RATE_CONSTANT: { if ( !this->m_is_rate_constant_penalty_set ) { - SLIC_WARNING( "MeshElemData::isValidRatePenalty(): " - << "constant rate penalty data not set." ); + SLIC_WARNING( "MeshElemData::isValidRatePenalty(): " << "constant rate penalty data not set." ); return false; } else if ( this->m_rate_penalty_stiffness < pen_options.tiny_penalty ) { - SLIC_WARNING( "MeshElemData::isValidRatePenalty(): " - << "constant rate penalty less than threshold (" << pen_options.tiny_penalty - << "). Consider increasing " - << "for your problem." ); + SLIC_WARNING( "MeshElemData::isValidRatePenalty(): " << "constant rate penalty less than threshold (" + << pen_options.tiny_penalty << "). Consider increasing " + << "for your problem." ); return false; } break; } // end case RATE_CONSTANT case RATE_PERCENT: { if ( !this->m_is_rate_percent_penalty_set ) { - SLIC_WARNING( "MeshElemData::isValidRatePenalty(): " - << "percent rate penalty data not set." ); + SLIC_WARNING( "MeshElemData::isValidRatePenalty(): " << "percent rate penalty data not set." ); return false; } else if ( this->m_rate_percent_stiffness < 0.0 ) { - SLIC_WARNING( "MeshElemData::isValidRatePenalty(): " - << "rate percent penalty less than 0." ); + SLIC_WARNING( "MeshElemData::isValidRatePenalty(): " << "rate percent penalty less than 0." ); return false; } break; @@ -210,8 +204,8 @@ MeshData::MeshData( IndexT mesh_id, IndexT num_elements, IndexT num_nodes, const m_is_valid = false; } if ( connectivity == nullptr ) { - SLIC_WARNING_ROOT( "tribol::MeshData(): pointer to mesh connectivity is " - << "a null pointer for mesh id " << m_mesh_id << "." ); + SLIC_WARNING_ROOT( "tribol::MeshData(): pointer to mesh connectivity is " << "a null pointer for mesh id " + << m_mesh_id << "." ); } } @@ -305,9 +299,9 @@ Array1D MeshData::sortSurfaceNodeIds() // compute number of unique integer ids int unique_size = sorted_conn.size() - num_dup; - SLIC_ERROR_IF( unique_size <= 0, "MeshData::sortSurfaceNodeIds(): " - << "invalid connectivity array; " - << "only single unique id in connectivity array." ); + SLIC_ERROR_IF( unique_size <= 0, + "MeshData::sortSurfaceNodeIds(): " << "invalid connectivity array; " + << "only single unique id in connectivity array." ); // allocate array to store unique, sorted node ids on mesh object auto sorted_surface_node_ids = ArrayT( 0, unique_size ); @@ -448,7 +442,7 @@ bool MeshData::computeFaceData( ExecutionMode exec_mode, ElemNormalMethod elem_n for ( IndexT d{ 0 }; d < dim; ++d ) { n[d][i] = n_elem[d]; } - } // end if (dim == 3) + } // end if (dim == 3) } ); // end element loop ArrayT face_data_ok_host( face_data_ok_data ); @@ -531,7 +525,7 @@ int MeshData::checkPenaltyData( PenaltyEnforcementOptions& p_enfrc_options, Exec // no-op, quiet compiler break; } // end switch over constraint types - } // end if-non-null mesh + } // end if-non-null mesh return err; } // end MeshData::checkPenaltyData() diff --git a/src/tribol/mesh/MethodCouplingData.cpp b/src/tribol/mesh/MethodCouplingData.cpp index 8fe8b868..2f1dd4ad 100644 --- a/src/tribol/mesh/MethodCouplingData.cpp +++ b/src/tribol/mesh/MethodCouplingData.cpp @@ -358,7 +358,7 @@ void MortarData::assembleJacobian( SurfaceContactElem& elem, SparseMode s_mode ) // Jacobian } // end loop over b nodes - } // end loop over a nodes + } // end loop over a nodes return; } // end of MortarData::assembleJacobian() @@ -410,12 +410,11 @@ void MortarData::assembleMortarWts( SurfaceContactElem& elem, SparseMode s_mode this->m_smat->Add( nonmortarNodeIdA, mortarNodeIdB, elem.getNonmortarMortarWt( a, b ) ); this->m_smat->Add( nonmortarNodeIdA, nonmortarNodeIdB, elem.getNonmortarNonmortarWt( a, b ) ); } else if ( s_mode == SparseMode::MFEM_INDEX_SET ) { - SLIC_ERROR( "MortarData::assembleMortarWts() MFEM_INDEX_SET " - << "not implemented." ); + SLIC_ERROR( "MortarData::assembleMortarWts() MFEM_INDEX_SET " << "not implemented." ); } } // end loop over b nodes (columns) - } // end loop over a nodes (rows) + } // end loop over a nodes (rows) return; } // end of MortarData::assembleMortarWts() diff --git a/src/tribol/mesh/MethodCouplingData.hpp b/src/tribol/mesh/MethodCouplingData.hpp index c1be4822..0e937d84 100644 --- a/src/tribol/mesh/MethodCouplingData.hpp +++ b/src/tribol/mesh/MethodCouplingData.hpp @@ -203,7 +203,7 @@ class MethodData { /*! * \brief Destructor */ - ~MethodData(){}; + ~MethodData() {}; /*! * \brief allocate element Jacobian matrix storage diff --git a/src/tribol/physics/AlignedMortar.cpp b/src/tribol/physics/AlignedMortar.cpp index b2698f60..efa83c7c 100644 --- a/src/tribol/physics/AlignedMortar.cpp +++ b/src/tribol/physics/AlignedMortar.cpp @@ -68,8 +68,8 @@ void ComputeAlignedMortarWeights( SurfaceContactElem& elem ) elem.mortarWts[mortarNonmortarId] += integ.wts[ip] * phiMortarA * phiNonmortarB; } // end loop over integration points - } // end loop over nodes on side 2 - } // end loop over nodes on side 1 + } // end loop over nodes on side 2 + } // end loop over nodes on side 1 } // end ComputeAlignedMortarWeights() diff --git a/src/tribol/physics/Physics.cpp b/src/tribol/physics/Physics.cpp index edc924b5..b5cba905 100644 --- a/src/tribol/physics/Physics.cpp +++ b/src/tribol/physics/Physics.cpp @@ -54,7 +54,7 @@ int ApplyInterfacePhysics( CouplingScheme* cs, int TRIBOL_UNUSED_PARAM( cycle ), break; default: break; - } // end switch over enforcement method + } // end switch over enforcement method break; // end case COMMON_PLANE case SINGLE_MORTAR: @@ -70,7 +70,7 @@ int ApplyInterfacePhysics( CouplingScheme* cs, int TRIBOL_UNUSED_PARAM( cycle ), break; default: break; - } // end switch on enforcement method + } // end switch on enforcement method break; // end case SINGLE_MORTAR case ALIGNED_MORTAR: @@ -86,7 +86,7 @@ int ApplyInterfacePhysics( CouplingScheme* cs, int TRIBOL_UNUSED_PARAM( cycle ), break; default: break; - } // end switch on enforcement method + } // end switch on enforcement method break; // end case ALIGNED_MORTAR case MORTAR_WEIGHTS: @@ -104,22 +104,20 @@ int ApplyInterfacePhysics( CouplingScheme* cs, int TRIBOL_UNUSED_PARAM( cycle ), // error checking if ( err_nrml != 0 ) { // note, not all ranks will get here if a rank has null-meshes - SLIC_WARNING( "ApplyInterfacePhysics: error in application of " - << "'normal' physics method for " - << "coupling scheme, " << cs->getId() << "." ); + SLIC_WARNING( "ApplyInterfacePhysics: error in application of " << "'normal' physics method for " + << "coupling scheme, " << cs->getId() << "." ); return err_nrml; } else if ( err_tang != 0 ) { // note, not all ranks will get here if a rank has null-meshes - SLIC_WARNING( "ApplyInterfacePhysics: error in application of " - << "'tangential' physics method for " - << "coupling scheme, " << cs->getId() << "." ); + SLIC_WARNING( "ApplyInterfacePhysics: error in application of " << "'tangential' physics method for " + << "coupling scheme, " << cs->getId() << "." ); return err_tang; } else if ( err_data != 0 ) { // note, not all ranks will get here if a rank has null-meshes - SLIC_WARNING( "ApplyInterfacePhysics: error in call to " - << "GetMethodData for coupling scheme, " << cs->getId() << "." ); + SLIC_WARNING( "ApplyInterfacePhysics: error in call to " << "GetMethodData for coupling scheme, " << cs->getId() + << "." ); return err_data; } else { // no error diff --git a/src/tribol/search/InterfacePairFinder.cpp b/src/tribol/search/InterfacePairFinder.cpp index 1bd53373..d2476e01 100644 --- a/src/tribol/search/InterfacePairFinder.cpp +++ b/src/tribol/search/InterfacePairFinder.cpp @@ -159,8 +159,8 @@ TRIBOL_HOST_DEVICE bool geomFilter( const CouplingScheme::Viewer& cs_view, Index */ class SearchBase { public: - SearchBase(){}; - virtual ~SearchBase(){}; + SearchBase() {}; + virtual ~SearchBase() {}; /*! * Prepares the object for spatial searches */ @@ -392,9 +392,8 @@ class GridSearch : public SearchBase { // Output some info for debugging if ( true ) { - SLIC_DEBUG( "Implicit Grid info: " - << "\n Mesh 1 bounding box (inflated): " << m_gridBBox << "\n Avg range: " << ranges - << "\n Computed resolution: " << resolution ); + SLIC_DEBUG( "Implicit Grid info: " << "\n Mesh 1 bounding box (inflated): " << m_gridBBox + << "\n Avg range: " << ranges << "\n Computed resolution: " << resolution ); SpatialBoundingBox bbox2; for ( int i = 0; i < m_mesh2.numberOfElements(); ++i ) { diff --git a/src/tribol/utils/ContactPlaneOutput.cpp b/src/tribol/utils/ContactPlaneOutput.cpp index 0e575411..94cf7736 100644 --- a/src/tribol/utils/ContactPlaneOutput.cpp +++ b/src/tribol/utils/ContactPlaneOutput.cpp @@ -94,8 +94,7 @@ void WriteContactPlaneMeshToVtk( const std::string& dir, const VisType v_type, c default: // Can this be output on root? SRW overlaps = true; // set default for now; refactoring - SLIC_INFO( "WriteInterfaceMeshToVtk: visualization type not supported." - << " Printing overlaps only." ); + SLIC_INFO( "WriteInterfaceMeshToVtk: visualization type not supported." << " Printing overlaps only." ); break; } // end switch( v_type ) @@ -172,7 +171,7 @@ void WriteContactPlaneMeshToVtk( const std::string& dir, const VisType v_type, c dim == 3 ? mesh2.getPosition()[2][nodeId] : 0. ); } } // end else - } // end i-loop over contact planes outputting face coordinates + } // end i-loop over contact planes outputting face coordinates // output face polygon connectivity. Number of points is the number of face polygon // vertices + an index for each face for each contact plane @@ -405,8 +404,7 @@ void WriteContactPlaneMeshToVtk( const std::string& dir, const VisType v_type, c const int mesh2_element_id = GetVtkElementId( mesh2.getElementType() ); if ( mesh1_element_id <= 0 || mesh2_element_id <= 0 ) { - SLIC_ERROR( "WriteInterfaceMeshToVtk(): " - << "element type not supported by vtk." ); + SLIC_ERROR( "WriteInterfaceMeshToVtk(): " << "element type not supported by vtk." ); } mesh << "CELL_TYPES " << numTotalElements << std::endl; diff --git a/src/tribol/utils/Math.cpp b/src/tribol/utils/Math.cpp index 282ba762..6754b4d2 100644 --- a/src/tribol/utils/Math.cpp +++ b/src/tribol/utils/Math.cpp @@ -121,8 +121,7 @@ RealT abs_val_diff( RealT val1, RealT val2 ) { return std::abs( val1 - val2 ); } //------------------------------------------------------------------------------ void allocRealArray( RealT** arr, int length, RealT init_val ) { - SLIC_ERROR_IF( length == 0, "allocRealArray: please specify nonzero length " - << "for array allocation." ); + SLIC_ERROR_IF( length == 0, "allocRealArray: please specify nonzero length " << "for array allocation." ); *arr = new RealT[length]; initRealArray( *arr, length, init_val ); @@ -131,8 +130,7 @@ void allocRealArray( RealT** arr, int length, RealT init_val ) //------------------------------------------------------------------------------ void allocRealArray( RealT** arr, const int length, const RealT* const data ) { - SLIC_ERROR_IF( length == 0, "allocRealArray: please specify nonzero length " - << "for array allocation." ); + SLIC_ERROR_IF( length == 0, "allocRealArray: please specify nonzero length " << "for array allocation." ); if ( data == nullptr ) { SLIC_ERROR( "allocRealArray: input data pointer not set." ); @@ -150,8 +148,7 @@ void allocRealArray( RealT** arr, const int length, const RealT* const data ) //------------------------------------------------------------------------------ void allocIntArray( int** arr, int length, int init_val ) { - SLIC_ERROR_IF( length == 0, "allocIntArray: please specify nonzero length " - << "for array allocation." ); + SLIC_ERROR_IF( length == 0, "allocIntArray: please specify nonzero length " << "for array allocation." ); *arr = new int[length]; initIntArray( *arr, length, init_val ); @@ -160,8 +157,7 @@ void allocIntArray( int** arr, int length, int init_val ) //------------------------------------------------------------------------------ void allocIntArray( int** arr, const int length, const int* const data ) { - SLIC_ERROR_IF( length == 0, "allocIntArray: please specify nonzero length " - << "for array allocation." ); + SLIC_ERROR_IF( length == 0, "allocIntArray: please specify nonzero length " << "for array allocation." ); if ( data == nullptr ) { SLIC_ERROR( "allocIntArray: input data pointer not set." ); @@ -180,8 +176,7 @@ void allocIntArray( int** arr, const int length, const int* const data ) template void allocArray( T** arr, int length, T init_val ) { - SLIC_ERROR_IF( length == 0, "allocIntArray: please specify nonzero length " - << "for array allocation." ); + SLIC_ERROR_IF( length == 0, "allocIntArray: please specify nonzero length " << "for array allocation." ); *arr = new T[length]; initArray( *arr, length, init_val ); @@ -192,8 +187,7 @@ template void allocArray( IndexT** arr, int length, IndexT init_val ); //------------------------------------------------------------------------------ void allocBoolArray( bool** arr, int length, bool init_val ) { - SLIC_ERROR_IF( length == 0, "allocBoolArray: please specify nonzero length " - << "for array allocation." ); + SLIC_ERROR_IF( length == 0, "allocBoolArray: please specify nonzero length " << "for array allocation." ); *arr = new bool[length]; initBoolArray( *arr, length, init_val ); @@ -204,8 +198,7 @@ template TRIBOL_HOST_DEVICE void initArray( T* arr, int length, T init_val ) { #ifdef TRIBOL_USE_HOST - SLIC_ERROR_IF( arr == nullptr, "initIntArray(): " - << "input pointer to array is null." ); + SLIC_ERROR_IF( arr == nullptr, "initIntArray(): " << "input pointer to array is null." ); #endif for ( int i = 0; i < length; ++i ) { arr[i] = init_val; diff --git a/src/tribol/utils/Math.hpp b/src/tribol/utils/Math.hpp index f45ac161..a00606a1 100644 --- a/src/tribol/utils/Math.hpp +++ b/src/tribol/utils/Math.hpp @@ -107,8 +107,7 @@ void allocBoolArray( bool** arr, int length, bool init_val ); TRIBOL_HOST_DEVICE inline void initRealArray( RealT* arr, int length, RealT init_val ) { #if defined( TRIBOL_USE_HOST ) && !defined( TRIBOL_USE_ENZYME ) - SLIC_ERROR_IF( arr == nullptr, "initRealArray(): " - << "input pointer to array is null." ); + SLIC_ERROR_IF( arr == nullptr, "initRealArray(): " << "input pointer to array is null." ); #endif for ( int i = 0; i < length; ++i ) { @@ -120,8 +119,7 @@ TRIBOL_HOST_DEVICE inline void initRealArray( RealT* arr, int length, RealT init TRIBOL_HOST_DEVICE inline void initIntArray( int* arr, int length, int init_val ) { #if defined( TRIBOL_USE_HOST ) && !defined( TRIBOL_USE_ENZYME ) - SLIC_ERROR_IF( arr == nullptr, "initIntArray(): " - << "input pointer to array is null." ); + SLIC_ERROR_IF( arr == nullptr, "initIntArray(): " << "input pointer to array is null." ); #endif for ( int i = 0; i < length; ++i ) { arr[i] = init_val; @@ -136,8 +134,7 @@ TRIBOL_HOST_DEVICE void initArray( T* arr, int length, T init_val ); TRIBOL_HOST_DEVICE inline void initBoolArray( bool* arr, int length, bool init_val ) { #if defined( TRIBOL_USE_HOST ) && !defined( TRIBOL_USE_ENZYME ) - SLIC_ERROR_IF( arr == nullptr, "initBoolArray(): " - << "input pointer to array is null." ); + SLIC_ERROR_IF( arr == nullptr, "initBoolArray(): " << "input pointer to array is null." ); #endif for ( int i = 0; i < length; ++i ) { arr[i] = init_val; diff --git a/src/tribol/utils/TestUtils.cpp b/src/tribol/utils/TestUtils.cpp index 86b855e4..9b6eff19 100644 --- a/src/tribol/utils/TestUtils.cpp +++ b/src/tribol/utils/TestUtils.cpp @@ -315,13 +315,13 @@ void TestMesh::setupContactMeshHex( int numElemsX1, int numElemsY1, int numElems RealT h2 = ( zMax2 - zMin2 ) / numElemsZ2; RealT mesh_gap = zMin2 - zMax1; - SLIC_ERROR_IF( mesh_gap < -h1, "TestMesh::setupContactMeshHex(): " - << "Initial mesh configuration has a gap greater than the " - << "element thickness in block 1." ); + SLIC_ERROR_IF( mesh_gap < -h1, + "TestMesh::setupContactMeshHex(): " << "Initial mesh configuration has a gap greater than the " + << "element thickness in block 1." ); - SLIC_ERROR_IF( mesh_gap < -h2, "TestMesh::setupContactMeshHex(): " - << "Initial mesh configuration has a gap greater than the " - << "element thickness in block 2." ); + SLIC_ERROR_IF( mesh_gap < -h2, + "TestMesh::setupContactMeshHex(): " << "Initial mesh configuration has a gap greater than the " + << "element thickness in block 2." ); numElementsBlock1 = numElemsX1 * numElemsY1 * numElemsZ1; numNodesBlock1 = ( numElemsX1 + 1 ) * ( numElemsY1 + 1 ) * ( numElemsZ1 + 1 ); @@ -429,8 +429,8 @@ void TestMesh::setupContactMeshHex( int numElemsX1, int numElemsY1, int numElems this->z[idx] = xyz[2]; ++ctr; } // end loop over x nodes - } // end loop over y nodes - } // end loop over z nodes + } // end loop over y nodes + } // end loop over z nodes // populate element connectivity arrays ctr = 0; @@ -453,8 +453,8 @@ void TestMesh::setupContactMeshHex( int numElemsX1, int numElemsY1, int numElems ++ctr; } // end loop over x elements - } // end loop over y elements - } // end loop over z elements + } // end loop over y elements + } // end loop over z elements // populate contact surface connectivity // Note: element connectivity is not necessarily consistent with outward unit normal at @@ -622,8 +622,8 @@ void TestMesh::setupContactMeshTet( int numElemsX1, int numElemsY1, int numElems ++ctr; // incrememnt for next local tet } // end loop over x elements - } // end loop over y elements - } // end loop over z elements + } // end loop over y elements + } // end loop over z elements // populate contact surface connectivity // Note: element connectivity is not necessarily consistent with outward unit normal at @@ -681,7 +681,7 @@ void TestMesh::setupContactMeshTet( int numElemsX1, int numElemsY1, int numElems ++ctr; // increment counter to next tet face } } // end loop over x-direction elements - } // end loop over y-direction elements + } // end loop over y-direction elements } // end for loop over blocks @@ -833,12 +833,11 @@ void TestMesh::allocateAndSetVelocities( IndexT mesh_id, RealT valX, RealT valY, registered_velocities2 = true; } else { - SLIC_ERROR( "TestMesh::allocateAndSetVelocities(): " - << "not a valid mesh id." ); + SLIC_ERROR( "TestMesh::allocateAndSetVelocities(): " << "not a valid mesh id." ); } - SLIC_DEBUG_IF( deleteVels, "TestMesh::allocateAndSetVelocities(): " - << "a velocity array has been deleted and reallocated." ); + SLIC_DEBUG_IF( deleteVels, + "TestMesh::allocateAndSetVelocities(): " << "a velocity array has been deleted and reallocated." ); } // end TestMesh::allocateAndSetVelocities() @@ -869,8 +868,7 @@ void TestMesh::allocateAndSetBulkModulus( IndexT mesh_id, RealT val ) allocRealArray( &this->nonmortar_bulk_mod, this->numNonmortarFaces, val ); } else { - SLIC_ERROR( "TestMesh::allocateAndSetBulkModulus(): " - << "not a valid mesh id." ); + SLIC_ERROR( "TestMesh::allocateAndSetBulkModulus(): " << "not a valid mesh id." ); } SLIC_DEBUG_IF( deleteData, "TestMesh::allocateAndSetBulkModulus(): " @@ -898,8 +896,7 @@ void TestMesh::allocateAndSetElementThickness( IndexT mesh_id, RealT t ) allocRealArray( &this->nonmortar_element_thickness, this->numNonmortarFaces, t ); } else { - SLIC_ERROR( "TestMesh::allocateAndSetElementThickness(): " - << "not a valid mesh id." ); + SLIC_ERROR( "TestMesh::allocateAndSetElementThickness(): " << "not a valid mesh id." ); } SLIC_DEBUG_IF( deleteData, "TestMesh::allocateAndSetElementThickness(): " @@ -1027,16 +1024,16 @@ int TestMesh::tribolSetupAndUpdate( ContactMethod method, EnforcementMethod enfo setKinematicConstantPenalty( this->nonmortarMeshId, params.const_penalty ); } else { if ( this->mortar_bulk_mod == nullptr ) { - SLIC_DEBUG_ROOT( "TestMesh::tribolSetupAndUpdate(): " - << "mortar_bulk_mod not set; registering default value." ); + SLIC_DEBUG_ROOT( + "TestMesh::tribolSetupAndUpdate(): " << "mortar_bulk_mod not set; registering default value." ); this->mortar_bulk_mod = new RealT[this->numMortarFaces]; for ( int i = 0; i < this->numMortarFaces; ++i ) { this->mortar_bulk_mod[i] = params.const_penalty; // non-physical for testing } } if ( this->mortar_element_thickness == nullptr ) { - SLIC_DEBUG_ROOT( "TestMesh::tribolSetupAndUpdate(): " - << "mortar_element_thickness not set; registering default value." ); + SLIC_DEBUG_ROOT( + "TestMesh::tribolSetupAndUpdate(): " << "mortar_element_thickness not set; registering default value." ); this->mortar_element_thickness = new RealT[this->numMortarFaces]; for ( int i = 0; i < this->numMortarFaces; ++i ) { this->mortar_element_thickness[i] = 1.; // non-physical for testing @@ -1044,16 +1041,16 @@ int TestMesh::tribolSetupAndUpdate( ContactMethod method, EnforcementMethod enfo } if ( this->nonmortar_bulk_mod == nullptr ) { - SLIC_DEBUG_ROOT( "TestMesh::tribolSetupAndUpdate(): " - << "nonmortar_bulk_mod not set; registering default value." ); + SLIC_DEBUG_ROOT( + "TestMesh::tribolSetupAndUpdate(): " << "nonmortar_bulk_mod not set; registering default value." ); this->nonmortar_bulk_mod = new RealT[this->numNonmortarFaces]; for ( int i = 0; i < this->numNonmortarFaces; ++i ) { this->nonmortar_bulk_mod[i] = params.const_penalty; // non-physical for testing } } if ( this->nonmortar_element_thickness == nullptr ) { - SLIC_DEBUG_ROOT( "TestMesh::tribolSetupAndUpdate(): " - << "nonmortar_element_thickness not set; registering default value." ); + SLIC_DEBUG_ROOT( + "TestMesh::tribolSetupAndUpdate(): " << "nonmortar_element_thickness not set; registering default value." ); this->nonmortar_element_thickness = new RealT[this->numNonmortarFaces]; for ( int i = 0; i < this->numNonmortarFaces; ++i ) { this->nonmortar_element_thickness[i] = 1.; // non-physical for testing @@ -1346,8 +1343,8 @@ void TestMesh::setupPatchTestPressureDofs( IndexT mesh_id, int numElemsX, int nu //------------------------------------------------------------------------------ void TestMesh::setupMfemMesh( bool fix_orientation ) { - SLIC_ERROR_IF( !this->mesh_constructed, "TestMesh::setupMfemMesh(): " - << "test mesh must be constructed prior to calling this routine." ); + SLIC_ERROR_IF( !this->mesh_constructed, + "TestMesh::setupMfemMesh(): " << "test mesh must be constructed prior to calling this routine." ); SLIC_ERROR_IF( this->dim != 3, "TestMesh::setupMfemMesh(): Mfem meshes of dimension, " << this->dim << ", are not supported at this time." ); @@ -1381,7 +1378,7 @@ void TestMesh::setupMfemMesh( bool fix_orientation ) SLIC_ERROR( "Element type not supported for creating mfem mesh from test mesh." ); } } // end switch on surface element type - } // end loop over mortar elements + } // end loop over mortar elements for ( int i = 0; i < this->numMortarNodes; ++i ) { RealT vert[3] = { 0., 0., 0. }; @@ -1414,7 +1411,7 @@ void TestMesh::setupMfemMesh( bool fix_orientation ) SLIC_ERROR( "Element type not supported for creating mfem mesh from test mesh." ); } } // end switch on surface element type - } // end loop over nonmortar elements + } // end loop over nonmortar elements for ( int i = 0; i < this->numNonmortarNodes; ++i ) { RealT vert[3] = { 0., 0., 0. }; @@ -1492,8 +1489,8 @@ void TestMesh::computeEquilibriumJacobian( mfem::SparseMatrix* const A, mfem::El void TestMesh::computeElementJacobianContributions( mfem::SparseMatrix* const A, mfem::ElasticityIntegrator* eInt, mfem::FiniteElementSpace* fe_space, bool matrixDebug ) { - SLIC_ERROR_IF( A == nullptr, "TestMesh::computeElementJacobianContributions(): " - << "input pointer to sparse matrix is null." ); + SLIC_ERROR_IF( A == nullptr, + "TestMesh::computeElementJacobianContributions(): " << "input pointer to sparse matrix is null." ); SLIC_ERROR_IF( eInt == nullptr, "TestMesh::computeElementJacobianContributions(): " << "input pointer to elasticity integrator is null." ); SLIC_ERROR_IF( fe_space == nullptr, "TestMesh::computeElementJacobianContributions(): " @@ -1560,18 +1557,16 @@ void TestMesh::computeElementJacobianContributions( mfem::SparseMatrix* const A, } } // end loop over column dofs - } // end loop over row dofs - } // end of loop over elements + } // end loop over row dofs + } // end of loop over elements } // end TestMesh::computeElementJacobianContributions() //------------------------------------------------------------------------------ void TestMesh::tribolMatrixToSystemMatrix( mfem::DenseMatrix* const ATribol, mfem::SparseMatrix* const ASystem ) { - SLIC_ERROR_IF( ATribol == nullptr, "TestMesh::tribolMatrixToSystemMatrix(): " - << "ATribol pointer is null." ); + SLIC_ERROR_IF( ATribol == nullptr, "TestMesh::tribolMatrixToSystemMatrix(): " << "ATribol pointer is null." ); - SLIC_ERROR_IF( ATribol == nullptr, "TestMesh::tribolMatrixToSystemMatrix(): " - << "ASystem pointer is null." ); + SLIC_ERROR_IF( ATribol == nullptr, "TestMesh::tribolMatrixToSystemMatrix(): " << "ASystem pointer is null." ); int solveSize = this->dim * this->numTotalNodes + this->numNonmortarSurfaceNodes; @@ -1642,10 +1637,8 @@ void TestMesh::getGapEvals( RealT* const v ) //------------------------------------------------------------------------------ void TestMesh::enforceDirichletBCs( mfem::SparseMatrix* const A, mfem::Vector* const b, bool contact ) { - SLIC_ERROR_IF( A == nullptr, "TestMesh::enforceDirichletBCs(): " - << "input pointer to sparse matrix is null." ); - SLIC_ERROR_IF( b == nullptr, "TestMesh::enforceDirichletBCs(): " - << "input pointer to rhs vector, b, is null." ); + SLIC_ERROR_IF( A == nullptr, "TestMesh::enforceDirichletBCs(): " << "input pointer to sparse matrix is null." ); + SLIC_ERROR_IF( b == nullptr, "TestMesh::enforceDirichletBCs(): " << "input pointer to rhs vector, b, is null." ); int *dirBCX, *dirBCY, *dirBCZ, *presDofs; RealT *dirValX, *dirValY, *dirValZ; @@ -1717,7 +1710,7 @@ void TestMesh::enforceDirichletBCs( mfem::SparseMatrix* const A, mfem::Vector* c } // end if (!contact) } // end loop over number of nodes - } // end loop over mesh blocks + } // end loop over mesh blocks } // end TestMesh::enforceDirichletBCs() //------------------------------------------------------------------------------