diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 205e8c621..cfbf48952 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -12,9 +12,9 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }} env: - CLANG_DOCKER_IMAGE: seracllnl/tpls:clang-19_10-09-25_23h-54m + CLANG_DOCKER_IMAGE: seracllnl/tpls:clang-19_11-24-25_18h-57m CUDA_DOCKER_IMAGE: seracllnl/tpls:cuda-12_04-16-25_20h-55m - GCC_DOCKER_IMAGE: seracllnl/tpls:gcc-14_10-09-25_23h-54m + GCC_DOCKER_IMAGE: seracllnl/tpls:gcc-14_11-24-25_18h-57m jobs: # Hacky solution to reference env variables outside of `run` steps https://stackoverflow.com/a/74217028 @@ -63,8 +63,8 @@ jobs: container: image: ${{ matrix.config.compiler_image }} volumes: - - /home/serac/serac - # Required - default is set to user "serac" + - /home/smith/smith + # Required - default is set to user "smith" options: --user root steps: - name: Checkout Smith @@ -106,8 +106,8 @@ jobs: container: image: ${{ needs.set_image_vars.outputs.clang_docker_image }} volumes: - - /home/serac/serac - # Required - default is set to user "serac" + - /home/smith/smith + # Required - default is set to user "smith" options: --user root env: CHECK_TYPE: ${{ matrix.check_type }} diff --git a/.github/workflows/docker_build_tpls.yml b/.github/workflows/docker_build_tpls.yml index 996272349..31cc4f773 100644 --- a/.github/workflows/docker_build_tpls.yml +++ b/.github/workflows/docker_build_tpls.yml @@ -14,7 +14,7 @@ jobs: dockerfile_suffix: [clang-19, gcc-14] #, cuda-12] env: REPO: seracllnl/tpls - HOSTCONFIG_LOC: /home/serac/export_hostconfig + HOSTCONFIG_LOC: /home/smith/export_hostconfig DOCKERFILE_PREFIX: ./scripts/docker/dockerfile_ steps: - name: Extract branch name diff --git a/.gitlab/build_toss4_cray.yml b/.gitlab/build_toss4_cray.yml index 8a4404d6c..1909c78c2 100644 --- a/.gitlab/build_toss4_cray.yml +++ b/.gitlab/build_toss4_cray.yml @@ -3,9 +3,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 @@ -32,48 +34,39 @@ #### # 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" EXTRA_CMAKE_OPTIONS: "-DENABLE_BENCHMARKS=ON -DENABLE_DOCS=OFF -DCMAKE_BUILD_TYPE=Debug" ALLOC_NODES: "1" - ALLOC_TIME: "30" + ALLOC_TIME: "60" extends: .src_build_on_toss4_cray -toss4_cray-rocmcc_6_2_1-src-codevelop: +toss4_cray-llvm_amdgpu_6_4_2-src-codevelop: variables: - COMPILER: "rocmcc@6.2.1" - HOST_CONFIG: "tioga-toss_4_x86_64_ib_cray-${COMPILER}_hip.cmake" - # TODO: Add -DSMITH_USE_DFEM=ON when TPLs are updated + # TODO: Add -DSMITH_USE_DFEM=ON when enzyme is enabled in toss4_cray host configs EXTRA_CMAKE_OPTIONS: "-DENABLE_BENCHMARKS=ON -DENABLE_DOCS=OFF -DCMAKE_BUILD_TYPE=Debug -DSMITH_ENABLE_CODEVELOP=ON" EXTRA_BUILD_OPTIONS: "--skip-install" ALLOC_NODES: "1" - ALLOC_TIME: "30" + ALLOC_TIME: "60" extends: .src_build_on_toss4_cray # NOTE: SPEC should matches specs.json, but devtools and profiling variants removed -toss4_cray-rocmcc_6_2_1-tpl: +toss4_cray-llvm_amdgpu_6_4_2-tpl: variables: - COMPILER: "rocmcc@6.2.1" - SPEC: "--spec %${COMPILER}~openmp+rocm~petsc amdgpu_target=gfx90a ^hip@6.2.1 ^rocprim@6.2.1 ^hsa-rocr-dev@6.2.1 ^llvm-amdgpu@6.2.1 ^hdf5 cflags=-Wno-int-conversion" + SPEC: "--spec %~devtools~profiling~openmp+rocm~petsc~slepc~enzyme~sundials amdgpu_target=gfx942,gfx90a %${COMPILER}" ALLOC_NODES: "1" - ALLOC_TIME: "45" + ALLOC_TIME: "90" extends: .tpl_build_on_toss4_cray -toss4_cray-rocmcc_6_2_1-examples: +toss4_cray-llvm_amdgpu_6_4_2-examples: variables: - COMPILER: "rocmcc@6.2.1" - HOST_CONFIG: "tioga-toss_4_x86_64_ib_cray-${COMPILER}_hip.cmake" EXTRA_CMAKE_OPTIONS: "-DCMAKE_BUILD_TYPE=Debug" ALLOC_NODES: "1" - ALLOC_TIME: "45" + ALLOC_TIME: "90" extends: .examples_build_on_toss4_cray -toss4_cray-rocmcc_6_2_1-benchmarks: +toss4_cray-llvm_amdgpu_6_4_2-benchmarks: variables: - COMPILER: "rocmcc@6.2.1" - HOST_CONFIG: "tioga-toss_4_x86_64_ib_cray-${COMPILER}_hip.cmake" ALLOC_NODES: "1" - ALLOC_TIME: "60" + ALLOC_TIME: "120" extends: .benchmarks_build_on_toss4_cray diff --git a/.uberenv_config.json b/.uberenv_config.json index e4c5776b8..9b16002de 100644 --- a/.uberenv_config.json +++ b/.uberenv_config.json @@ -4,7 +4,7 @@ "package_final_phase" : "initconfig", "package_source_dir" : "../..", "spack_url": "https://github.com/spack/spack.git", -"spack_commit": "b4b1c5f271c75e918ce922ff1bcc77542eda3ec9", +"spack_commit": "734c5db2121b01c373eed6538e452f18887e9e44", "spack_packages_url": "https://github.com/spack/spack-packages.git", "spack_packages_commit": "a75a7f75182ffc7a51c6ca7f0fec4bf9b2705be8", "spack_configs_path": "scripts/spack/configs", diff --git a/axom b/axom index e4fdc79c4..4326f8964 160000 --- a/axom +++ b/axom @@ -1 +1 @@ -Subproject commit e4fdc79c4a7fe0dd11ce45c9a87cabddef949905 +Subproject commit 4326f89641223b2a220f008e8d6b8fe1aab24a5c diff --git a/cmake/thirdparty/SetupSmithThirdParty.cmake b/cmake/thirdparty/SetupSmithThirdParty.cmake index 7e3ecbc9e..146ce7c5d 100644 --- a/cmake/thirdparty/SetupSmithThirdParty.cmake +++ b/cmake/thirdparty/SetupSmithThirdParty.cmake @@ -298,7 +298,7 @@ if (NOT SMITH_THIRD_PARTY_LIBRARIES_FOUND) set(MFEM_USE_SLEPC OFF CACHE BOOL "") endif() - set(MFEM_USE_RAJA OFF CACHE BOOL "") + set(MFEM_USE_RAJA ${SMITH_ENABLE_HIP} CACHE BOOL "") set(MFEM_USE_SUNDIALS ${SMITH_USE_SUNDIALS} CACHE BOOL "") if(SUPERLUDIST_DIR) smith_assert_is_directory(DIR_VARIABLE SUPERLUDIST_DIR) @@ -326,7 +326,7 @@ if (NOT SMITH_THIRD_PARTY_LIBRARIES_FOUND) "Additional packages required by STRUMPACK.") set(STRUMPACK_TARGET_NAMES STRUMPACK::strumpack CACHE STRING "") endif() - set(MFEM_USE_UMPIRE OFF CACHE BOOL "") + set(MFEM_USE_UMPIRE ${SMITH_ENABLE_HIP} CACHE BOOL "") set(MFEM_USE_ZLIB ON CACHE BOOL "") if(ENZYME_DIR) smith_assert_is_directory(DIR_VARIABLE ENZYME_DIR) diff --git a/config-build.py b/config-build.py index 29d9085fa..e1ac94417 100755 --- a/config-build.py +++ b/config-build.py @@ -23,10 +23,10 @@ _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", + "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" : "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"} + "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/examples/using-with-cmake/CMakeLists.txt b/examples/using-with-cmake/CMakeLists.txt index b953aa973..4918af7de 100644 --- a/examples/using-with-cmake/CMakeLists.txt +++ b/examples/using-with-cmake/CMakeLists.txt @@ -4,6 +4,14 @@ project(smith_example LANGUAGES C CXX) message(STATUS "CMake Version: ${CMAKE_VERSION}") +if (ENABLE_CUDA) + enable_language(CUDA) +endif() + +if (ENABLE_HIP) + enable_language(HIP) +endif() + include(CMakeFindDependencyMacro) find_dependency(smith REQUIRED NO_DEFAULT_PATH PATHS "${SMITH_DIR}/lib/cmake") @@ -46,6 +54,11 @@ endforeach() add_executable(smith_example smith_example.cpp) target_link_libraries(smith_example smith::smith) +# Compile as HIP source if enabled +if (ENABLE_HIP) + set_source_files_properties(smith_example.cpp PROPERTIES LANGUAGE HIP) +endif() + enable_testing() add_test(NAME smith_example COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} 1 ./smith_example) diff --git a/examples/using-with-cmake/host-config.cmake.in b/examples/using-with-cmake/host-config.cmake.in index 021a9b6da..a353a0ae9 100644 --- a/examples/using-with-cmake/host-config.cmake.in +++ b/examples/using-with-cmake/host-config.cmake.in @@ -30,6 +30,10 @@ set(MPIEXEC_EXECUTABLE "@MPIEXEC_EXECUTABLE@" CACHE PATH "") set(MPIEXEC_NUMPROC_FLAG "@MPIEXEC_NUMPROC_FLAG@" CACHE STRING "") +# OpenMP +set(ENABLE_OPENMP @ENABLE_OPENMP@ CACHE BOOL "") + + # CUDA set(ENABLE_CUDA @ENABLE_CUDA@ CACHE BOOL "") @@ -44,5 +48,19 @@ if(ENABLE_CUDA) endif() +# HIP/ ROCm +set(ENABLE_HIP @ENABLE_HIP@ CACHE BOOL "") + +if(ENABLE_HIP) + set(ROCM_PATH "@ROCM_PATH@" CACHE PATH "") + set(CMAKE_HIP_ARCHITECTURES "@CMAKE_HIP_ARCHITECTURES@" CACHE STRING "") + set(CMAKE_HIP_COMPILER "@CMAKE_HIP_COMPILER@" CACHE FILEPATH "") + set(HIP_ROOT_DIR "@HIP_ROOT_DIR@" CACHE PATH "") + set(AMDGPU_TARGETS "@AMDGPU_TARGETS@" CACHE STRING "") + set(GPU_TARGETS "@GPU_TARGETS@" CACHE STRING "") + set(ROCM_ROOT_DIR "@ROCM_ROOT_DIR@" CACHE PATH "") +endif() + + # Path to Smith set(SMITH_DIR "@CMAKE_INSTALL_PREFIX@" 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 eb32e5d86..504577c87 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/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/caliper-2.12.1-nnegy5dckpkmcjxr2d7p3bxftxnp7ugy;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/tribol-0.1.0.21-yxlr52ve2o2wtqrlhh5qitztwdsey4jq;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/adiak-0.4.1-vcebqioolx5swnh5jh3vofbc7gwxbjnz;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/axom-0.11.0.1-dfenolqzwiv5tihipn24dy4owcpqirx4;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/conduit-0.9.2-3zjitqyjo5hywwgvoiksoah3vo3xoxpo;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/mfem-4.9.0.1-j57zj7s43k757edvfjmhckira4ijyzxw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/raja-2024.07.0-xgktxoswgbbqcqkrxl5nrfhabqjb7nqi;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/umpire-2024.07.0-2lgp2wihiz7gghci2euzhvj65xbfrgo3;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/netcdf-c-4.7.4-bp24ixl6szluqobec5eicnqm5df6wfmo;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/slepc-3.21.2-p3fl3xkwq3dszpyazj3uxjxwmu6upv4y;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/sundials-6.7.0-pegrbubvgbbnxgklabb3hq4yeb7jfabc;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/camp-2024.07.0-5hekan5rpn3dzadr3gucz7u5q4cglwwz;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/fmt-11.0.2-usm3fj6qxr75ga5p2ydlhearxsbtpckd;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/hdf5-1.8.23-a5aevsftdqt4quek6v6eluljsazqs6ww;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/arpack-ng-3.9.1-dmayqpcvmr6cb5lilfwbygkec2fmshj6;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/petsc-3.21.6-kc675eyn4s5ldwml6rygmvwjmipr5xw7;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/hypre-2.26.0-fip3pi45ru7ao6y4rcjwlrrtmyz56gd2;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/strumpack-8.0.0-nikoevilkmzfxtoywzljgbcpgtpx2s62;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/superlu-dist-8.1.2-l5xmnfrhhqqa7z5hnibp522ceevfibup;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/netlib-scalapack-2.2.2-exloohmk6uv52js7hiy74dkuzdaxgzho;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/parmetis-4.0.3-q4uej3qoobfln5vpx55kpxprhwfxahgz;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/metis-5.1.0-nbxqo5m7iy3uyjd32skqzpa4d5cev2dt;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/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/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/serac-develop-z4njobo5mgy5du53ckmdif5iinxriidw/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/serac-develop-z4njobo5mgy5du53ckmdif5iinxriidw/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/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/serac-develop-z4njobo5mgy5du53ckmdif5iinxriidw/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/gcc-13.3.1/serac-develop-z4njobo5mgy5du53ckmdif5iinxriidw/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/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/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/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/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/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/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() @@ -65,53 +65,53 @@ set(ENABLE_OPENMP ON CACHE BOOL "") # TPLs #------------------------------------------------------------------------------ -set(TPL_ROOT "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/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.11.0.1-dfenolqzwiv5tihipn24dy4owcpqirx4" CACHE PATH "") +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-i37xne6rixnhgwrptvzzfbrgcmdryhoo" CACHE PATH "") -set(CAMP_DIR "${TPL_ROOT}/camp-2024.07.0-5hekan5rpn3dzadr3gucz7u5q4cglwwz" CACHE PATH "") +set(CAMP_DIR "${TPL_ROOT}/camp-2025.09.2-qei7a63hp4u37cas2m7zte3phmv2fyhd" CACHE PATH "") -set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.2-3zjitqyjo5hywwgvoiksoah3vo3xoxpo" CACHE PATH "") +set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.5-bb722yzgl4d3g2diyieu73hrkt732qez" CACHE PATH "") set(LUA_DIR "/usr" CACHE PATH "") -set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.1-j57zj7s43k757edvfjmhckira4ijyzxw" CACHE PATH "") +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-rnhik76bnx6j6665kwbnzm355av6lpmp" CACHE PATH "") -set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-a5aevsftdqt4quek6v6eluljsazqs6ww" CACHE PATH "") +set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-frgmbp2plziqwxwypvemeglz6semjqei" CACHE PATH "") -set(HYPRE_DIR "${TPL_ROOT}/hypre-2.26.0-fip3pi45ru7ao6y4rcjwlrrtmyz56gd2" CACHE PATH "") +set(HYPRE_DIR "${TPL_ROOT}/hypre-2.33.0-23ph5bzk62r3tntdn277zrtv6dpmon2n" CACHE PATH "") set(METIS_DIR "${TPL_ROOT}/metis-5.1.0-nbxqo5m7iy3uyjd32skqzpa4d5cev2dt" CACHE PATH "") -set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-q4uej3qoobfln5vpx55kpxprhwfxahgz" CACHE PATH "") +set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-c7wowvg6qcowqn53dlxtq4msf5m7tfo7" CACHE PATH "") -set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-bp24ixl6szluqobec5eicnqm5df6wfmo" CACHE PATH "") +set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-zslniorcg7ki7lnsimctkn6ig3zg2qaw" CACHE PATH "") -set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-l5xmnfrhhqqa7z5hnibp522ceevfibup" CACHE PATH "") +set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-quwnz5kk2xb42g3j7vejc6hrq2urngof" CACHE PATH "") -set(ARPACK_DIR "${TPL_ROOT}/arpack-ng-3.9.1-dmayqpcvmr6cb5lilfwbygkec2fmshj6" CACHE PATH "") +set(ARPACK_DIR "${TPL_ROOT}/arpack-ng-3.9.1-foedq43u27rbxrupjqborfxd47smzuch" CACHE PATH "") -set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-vcebqioolx5swnh5jh3vofbc7gwxbjnz" CACHE PATH "") +set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-2z3ogwq4rmbuwpc5vl2mgxymme4mfbke" CACHE PATH "") # AMGX not built -set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-nnegy5dckpkmcjxr2d7p3bxftxnp7ugy" CACHE PATH "") +set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-cg25q356sb7kiuabwtfka4tywsgbtpiu" CACHE PATH "") # ENZYME not built -set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-kc675eyn4s5ldwml6rygmvwjmipr5xw7" CACHE PATH "") +set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-jfsq7enjou6z5mzggfqndbmtc3sz3jy2" CACHE PATH "") -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(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-p3fl3xkwq3dszpyazj3uxjxwmu6upv4y" CACHE PATH "") +set(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-y7425db4zsffjhcc3d33o2s2pz7w6664" CACHE PATH "") -set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-nikoevilkmzfxtoywzljgbcpgtpx2s62" CACHE PATH "") +set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-zn5qsdclfhyvrubcweeqymoptoqm3vja" CACHE PATH "") -set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-pegrbubvgbbnxgklabb3hq4yeb7jfabc" CACHE PATH "") +set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-7azsxv7nm2sr5pyi6px6abcdb6l475bv" 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 "") -set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.21-yxlr52ve2o2wtqrlhh5qitztwdsey4jq" CACHE PATH "") +set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.23-ysqjlxfxls46fsccfvnaw3teuqj7jp3f" CACHE PATH "") #------------------------------------------------------------------------------ # Devtools 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 index f279933d8..566e8944f 100644 --- 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 @@ -4,13 +4,13 @@ # CMake executable path: /usr/tce/bin/cmake #------------------------------------------------------------------------------ -set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/caliper-2.12.1-nz3lmb4qolrz7prhtoyugz74vnxcihtw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/tribol-0.1.0.21-io3zjlwaagjs7nr43kr25ft2kk6jaqcy;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/adiak-0.4.1-7ttshzflnc4rsmmjqmbz2qjfkj3frqek;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/axom-0.11.0.1-ezlhr7rmy4bbuyw7y3kpv54awmt6xswv;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/conduit-0.9.2-yz5fziquxcqrzxsoibtohkjghn3gwqzh;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/mfem-4.9.0.1-2zqzspuhyk22k2mwcbiwll7x3qiyoygf;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/raja-2024.07.0-yjwvxtexaphdxrgs333gamhjayjkt5eo;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/umpire-2024.07.0-6p3ogm6uegmc7q3snwgsx2qkopyqte6d;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/enzyme-0.0.180-xleormmofvptlsthvvypxjc6e5plzyh5;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/netcdf-c-4.7.4-ssvz6dnq434dzlcdpes77r2arssoh4bs;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/slepc-3.21.2-4dvwsscflircxhm3xz3gxqahjqs7vtii;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/sundials-6.7.0-dybn2xdbel2rly4ycu6qsopvep4h2dgq;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/camp-2024.07.0-y2oepihweipevkkjgnyhvkw2fs37gpbv;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/fmt-11.0.2-klyhttb7ma3ny2ksm6ywvoorqr6nrhie;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/hdf5-1.8.23-3prkcsqw75gpmqy244zr72uq7s4dnles;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/arpack-ng-3.9.1-ki5vt7m6djybol2y6v4lmlgt7ecymnj2;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/petsc-3.21.6-2kazkxzachljuze4z5vspjo7g3ozq3pu;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/hypre-2.26.0-yuzmo7lanmrkn2tefxtkngyestzhp55e;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/strumpack-8.0.0-fu5524rjudtlevyooypmkiochtaakgxt;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/superlu-dist-8.1.2-ges7olrg4fbofm43fij7yalrcmh4lmxy;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/netlib-scalapack-2.2.2-qeorvxwxdo6tahacqg5zqz4dznn5v2vs;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/parmetis-4.0.3-7pxu4ifofsjnj6bpm7v3yyag24adjwze;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/metis-5.1.0-2pu2cesnzoxhc53feelz6xnfos4rz43a;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/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_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_09_25_10_10_47/llvm-19.1.3/serac-develop-gdgryxh7gim7uyacp2qmxtk2qolmvxm7/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/serac-develop-gdgryxh7gim7uyacp2qmxtk2qolmvxm7/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_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_09_25_10_10_47/llvm-19.1.3/serac-develop-gdgryxh7gim7uyacp2qmxtk2qolmvxm7/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3/serac-develop-gdgryxh7gim7uyacp2qmxtk2qolmvxm7/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 "") @@ -21,11 +21,11 @@ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") #------------------------------------------------------------------------------ if(DEFINED ENV{SPACK_CC}) - set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/clang/clang" 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/clang/clang" CACHE PATH "") - set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/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_09_25_10_10_47/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() @@ -65,53 +65,53 @@ set(ENABLE_OPENMP ON CACHE BOOL "") # TPLs #------------------------------------------------------------------------------ -set(TPL_ROOT "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_10_47/llvm-19.1.3" CACHE PATH "") +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.11.0.1-ezlhr7rmy4bbuyw7y3kpv54awmt6xswv" CACHE PATH "") +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-45futx52tz63tfajb4xrtr5uyir33kij" CACHE PATH "") -set(CAMP_DIR "${TPL_ROOT}/camp-2024.07.0-y2oepihweipevkkjgnyhvkw2fs37gpbv" CACHE PATH "") +set(CAMP_DIR "${TPL_ROOT}/camp-2025.09.2-exklmptyvyylyhheouqowazmvdzpf7op" CACHE PATH "") -set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.2-yz5fziquxcqrzxsoibtohkjghn3gwqzh" CACHE PATH "") +set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.5-6hyhaouworooemg5ys23cl46qko6hpf7" CACHE PATH "") set(LUA_DIR "/usr" CACHE PATH "") -set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.1-2zqzspuhyk22k2mwcbiwll7x3qiyoygf" CACHE PATH "") +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-lxmn6iy6khcpe6tizo3ynvvd4hiyktps" CACHE PATH "") -set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-3prkcsqw75gpmqy244zr72uq7s4dnles" CACHE PATH "") +set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-rwzwt3mizlt7inrqhw265xklvlx5w3ju" CACHE PATH "") -set(HYPRE_DIR "${TPL_ROOT}/hypre-2.26.0-yuzmo7lanmrkn2tefxtkngyestzhp55e" CACHE PATH "") +set(HYPRE_DIR "${TPL_ROOT}/hypre-2.33.0-ebs6zrtqf7mug35yez5i5ceq3zxznv3s" CACHE PATH "") set(METIS_DIR "${TPL_ROOT}/metis-5.1.0-2pu2cesnzoxhc53feelz6xnfos4rz43a" CACHE PATH "") -set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-7pxu4ifofsjnj6bpm7v3yyag24adjwze" CACHE PATH "") +set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-4thtnxv4kii5rl3pnphqgwzbqr5l72xz" CACHE PATH "") -set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-ssvz6dnq434dzlcdpes77r2arssoh4bs" CACHE PATH "") +set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-p7xuxxst3xxa6wwqftrazpwsu54umxvb" CACHE PATH "") -set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-ges7olrg4fbofm43fij7yalrcmh4lmxy" CACHE PATH "") +set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-xz552dtahyxm44unb5ouiubr3teq7gfk" CACHE PATH "") -set(ARPACK_DIR "${TPL_ROOT}/arpack-ng-3.9.1-ki5vt7m6djybol2y6v4lmlgt7ecymnj2" CACHE PATH "") +set(ARPACK_DIR "${TPL_ROOT}/arpack-ng-3.9.1-mcmuyid4s3kp5eugb6wtoly2nnbukfss" CACHE PATH "") -set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-7ttshzflnc4rsmmjqmbz2qjfkj3frqek" CACHE PATH "") +set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-phz7spqilihsb7voe6ubymle2n43ihrt" CACHE PATH "") # AMGX not built -set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-nz3lmb4qolrz7prhtoyugz74vnxcihtw" CACHE PATH "") +set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-z4b5jhgqubkdztt3a7rv472qfyitrwjt" CACHE PATH "") -set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-xleormmofvptlsthvvypxjc6e5plzyh5" CACHE PATH "") +set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-7i4qtqo3obdncxmd7x2nxqpsrzscgxoj" CACHE PATH "") -set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-2kazkxzachljuze4z5vspjo7g3ozq3pu" CACHE PATH "") +set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-7zcj2uxdp25op43kutj6uecnemuq25tf" CACHE PATH "") -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-yjwvxtexaphdxrgs333gamhjayjkt5eo" CACHE PATH "") +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-zcwyfo2b2rwnxkmdp4c3k43sm3iiwane" CACHE PATH "") -set(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-4dvwsscflircxhm3xz3gxqahjqs7vtii" CACHE PATH "") +set(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-67qm4jsx4ih6thr2ttffvtzdlsttixju" CACHE PATH "") -set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-fu5524rjudtlevyooypmkiochtaakgxt" CACHE PATH "") +set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-njongku6aahr4duq3hzznxylsfdeib5v" CACHE PATH "") -set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-dybn2xdbel2rly4ycu6qsopvep4h2dgq" CACHE PATH "") +set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-thnhsd6xkzbsuij75tb3344nphzg7wyj" CACHE PATH "") -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-6p3ogm6uegmc7q3snwgsx2qkopyqte6d" CACHE PATH "") +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-hwbvsapxfvyo4tupsxuhhqcfqd2lzq2r" CACHE PATH "") -set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.21-io3zjlwaagjs7nr43kr25ft2kk6jaqcy" CACHE PATH "") +set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.23-oe43csdvi5y3asre3fysjqta7lc54xqj" CACHE PATH "") #------------------------------------------------------------------------------ # Devtools diff --git a/host-configs/docker/gcc@14.2.0.cmake b/host-configs/docker/gcc@14.2.0.cmake index c3c005837..7697bca7c 100644 --- a/host-configs/docker/gcc@14.2.0.cmake +++ b/host-configs/docker/gcc@14.2.0.cmake @@ -4,13 +4,13 @@ # CMake executable path: /usr/local/bin/cmake #------------------------------------------------------------------------------ -set(CMAKE_PREFIX_PATH "/home/serac/serac_tpls/gcc-14.2.0/tribol-0.1.0.22-wazfmdbkalzczo7r5y2utwnimbwjkhnx;/home/serac/serac_tpls/gcc-14.2.0/axom-0.11.0.1-qs45ql23enjk5icq6yasgpjict4ovgge;/home/serac/serac_tpls/gcc-14.2.0/conduit-0.9.2-a2ql5k5t2bdur2yxekjzgznggvvrxtyn;/home/serac/serac_tpls/gcc-14.2.0/mfem-4.9.0.1-sgfrwx6qadkzigkocbwxfi2rxd4bdg5c;/home/serac/serac_tpls/gcc-14.2.0/raja-2024.07.0-hbxa5g4eqneaq3e2pnyaouk2mnrk47zc;/home/serac/serac_tpls/gcc-14.2.0/umpire-2024.07.0-yvluhnikhhswrlvuhfwbgcbur55jtxlu;/home/serac/serac_tpls/gcc-14.2.0/netcdf-c-4.7.4-n7hweek4e4l7z424tytkvm7zs7xkz2y5;/home/serac/serac_tpls/gcc-14.2.0/slepc-3.21.2-toj3h2dah2t5ptq456kgqkluo35h6h5m;/home/serac/serac_tpls/gcc-14.2.0/sundials-6.7.0-bnjclc6rr4tdcrye7s44cn5dlaoqbmeo;/home/serac/serac_tpls/gcc-14.2.0/camp-2024.07.0-r6yrhlse676pzry225kxim6w2ri4ywxs;/home/serac/serac_tpls/gcc-14.2.0/fmt-11.0.2-ht2idt2ah5wkaf2qxcobbccu6lzlmb33;/home/serac/serac_tpls/gcc-14.2.0/hdf5-1.8.23-crboya2gv7d3qwkz7l5sznsqorucooqn;/home/serac/serac_tpls/gcc-14.2.0/arpack-ng-3.9.1-f2o4etq7lzo7gyymjfpitasrhqdd6rt7;/home/serac/serac_tpls/gcc-14.2.0/petsc-3.21.6-dodsuk6hdprsvpfb7bzyv5nm7c2als43;/home/serac/serac_tpls/gcc-14.2.0/hypre-2.26.0-pamvjykkiskrudquhqh3tzmyafolowqf;/home/serac/serac_tpls/gcc-14.2.0/strumpack-8.0.0-uww3gzqgff2cuhqks65fz572svx3fk4r;/home/serac/serac_tpls/gcc-14.2.0/superlu-dist-8.1.2-tku2zum5uc4etnqubqsi3b4735ceoytk;/home/serac/serac_tpls/gcc-14.2.0/netlib-scalapack-2.2.2-wbnniby6qznaurgoco6vvsxm2aod5zmf;/home/serac/serac_tpls/gcc-14.2.0/parmetis-4.0.3-c3y4s5kwdhsprddhtcey42hej6f5ou3a;/home/serac/serac_tpls/gcc-14.2.0/metis-5.1.0-ypp5h6p4n6evogx2wng2eqnp74a4losv;/home/serac/serac_tpls/gcc-14.2.0/mpich-4.2.0-nsv6egqtra6rlwyfouhma2bku23mjf4u;/home/serac/serac_tpls/gcc-14.2.0/hwloc-2.11.1-shknwspkkbovk43s4cko23fvxfpxyahn;/home/serac/serac_tpls/gcc-14.2.0/libfabric-2.2.0-evvznwth4eytgtzrhbv43pg6qkcxped3;/home/serac/serac_tpls/gcc-14.2.0/yaksa-0.3-2b3vqz4dmnnfiomkz7escyx3ws7w5roo;/home/serac/serac_tpls/gcc-14.2.0/libpciaccess-0.17-lwsnk2jlatm34qsj2zbkthnl6h7twfed;/home/serac/serac_tpls/gcc-14.2.0/libxml2-2.13.5-b2zl6sf7caqugntrt2j27vmprqmv3c6w;/home/serac/serac_tpls/gcc-14.2.0/ncurses-6.5-20250705-gahbb26hdvnncrliitzzsubprxnentte;/home/serac/serac_tpls/gcc-14.2.0/libiconv-1.18-675kuqysxbbn3qyulkos2ktqm253hhc2;/home/serac/serac_tpls/gcc-14.2.0/xz-5.6.3-35m7lld4lmcwmq72r7ivi25ydxvgtvth;/home/serac/serac_tpls/none-none/gcc-runtime-14.2.0-732djrphgfjipas5vfbmlvwfci4ui4za;/home/serac/serac_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm" CACHE STRING "") +set(CMAKE_PREFIX_PATH "/home/smith/smith_tpls/gcc-14.2.0/tribol-0.1.0.23-buc5eogxbwtp5qqrffebo5tfruwle42i;/home/smith/smith_tpls/gcc-14.2.0/axom-0.12.0.0-rl4hqlluxrlrfw54vu3dfllz7qufo763;/home/smith/smith_tpls/gcc-14.2.0/conduit-0.9.5-ffmp4jsxlfp543iyp4pjufnds77stwhs;/home/smith/smith_tpls/gcc-14.2.0/mfem-4.9.0.2-dabs26dub7pefps6veo5pndcehdzcknb;/home/smith/smith_tpls/gcc-14.2.0/raja-2025.09.0-z7ebpseo4yyunvxj3iuxvxjzy6dqwloy;/home/smith/smith_tpls/gcc-14.2.0/umpire-2025.09.0-pnnb366w5txe3znylwxzqnwbq6eir2dj;/home/smith/smith_tpls/gcc-14.2.0/netcdf-c-4.7.4-jayhfc3xnm7zbiunziauhje55jdma2o2;/home/smith/smith_tpls/gcc-14.2.0/slepc-3.21.2-sq5m3juedxcxi2jm2nnmjqzu5fm227zx;/home/smith/smith_tpls/gcc-14.2.0/sundials-6.7.0-klhjlysyllesixs5xq56rwhwnqiel4z7;/home/smith/smith_tpls/gcc-14.2.0/camp-2025.09.2-oixais3vhuuof5qsdiqe6xknjrw43kdx;/home/smith/smith_tpls/gcc-14.2.0/fmt-11.0.2-ht2idt2ah5wkaf2qxcobbccu6lzlmb33;/home/smith/smith_tpls/gcc-14.2.0/hdf5-1.8.23-vnpvhz3ytz4iesqw4ahaupfp6v3ucxkv;/home/smith/smith_tpls/gcc-14.2.0/arpack-ng-3.9.1-f2o4etq7lzo7gyymjfpitasrhqdd6rt7;/home/smith/smith_tpls/gcc-14.2.0/petsc-3.21.6-kgjw64cey32cafk4gklktxghl5myfwuu;/home/smith/smith_tpls/gcc-14.2.0/hypre-2.33.0-mginp5s4w6do6yf2mvhxaq6zj4ymiyow;/home/smith/smith_tpls/gcc-14.2.0/strumpack-8.0.0-uww3gzqgff2cuhqks65fz572svx3fk4r;/home/smith/smith_tpls/gcc-14.2.0/superlu-dist-8.1.2-tku2zum5uc4etnqubqsi3b4735ceoytk;/home/smith/smith_tpls/gcc-14.2.0/netlib-scalapack-2.2.2-wbnniby6qznaurgoco6vvsxm2aod5zmf;/home/smith/smith_tpls/gcc-14.2.0/parmetis-4.0.3-c3y4s5kwdhsprddhtcey42hej6f5ou3a;/home/smith/smith_tpls/gcc-14.2.0/metis-5.1.0-ypp5h6p4n6evogx2wng2eqnp74a4losv;/home/smith/smith_tpls/gcc-14.2.0/mpich-4.2.0-nsv6egqtra6rlwyfouhma2bku23mjf4u;/home/smith/smith_tpls/gcc-14.2.0/hwloc-2.11.1-shknwspkkbovk43s4cko23fvxfpxyahn;/home/smith/smith_tpls/gcc-14.2.0/libfabric-2.2.0-evvznwth4eytgtzrhbv43pg6qkcxped3;/home/smith/smith_tpls/gcc-14.2.0/yaksa-0.3-2b3vqz4dmnnfiomkz7escyx3ws7w5roo;/home/smith/smith_tpls/gcc-14.2.0/libpciaccess-0.17-lwsnk2jlatm34qsj2zbkthnl6h7twfed;/home/smith/smith_tpls/gcc-14.2.0/libxml2-2.13.5-b2zl6sf7caqugntrt2j27vmprqmv3c6w;/home/smith/smith_tpls/gcc-14.2.0/ncurses-6.5-20250705-gahbb26hdvnncrliitzzsubprxnentte;/home/smith/smith_tpls/gcc-14.2.0/libiconv-1.18-675kuqysxbbn3qyulkos2ktqm253hhc2;/home/smith/smith_tpls/gcc-14.2.0/xz-5.6.3-35m7lld4lmcwmq72r7ivi25ydxvgtvth;/home/smith/smith_tpls/none-none/gcc-runtime-14.2.0-732djrphgfjipas5vfbmlvwfci4ui4za;/home/smith/smith_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm" CACHE STRING "") set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") -set(CMAKE_BUILD_RPATH "/home/serac/serac_tpls/gcc-14.2.0/serac-develop-vt72oztqtxwepru3o2giletqdnxhqtma/lib;/home/serac/serac_tpls/gcc-14.2.0/serac-develop-vt72oztqtxwepru3o2giletqdnxhqtma/lib64;;" CACHE STRING "") +set(CMAKE_BUILD_RPATH "/home/smith/smith_tpls/gcc-14.2.0/smith-develop-eucivoh4fzteqf525jpmgnphbzrlq3jb/lib;/home/smith/smith_tpls/gcc-14.2.0/smith-develop-eucivoh4fzteqf525jpmgnphbzrlq3jb/lib64;;" CACHE STRING "") -set(CMAKE_INSTALL_RPATH "/home/serac/serac_tpls/gcc-14.2.0/serac-develop-vt72oztqtxwepru3o2giletqdnxhqtma/lib;/home/serac/serac_tpls/gcc-14.2.0/serac-develop-vt72oztqtxwepru3o2giletqdnxhqtma/lib64;;" CACHE STRING "") +set(CMAKE_INSTALL_RPATH "/home/smith/smith_tpls/gcc-14.2.0/smith-develop-eucivoh4fzteqf525jpmgnphbzrlq3jb/lib;/home/smith/smith_tpls/gcc-14.2.0/smith-develop-eucivoh4fzteqf525jpmgnphbzrlq3jb/lib64;;" 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 "/home/serac/serac_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/gcc/gcc" CACHE PATH "") + set(CMAKE_C_COMPILER "/home/smith/smith_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/gcc/gcc" CACHE PATH "") - set(CMAKE_CXX_COMPILER "/home/serac/serac_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/gcc/g++" CACHE PATH "") + set(CMAKE_CXX_COMPILER "/home/smith/smith_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/gcc/g++" CACHE PATH "") - set(CMAKE_Fortran_COMPILER "/home/serac/serac_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/gcc/gfortran" CACHE PATH "") + set(CMAKE_Fortran_COMPILER "/home/smith/smith_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/gcc/gfortran" CACHE PATH "") else() @@ -47,13 +47,13 @@ set(CMAKE_Fortran_FLAGS "-fPIC -pthread" CACHE STRING "") # MPI #------------------------------------------------------------------------------ -set(MPI_C_COMPILER "/home/serac/serac_tpls/gcc-14.2.0/mpich-4.2.0-nsv6egqtra6rlwyfouhma2bku23mjf4u/bin/mpicc" CACHE PATH "") +set(MPI_C_COMPILER "/home/smith/smith_tpls/gcc-14.2.0/mpich-4.2.0-nsv6egqtra6rlwyfouhma2bku23mjf4u/bin/mpicc" CACHE PATH "") -set(MPI_CXX_COMPILER "/home/serac/serac_tpls/gcc-14.2.0/mpich-4.2.0-nsv6egqtra6rlwyfouhma2bku23mjf4u/bin/mpicxx" CACHE PATH "") +set(MPI_CXX_COMPILER "/home/smith/smith_tpls/gcc-14.2.0/mpich-4.2.0-nsv6egqtra6rlwyfouhma2bku23mjf4u/bin/mpicxx" CACHE PATH "") -set(MPI_Fortran_COMPILER "/home/serac/serac_tpls/gcc-14.2.0/mpich-4.2.0-nsv6egqtra6rlwyfouhma2bku23mjf4u/bin/mpif90" CACHE PATH "") +set(MPI_Fortran_COMPILER "/home/smith/smith_tpls/gcc-14.2.0/mpich-4.2.0-nsv6egqtra6rlwyfouhma2bku23mjf4u/bin/mpif90" CACHE PATH "") -set(MPIEXEC_EXECUTABLE "/home/serac/serac_tpls/gcc-14.2.0/mpich-4.2.0-nsv6egqtra6rlwyfouhma2bku23mjf4u/bin/mpirun" CACHE PATH "") +set(MPIEXEC_EXECUTABLE "/home/smith/smith_tpls/gcc-14.2.0/mpich-4.2.0-nsv6egqtra6rlwyfouhma2bku23mjf4u/bin/mpirun" CACHE PATH "") set(MPIEXEC_NUMPROC_FLAG "-np" CACHE STRING "") @@ -69,27 +69,27 @@ set(ENABLE_OPENMP ON CACHE BOOL "") # TPLs #------------------------------------------------------------------------------ -set(TPL_ROOT "/home/serac/serac_tpls/gcc-14.2.0" CACHE PATH "") +set(TPL_ROOT "/home/smith/smith_tpls/gcc-14.2.0" CACHE PATH "") -set(AXOM_DIR "${TPL_ROOT}/axom-0.11.0.1-qs45ql23enjk5icq6yasgpjict4ovgge" CACHE PATH "") +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-rl4hqlluxrlrfw54vu3dfllz7qufo763" CACHE PATH "") -set(CAMP_DIR "${TPL_ROOT}/camp-2024.07.0-r6yrhlse676pzry225kxim6w2ri4ywxs" CACHE PATH "") +set(CAMP_DIR "${TPL_ROOT}/camp-2025.09.2-oixais3vhuuof5qsdiqe6xknjrw43kdx" CACHE PATH "") -set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.2-a2ql5k5t2bdur2yxekjzgznggvvrxtyn" CACHE PATH "") +set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.5-ffmp4jsxlfp543iyp4pjufnds77stwhs" CACHE PATH "") set(LUA_DIR "/usr" CACHE PATH "") -set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.1-sgfrwx6qadkzigkocbwxfi2rxd4bdg5c" CACHE PATH "") +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-dabs26dub7pefps6veo5pndcehdzcknb" CACHE PATH "") -set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-crboya2gv7d3qwkz7l5sznsqorucooqn" CACHE PATH "") +set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-vnpvhz3ytz4iesqw4ahaupfp6v3ucxkv" CACHE PATH "") -set(HYPRE_DIR "${TPL_ROOT}/hypre-2.26.0-pamvjykkiskrudquhqh3tzmyafolowqf" CACHE PATH "") +set(HYPRE_DIR "${TPL_ROOT}/hypre-2.33.0-mginp5s4w6do6yf2mvhxaq6zj4ymiyow" CACHE PATH "") set(METIS_DIR "${TPL_ROOT}/metis-5.1.0-ypp5h6p4n6evogx2wng2eqnp74a4losv" CACHE PATH "") set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-c3y4s5kwdhsprddhtcey42hej6f5ou3a" CACHE PATH "") -set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-n7hweek4e4l7z424tytkvm7zs7xkz2y5" CACHE PATH "") +set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-jayhfc3xnm7zbiunziauhje55jdma2o2" CACHE PATH "") set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-tku2zum5uc4etnqubqsi3b4735ceoytk" CACHE PATH "") @@ -103,19 +103,19 @@ set(ARPACK_DIR "${TPL_ROOT}/arpack-ng-3.9.1-f2o4etq7lzo7gyymjfpitasrhqdd6rt7" CA # ENZYME not built -set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-dodsuk6hdprsvpfb7bzyv5nm7c2als43" CACHE PATH "") +set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-kgjw64cey32cafk4gklktxghl5myfwuu" CACHE PATH "") -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-hbxa5g4eqneaq3e2pnyaouk2mnrk47zc" CACHE PATH "") +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-z7ebpseo4yyunvxj3iuxvxjzy6dqwloy" CACHE PATH "") -set(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-toj3h2dah2t5ptq456kgqkluo35h6h5m" CACHE PATH "") +set(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-sq5m3juedxcxi2jm2nnmjqzu5fm227zx" CACHE PATH "") set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-uww3gzqgff2cuhqks65fz572svx3fk4r" CACHE PATH "") -set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-bnjclc6rr4tdcrye7s44cn5dlaoqbmeo" CACHE PATH "") +set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-klhjlysyllesixs5xq56rwhwnqiel4z7" CACHE PATH "") -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-yvluhnikhhswrlvuhfwbgcbur55jtxlu" CACHE PATH "") +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-pnnb366w5txe3znylwxzqnwbq6eir2dj" CACHE PATH "") -set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.22-wazfmdbkalzczo7r5y2utwnimbwjkhnx" CACHE PATH "") +set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.23-buc5eogxbwtp5qqrffebo5tfruwle42i" CACHE PATH "") #------------------------------------------------------------------------------ # Devtools diff --git a/host-configs/docker/llvm@19.1.1.cmake b/host-configs/docker/llvm@19.1.1.cmake index c6638cda8..cd7917dc0 100644 --- a/host-configs/docker/llvm@19.1.1.cmake +++ b/host-configs/docker/llvm@19.1.1.cmake @@ -4,13 +4,13 @@ # CMake executable path: /usr/local/bin/cmake #------------------------------------------------------------------------------ -set(CMAKE_PREFIX_PATH "/home/serac/serac_tpls/llvm-19.1.1/tribol-0.1.0.22-gvkf7l7tskcu7mwkwvf3m3mlo3fz2jpf;/home/serac/serac_tpls/llvm-19.1.1/axom-0.11.0.1-gvtvq2exv3yuvub5mgvnqvlsxfieas65;/home/serac/serac_tpls/llvm-19.1.1/conduit-0.9.2-pa56tobns52wm2xjfzqasd3prjrakypm;/home/serac/serac_tpls/llvm-19.1.1/mfem-4.9.0.1-3p5nnjxvmgjepqkhyyw5xvkwjzk3opzl;/home/serac/serac_tpls/llvm-19.1.1/raja-2024.07.0-fzfgpyaew3paebt7gliwbtkxr54bmt55;/home/serac/serac_tpls/llvm-19.1.1/umpire-2024.07.0-juxmhtd6mga7pu5bo6ergxw5urjxhlgb;/home/serac/serac_tpls/llvm-19.1.1/enzyme-0.0.180-5g64dp4gcya2376i4hubappazgsvr6yw;/home/serac/serac_tpls/llvm-19.1.1/netcdf-c-4.7.4-v5l5xmqciosurfpasm6zhtzwmvc4vi24;/home/serac/serac_tpls/llvm-19.1.1/slepc-3.21.2-ihsquwzjr6rpxu2l3czijifwfivlytqi;/home/serac/serac_tpls/llvm-19.1.1/sundials-6.7.0-dbvedpourx524pzytktiazxjfbeqntg3;/home/serac/serac_tpls/llvm-19.1.1/camp-2024.07.0-tcpdy6rxi7v4xbdojkwfufax2pf6x2ts;/home/serac/serac_tpls/llvm-19.1.1/fmt-11.0.2-vtj543jq2uuqliyilrg4qlp6ndxxiemd;/home/serac/serac_tpls/llvm-19.1.1/hdf5-1.8.23-rslupkamjuagcfeev6xnyc6qtjjyga3b;/home/serac/serac_tpls/llvm-19.1.1/arpack-ng-3.9.1-wrjgc6a3jx3wmjmoi2c5teydqp5brja2;/home/serac/serac_tpls/llvm-19.1.1/petsc-3.21.6-rzrmya4ointoadcopntezmqt4a5t6umr;/home/serac/serac_tpls/llvm-19.1.1/hypre-2.26.0-qs6fiqil4sdd7ozwrhjlsis6t4fc3fuq;/home/serac/serac_tpls/llvm-19.1.1/strumpack-8.0.0-jh2zzfyuwzzig5chae3u6m3ebyca7wk7;/home/serac/serac_tpls/llvm-19.1.1/superlu-dist-8.1.2-azhojsjwdpywpr5lzlwhhtqnphnxjllh;/home/serac/serac_tpls/llvm-19.1.1/netlib-scalapack-2.2.2-jc6yofrlspgow7asd7bxcxyrmxgeozy6;/home/serac/serac_tpls/llvm-19.1.1/parmetis-4.0.3-35b6dycnuuprcnbl7aayxif5odiupaq6;/home/serac/serac_tpls/llvm-19.1.1/metis-5.1.0-47i25u7hnn4xxny6b5z3pekjvj6kjlku;/home/serac/serac_tpls/llvm-19.1.1/mpich-4.2.0-bwz522ssj5775zpsjs2nxaj6gehd7tdq;/home/serac/serac_tpls/none-none/gcc-runtime-13.3.0-6f3a7cf5tiwwl5jhia65h56s4qand7rx;/home/serac/serac_tpls/llvm-19.1.1/hwloc-2.11.1-en7owzmwvvphmona6vvxcvlcbxzbyfw2;/home/serac/serac_tpls/llvm-19.1.1/libfabric-2.2.0-vda63y7sdbg5b6h4hvpcmygunygyr7my;/home/serac/serac_tpls/llvm-19.1.1/yaksa-0.3-6ktpoilt36ux65qff3jperaisoriek3l;/home/serac/serac_tpls/llvm-19.1.1/libpciaccess-0.17-ok5focv2qbtj2nrouqkiswmj2wbfjygn;/home/serac/serac_tpls/llvm-19.1.1/libxml2-2.13.5-k25tezxwuznorvwtt3ddsjf3wc6olkcm;/home/serac/serac_tpls/llvm-19.1.1/ncurses-6.5-20250705-5gdsguofwtckkx6hgxav3vuwoffirzzp;/home/serac/serac_tpls/llvm-19.1.1/libiconv-1.18-b2hrlselsouogi5dw4qpplbwm4bzlyki;/home/serac/serac_tpls/llvm-19.1.1/xz-5.6.3-uiri5j3f4lnhngg2j5iadq7qzsgdsrqu;/home/serac/serac_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm;/usr/lib/llvm-19" CACHE STRING "") +set(CMAKE_PREFIX_PATH "/home/smith/smith_tpls/llvm-19.1.1/tribol-0.1.0.23-usido56e2gywu4a3j6ndbmlx2l6u7xvt;/home/smith/smith_tpls/llvm-19.1.1/axom-0.12.0.0-n2gktbg72pawrvrtndseo3yfmisgyllx;/home/smith/smith_tpls/llvm-19.1.1/conduit-0.9.5-7dnbngkb72cpqwr2sa7oiypbwlkpoug2;/home/smith/smith_tpls/llvm-19.1.1/mfem-4.9.0.2-4lifecl5deeeyetidbatmtizhvqyikgq;/home/smith/smith_tpls/llvm-19.1.1/raja-2025.09.0-fufuimfrnieojba3gpvaws2l7smztnsq;/home/smith/smith_tpls/llvm-19.1.1/umpire-2025.09.0-6hxsccyg76eundpgkcszdzst36kvch4e;/home/smith/smith_tpls/llvm-19.1.1/enzyme-0.0.180-o2ux3firu6amarpcohoxyzbijbso5v7m;/home/smith/smith_tpls/llvm-19.1.1/netcdf-c-4.7.4-de7ys6rkivtlw5ow2q3l34vmy6nuxffw;/home/smith/smith_tpls/llvm-19.1.1/slepc-3.21.2-3dilv4le4xd43ru352pwohsgytr2mddn;/home/smith/smith_tpls/llvm-19.1.1/sundials-6.7.0-mbpqlhkufyzakupib3rk3v6kyw6re4ne;/home/smith/smith_tpls/llvm-19.1.1/camp-2025.09.2-6uv5roijfmpugalgrwsripuo3i7xw6ea;/home/smith/smith_tpls/llvm-19.1.1/fmt-11.0.2-vtj543jq2uuqliyilrg4qlp6ndxxiemd;/home/smith/smith_tpls/llvm-19.1.1/hdf5-1.8.23-2skm3efwsdnpiohtb7derzwkte4rbc6o;/home/smith/smith_tpls/llvm-19.1.1/arpack-ng-3.9.1-wrjgc6a3jx3wmjmoi2c5teydqp5brja2;/home/smith/smith_tpls/llvm-19.1.1/petsc-3.21.6-hwxcya55apz3zbwhiznm4izv3jtdodvc;/home/smith/smith_tpls/llvm-19.1.1/hypre-2.33.0-67a6darhlsprrmlb3idjay577r7jcuqr;/home/smith/smith_tpls/llvm-19.1.1/strumpack-8.0.0-jh2zzfyuwzzig5chae3u6m3ebyca7wk7;/home/smith/smith_tpls/llvm-19.1.1/superlu-dist-8.1.2-azhojsjwdpywpr5lzlwhhtqnphnxjllh;/home/smith/smith_tpls/llvm-19.1.1/netlib-scalapack-2.2.2-jc6yofrlspgow7asd7bxcxyrmxgeozy6;/home/smith/smith_tpls/llvm-19.1.1/parmetis-4.0.3-35b6dycnuuprcnbl7aayxif5odiupaq6;/home/smith/smith_tpls/llvm-19.1.1/metis-5.1.0-47i25u7hnn4xxny6b5z3pekjvj6kjlku;/home/smith/smith_tpls/llvm-19.1.1/mpich-4.2.0-bwz522ssj5775zpsjs2nxaj6gehd7tdq;/home/smith/smith_tpls/none-none/gcc-runtime-13.3.0-6f3a7cf5tiwwl5jhia65h56s4qand7rx;/home/smith/smith_tpls/llvm-19.1.1/hwloc-2.11.1-en7owzmwvvphmona6vvxcvlcbxzbyfw2;/home/smith/smith_tpls/llvm-19.1.1/libfabric-2.2.0-vda63y7sdbg5b6h4hvpcmygunygyr7my;/home/smith/smith_tpls/llvm-19.1.1/yaksa-0.3-6ktpoilt36ux65qff3jperaisoriek3l;/home/smith/smith_tpls/llvm-19.1.1/libpciaccess-0.17-ok5focv2qbtj2nrouqkiswmj2wbfjygn;/home/smith/smith_tpls/llvm-19.1.1/libxml2-2.13.5-k25tezxwuznorvwtt3ddsjf3wc6olkcm;/home/smith/smith_tpls/llvm-19.1.1/ncurses-6.5-20250705-5gdsguofwtckkx6hgxav3vuwoffirzzp;/home/smith/smith_tpls/llvm-19.1.1/libiconv-1.18-b2hrlselsouogi5dw4qpplbwm4bzlyki;/home/smith/smith_tpls/llvm-19.1.1/xz-5.6.3-uiri5j3f4lnhngg2j5iadq7qzsgdsrqu;/home/smith/smith_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm;/usr/lib/llvm-19" CACHE STRING "") set(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE STRING "") -set(CMAKE_BUILD_RPATH "/home/serac/serac_tpls/llvm-19.1.1/serac-develop-vburwg4cb7hbxxkom42k75yd3myyhqtj/lib;/home/serac/serac_tpls/llvm-19.1.1/serac-develop-vburwg4cb7hbxxkom42k75yd3myyhqtj/lib64;;" CACHE STRING "") +set(CMAKE_BUILD_RPATH "/home/smith/smith_tpls/llvm-19.1.1/smith-develop-bysdd7gqpbpofgh3hkvhna5zhoiac2af/lib;/home/smith/smith_tpls/llvm-19.1.1/smith-develop-bysdd7gqpbpofgh3hkvhna5zhoiac2af/lib64;;" CACHE STRING "") -set(CMAKE_INSTALL_RPATH "/home/serac/serac_tpls/llvm-19.1.1/serac-develop-vburwg4cb7hbxxkom42k75yd3myyhqtj/lib;/home/serac/serac_tpls/llvm-19.1.1/serac-develop-vburwg4cb7hbxxkom42k75yd3myyhqtj/lib64;;" CACHE STRING "") +set(CMAKE_INSTALL_RPATH "/home/smith/smith_tpls/llvm-19.1.1/smith-develop-bysdd7gqpbpofgh3hkvhna5zhoiac2af/lib;/home/smith/smith_tpls/llvm-19.1.1/smith-develop-bysdd7gqpbpofgh3hkvhna5zhoiac2af/lib64;;" 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 "/home/serac/serac_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/clang/clang" CACHE PATH "") + set(CMAKE_C_COMPILER "/home/smith/smith_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/clang/clang" CACHE PATH "") - set(CMAKE_CXX_COMPILER "/home/serac/serac_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/clang/clang++" CACHE PATH "") + set(CMAKE_CXX_COMPILER "/home/smith/smith_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/clang/clang++" CACHE PATH "") - set(CMAKE_Fortran_COMPILER "/home/serac/serac_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/gcc/gfortran" CACHE PATH "") + set(CMAKE_Fortran_COMPILER "/home/smith/smith_tpls/none-none/compiler-wrapper-1.0-adr4m722sut3yibwgl2ehvjbtuzeozzm/libexec/spack/gcc/gfortran" CACHE PATH "") else() @@ -47,13 +47,13 @@ set(CMAKE_Fortran_FLAGS "-fPIC -pthread" CACHE STRING "") # MPI #------------------------------------------------------------------------------ -set(MPI_C_COMPILER "/home/serac/serac_tpls/llvm-19.1.1/mpich-4.2.0-bwz522ssj5775zpsjs2nxaj6gehd7tdq/bin/mpicc" CACHE PATH "") +set(MPI_C_COMPILER "/home/smith/smith_tpls/llvm-19.1.1/mpich-4.2.0-bwz522ssj5775zpsjs2nxaj6gehd7tdq/bin/mpicc" CACHE PATH "") -set(MPI_CXX_COMPILER "/home/serac/serac_tpls/llvm-19.1.1/mpich-4.2.0-bwz522ssj5775zpsjs2nxaj6gehd7tdq/bin/mpicxx" CACHE PATH "") +set(MPI_CXX_COMPILER "/home/smith/smith_tpls/llvm-19.1.1/mpich-4.2.0-bwz522ssj5775zpsjs2nxaj6gehd7tdq/bin/mpicxx" CACHE PATH "") -set(MPI_Fortran_COMPILER "/home/serac/serac_tpls/llvm-19.1.1/mpich-4.2.0-bwz522ssj5775zpsjs2nxaj6gehd7tdq/bin/mpif90" CACHE PATH "") +set(MPI_Fortran_COMPILER "/home/smith/smith_tpls/llvm-19.1.1/mpich-4.2.0-bwz522ssj5775zpsjs2nxaj6gehd7tdq/bin/mpif90" CACHE PATH "") -set(MPIEXEC_EXECUTABLE "/home/serac/serac_tpls/llvm-19.1.1/mpich-4.2.0-bwz522ssj5775zpsjs2nxaj6gehd7tdq/bin/mpirun" CACHE PATH "") +set(MPIEXEC_EXECUTABLE "/home/smith/smith_tpls/llvm-19.1.1/mpich-4.2.0-bwz522ssj5775zpsjs2nxaj6gehd7tdq/bin/mpirun" CACHE PATH "") set(MPIEXEC_NUMPROC_FLAG "-np" CACHE STRING "") @@ -69,27 +69,27 @@ set(ENABLE_OPENMP ON CACHE BOOL "") # TPLs #------------------------------------------------------------------------------ -set(TPL_ROOT "/home/serac/serac_tpls/llvm-19.1.1" CACHE PATH "") +set(TPL_ROOT "/home/smith/smith_tpls/llvm-19.1.1" CACHE PATH "") -set(AXOM_DIR "${TPL_ROOT}/axom-0.11.0.1-gvtvq2exv3yuvub5mgvnqvlsxfieas65" CACHE PATH "") +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-n2gktbg72pawrvrtndseo3yfmisgyllx" CACHE PATH "") -set(CAMP_DIR "${TPL_ROOT}/camp-2024.07.0-tcpdy6rxi7v4xbdojkwfufax2pf6x2ts" CACHE PATH "") +set(CAMP_DIR "${TPL_ROOT}/camp-2025.09.2-6uv5roijfmpugalgrwsripuo3i7xw6ea" CACHE PATH "") -set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.2-pa56tobns52wm2xjfzqasd3prjrakypm" CACHE PATH "") +set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.5-7dnbngkb72cpqwr2sa7oiypbwlkpoug2" CACHE PATH "") set(LUA_DIR "/usr" CACHE PATH "") -set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.1-3p5nnjxvmgjepqkhyyw5xvkwjzk3opzl" CACHE PATH "") +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-4lifecl5deeeyetidbatmtizhvqyikgq" CACHE PATH "") -set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-rslupkamjuagcfeev6xnyc6qtjjyga3b" CACHE PATH "") +set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-2skm3efwsdnpiohtb7derzwkte4rbc6o" CACHE PATH "") -set(HYPRE_DIR "${TPL_ROOT}/hypre-2.26.0-qs6fiqil4sdd7ozwrhjlsis6t4fc3fuq" CACHE PATH "") +set(HYPRE_DIR "${TPL_ROOT}/hypre-2.33.0-67a6darhlsprrmlb3idjay577r7jcuqr" CACHE PATH "") set(METIS_DIR "${TPL_ROOT}/metis-5.1.0-47i25u7hnn4xxny6b5z3pekjvj6kjlku" CACHE PATH "") set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-35b6dycnuuprcnbl7aayxif5odiupaq6" CACHE PATH "") -set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-v5l5xmqciosurfpasm6zhtzwmvc4vi24" CACHE PATH "") +set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-de7ys6rkivtlw5ow2q3l34vmy6nuxffw" CACHE PATH "") set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-azhojsjwdpywpr5lzlwhhtqnphnxjllh" CACHE PATH "") @@ -101,21 +101,21 @@ set(ARPACK_DIR "${TPL_ROOT}/arpack-ng-3.9.1-wrjgc6a3jx3wmjmoi2c5teydqp5brja2" CA # CALIPER not built -set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-5g64dp4gcya2376i4hubappazgsvr6yw" CACHE PATH "") +set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-o2ux3firu6amarpcohoxyzbijbso5v7m" CACHE PATH "") -set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-rzrmya4ointoadcopntezmqt4a5t6umr" CACHE PATH "") +set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-hwxcya55apz3zbwhiznm4izv3jtdodvc" CACHE PATH "") -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-fzfgpyaew3paebt7gliwbtkxr54bmt55" CACHE PATH "") +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-fufuimfrnieojba3gpvaws2l7smztnsq" CACHE PATH "") -set(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-ihsquwzjr6rpxu2l3czijifwfivlytqi" CACHE PATH "") +set(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-3dilv4le4xd43ru352pwohsgytr2mddn" CACHE PATH "") set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-jh2zzfyuwzzig5chae3u6m3ebyca7wk7" CACHE PATH "") -set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-dbvedpourx524pzytktiazxjfbeqntg3" CACHE PATH "") +set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-mbpqlhkufyzakupib3rk3v6kyw6re4ne" CACHE PATH "") -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-juxmhtd6mga7pu5bo6ergxw5urjxhlgb" CACHE PATH "") +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-6hxsccyg76eundpgkcszdzst36kvch4e" CACHE PATH "") -set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.22-gvkf7l7tskcu7mwkwvf3m3mlo3fz2jpf" CACHE PATH "") +set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.23-usido56e2gywu4a3j6ndbmlx2l6u7xvt" CACHE PATH "") #------------------------------------------------------------------------------ # Devtools 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 000000000..b16cb5b26 --- /dev/null +++ b/host-configs/rzadams-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip.cmake @@ -0,0 +1,148 @@ +#------------------------------------------------------------------------------ +# !!!! 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 "") + +#------------------------------------------------------------------------------ +# 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(CAMP_DIR "${TPL_ROOT}/camp-2025.09.2-3fxmbhyimpvimplr2qvt32giqaom7ymy" CACHE PATH "") + +set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.5-fr6nlivg2q44p2fm7d3twivtsitkrwp4" CACHE PATH "") + +set(LUA_DIR "/usr" CACHE PATH "") + +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-mk5cpr4hsq5tf5tqne5uckm26jmvwcvd" CACHE PATH "") + +set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-hi7eotv4olqrfedxqzy56p3mgfldbpyg" CACHE PATH "") + +set(HYPRE_DIR "${TPL_ROOT}/hypre-2.33.0-smuq4sfalzokt3xbj3afxcyxdyr737yr" CACHE PATH "") + +set(METIS_DIR "${TPL_ROOT}/metis-5.1.0-rvjhpveexfgalsyntmwhkwm6icozu7zg" CACHE PATH "") + +set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-5prdk7nqp4ujhc3suytx66t2jkhunia4" CACHE PATH "") + +set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-hdvzf6k35jgfv4fto44neg6oka65trbb" CACHE PATH "") + +set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-j4sdkhw4zt5g7zogpylucmb2adzufpps" CACHE PATH "") + +set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-3pedcs7kfkltks4rbuimessyn2ftkfb7" CACHE PATH "") + +# AMGX not built + +set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-tdt2eikgly5djuxkxoaeoora46pkhg3q" CACHE PATH "") + +# ENZYME not built + +# PETSC not built + +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-mlvvn7h257hluzfwmkgk5qyvvdgcimzr" CACHE PATH "") + +# SLEPC not built + +set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-hs2yx7rpgcfmescp4tgang2enurkzoyj" CACHE PATH "") + +# SUNDIALS not built + +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-7qtxj2a5ihxb7metqdjot6dxmfof47oe" CACHE PATH "") + +set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.23-n64mpdyt3yvtinp6dhdmmeidrtbtssbo" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Devtools +#------------------------------------------------------------------------------ + +# Code checks disabled due to disabled devtools + +set(SMITH_ENABLE_CODE_CHECKS OFF CACHE BOOL "") + +set(ENABLE_CLANGFORMAT OFF CACHE BOOL "") + +set(ENABLE_CLANGTIDY OFF CACHE BOOL "") + +set(ENABLE_DOCS OFF CACHE BOOL "") + + diff --git a/host-configs/rzadams-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip_enzyme.cmake b/host-configs/rzadams-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip_enzyme.cmake new file mode 100644 index 000000000..af28408b5 --- /dev/null +++ b/host-configs/rzadams-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip_enzyme.cmake @@ -0,0 +1,147 @@ +#------------------------------------------------------------------------------ +# !!!! 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_13_11_17_03/llvm-amdgpu-6.4.2/caliper-2.12.1-tdt2eikgly5djuxkxoaeoora46pkhg3q;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/tribol-0.1.0.23-lsokqdf2gqzplhzf3rzctavbczz5i4ah;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/adiak-0.4.1-3pedcs7kfkltks4rbuimessyn2ftkfb7;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/libunwind-1.8.1-ijbnecr6mrnowuwv3khy34jidzh3yyj3;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/axom-0.12.0.0-xnz7rzvxkvy5ujy7hsffpqyrjjbbecyg;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/conduit-0.9.5-fr6nlivg2q44p2fm7d3twivtsitkrwp4;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/mfem-4.9.0.2-z7vfceuxqpfvnmta32y3cdk7inyhzowx;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/enzyme-0.0.180-55na6ly2nalovxe2t7d2lihtwlakxnaz;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/hypre-2.33.0-smuq4sfalzokt3xbj3afxcyxdyr737yr;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/netcdf-c-4.7.4-hdvzf6k35jgfv4fto44neg6oka65trbb;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/raja-2025.09.0-mlvvn7h257hluzfwmkgk5qyvvdgcimzr;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/strumpack-8.0.0-hs2yx7rpgcfmescp4tgang2enurkzoyj;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/superlu-dist-8.1.2-j4sdkhw4zt5g7zogpylucmb2adzufpps;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/umpire-2025.09.0-7qtxj2a5ihxb7metqdjot6dxmfof47oe;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/hdf5-1.8.23-hi7eotv4olqrfedxqzy56p3mgfldbpyg;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/netlib-scalapack-2.2.2-a5ef54cb4mvrj7vaia2nssjjiy42fuy6;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/parmetis-4.0.3-5prdk7nqp4ujhc3suytx66t2jkhunia4;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/camp-2025.09.2-3fxmbhyimpvimplr2qvt32giqaom7ymy;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/fmt-11.0.2-7obrzgdsm7vuixhdva7kcl7ut637gmfw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/metis-5.1.0-rvjhpveexfgalsyntmwhkwm6icozu7zg;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/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_13_11_17_03/llvm-amdgpu-6.4.2/smith-develop-efnfuu7vhtjb42racje2yz3xxkzwjvaf/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/smith-develop-efnfuu7vhtjb42racje2yz3xxkzwjvaf/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_13_11_17_03/llvm-amdgpu-6.4.2/smith-develop-efnfuu7vhtjb42racje2yz3xxkzwjvaf/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_11_17_03/llvm-amdgpu-6.4.2/smith-develop-efnfuu7vhtjb42racje2yz3xxkzwjvaf/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_13_11_17_03/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_13_11_17_03/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_13_11_17_03/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_13_11_17_03/llvm-amdgpu-6.4.2" CACHE PATH "") + +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-xnz7rzvxkvy5ujy7hsffpqyrjjbbecyg" CACHE PATH "") + +set(CAMP_DIR "${TPL_ROOT}/camp-2025.09.2-3fxmbhyimpvimplr2qvt32giqaom7ymy" CACHE PATH "") + +set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.5-fr6nlivg2q44p2fm7d3twivtsitkrwp4" CACHE PATH "") + +set(LUA_DIR "/usr" CACHE PATH "") + +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-z7vfceuxqpfvnmta32y3cdk7inyhzowx" CACHE PATH "") + +set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-hi7eotv4olqrfedxqzy56p3mgfldbpyg" CACHE PATH "") + +set(HYPRE_DIR "${TPL_ROOT}/hypre-2.33.0-smuq4sfalzokt3xbj3afxcyxdyr737yr" CACHE PATH "") + +set(METIS_DIR "${TPL_ROOT}/metis-5.1.0-rvjhpveexfgalsyntmwhkwm6icozu7zg" CACHE PATH "") + +set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-5prdk7nqp4ujhc3suytx66t2jkhunia4" CACHE PATH "") + +set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-hdvzf6k35jgfv4fto44neg6oka65trbb" CACHE PATH "") + +set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-j4sdkhw4zt5g7zogpylucmb2adzufpps" CACHE PATH "") + +set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-3pedcs7kfkltks4rbuimessyn2ftkfb7" CACHE PATH "") + +# AMGX not built + +set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-tdt2eikgly5djuxkxoaeoora46pkhg3q" CACHE PATH "") + +set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-55na6ly2nalovxe2t7d2lihtwlakxnaz" CACHE PATH "") + +# PETSC not built + +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-mlvvn7h257hluzfwmkgk5qyvvdgcimzr" CACHE PATH "") + +# SLEPC not built + +set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-hs2yx7rpgcfmescp4tgang2enurkzoyj" CACHE PATH "") + +# SUNDIALS not built + +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-7qtxj2a5ihxb7metqdjot6dxmfof47oe" CACHE PATH "") + +set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.23-lsokqdf2gqzplhzf3rzctavbczz5i4ah" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Devtools +#------------------------------------------------------------------------------ + +# Code checks disabled due to disabled devtools + +set(SMITH_ENABLE_CODE_CHECKS OFF CACHE BOOL "") + +set(ENABLE_CLANGFORMAT OFF CACHE BOOL "") + +set(ENABLE_CLANGTIDY OFF CACHE BOOL "") + +set(ENABLE_DOCS OFF CACHE BOOL "") + 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 9c525c594..f54e37ff5 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/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/caliper-2.12.1-nnegy5dckpkmcjxr2d7p3bxftxnp7ugy;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/tribol-0.1.0.21-yxlr52ve2o2wtqrlhh5qitztwdsey4jq;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/adiak-0.4.1-vcebqioolx5swnh5jh3vofbc7gwxbjnz;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/axom-0.11.0.1-dfenolqzwiv5tihipn24dy4owcpqirx4;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/conduit-0.9.2-3zjitqyjo5hywwgvoiksoah3vo3xoxpo;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/mfem-4.9.0.1-j57zj7s43k757edvfjmhckira4ijyzxw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/raja-2024.07.0-xgktxoswgbbqcqkrxl5nrfhabqjb7nqi;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/umpire-2024.07.0-2lgp2wihiz7gghci2euzhvj65xbfrgo3;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/netcdf-c-4.7.4-bp24ixl6szluqobec5eicnqm5df6wfmo;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/slepc-3.21.2-p3fl3xkwq3dszpyazj3uxjxwmu6upv4y;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/sundials-6.7.0-pegrbubvgbbnxgklabb3hq4yeb7jfabc;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/camp-2024.07.0-5hekan5rpn3dzadr3gucz7u5q4cglwwz;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/fmt-11.0.2-usm3fj6qxr75ga5p2ydlhearxsbtpckd;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/hdf5-1.8.23-a5aevsftdqt4quek6v6eluljsazqs6ww;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/arpack-ng-3.9.1-dmayqpcvmr6cb5lilfwbygkec2fmshj6;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/petsc-3.21.6-kc675eyn4s5ldwml6rygmvwjmipr5xw7;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/hypre-2.26.0-fip3pi45ru7ao6y4rcjwlrrtmyz56gd2;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/strumpack-8.0.0-nikoevilkmzfxtoywzljgbcpgtpx2s62;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/superlu-dist-8.1.2-l5xmnfrhhqqa7z5hnibp522ceevfibup;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/netlib-scalapack-2.2.2-exloohmk6uv52js7hiy74dkuzdaxgzho;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/parmetis-4.0.3-q4uej3qoobfln5vpx55kpxprhwfxahgz;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/metis-5.1.0-nbxqo5m7iy3uyjd32skqzpa4d5cev2dt;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/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_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/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/serac-develop-z4njobo5mgy5du53ckmdif5iinxriidw/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/serac-develop-z4njobo5mgy5du53ckmdif5iinxriidw/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/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/serac-develop-z4njobo5mgy5du53ckmdif5iinxriidw/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/gcc-13.3.1/serac-develop-z4njobo5mgy5du53ckmdif5iinxriidw/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/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/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_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gcc" CACHE PATH "") - set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/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_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/g++" CACHE PATH "") - set(CMAKE_Fortran_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/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_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gfortran" CACHE PATH "") else() @@ -65,53 +65,53 @@ set(ENABLE_OPENMP ON CACHE BOOL "") # TPLs #------------------------------------------------------------------------------ -set(TPL_ROOT "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/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.11.0.1-dfenolqzwiv5tihipn24dy4owcpqirx4" CACHE PATH "") +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-i37xne6rixnhgwrptvzzfbrgcmdryhoo" CACHE PATH "") -set(CAMP_DIR "${TPL_ROOT}/camp-2024.07.0-5hekan5rpn3dzadr3gucz7u5q4cglwwz" CACHE PATH "") +set(CAMP_DIR "${TPL_ROOT}/camp-2025.09.2-qei7a63hp4u37cas2m7zte3phmv2fyhd" CACHE PATH "") -set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.2-3zjitqyjo5hywwgvoiksoah3vo3xoxpo" CACHE PATH "") +set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.5-bb722yzgl4d3g2diyieu73hrkt732qez" CACHE PATH "") set(LUA_DIR "/usr" CACHE PATH "") -set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.1-j57zj7s43k757edvfjmhckira4ijyzxw" CACHE PATH "") +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-rnhik76bnx6j6665kwbnzm355av6lpmp" CACHE PATH "") -set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-a5aevsftdqt4quek6v6eluljsazqs6ww" CACHE PATH "") +set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-frgmbp2plziqwxwypvemeglz6semjqei" CACHE PATH "") -set(HYPRE_DIR "${TPL_ROOT}/hypre-2.26.0-fip3pi45ru7ao6y4rcjwlrrtmyz56gd2" CACHE PATH "") +set(HYPRE_DIR "${TPL_ROOT}/hypre-2.33.0-23ph5bzk62r3tntdn277zrtv6dpmon2n" CACHE PATH "") set(METIS_DIR "${TPL_ROOT}/metis-5.1.0-nbxqo5m7iy3uyjd32skqzpa4d5cev2dt" CACHE PATH "") -set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-q4uej3qoobfln5vpx55kpxprhwfxahgz" CACHE PATH "") +set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-c7wowvg6qcowqn53dlxtq4msf5m7tfo7" CACHE PATH "") -set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-bp24ixl6szluqobec5eicnqm5df6wfmo" CACHE PATH "") +set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-zslniorcg7ki7lnsimctkn6ig3zg2qaw" CACHE PATH "") -set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-l5xmnfrhhqqa7z5hnibp522ceevfibup" CACHE PATH "") +set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-quwnz5kk2xb42g3j7vejc6hrq2urngof" CACHE PATH "") -set(ARPACK_DIR "${TPL_ROOT}/arpack-ng-3.9.1-dmayqpcvmr6cb5lilfwbygkec2fmshj6" CACHE PATH "") +set(ARPACK_DIR "${TPL_ROOT}/arpack-ng-3.9.1-foedq43u27rbxrupjqborfxd47smzuch" CACHE PATH "") -set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-vcebqioolx5swnh5jh3vofbc7gwxbjnz" CACHE PATH "") +set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-2z3ogwq4rmbuwpc5vl2mgxymme4mfbke" CACHE PATH "") # AMGX not built -set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-nnegy5dckpkmcjxr2d7p3bxftxnp7ugy" CACHE PATH "") +set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-cg25q356sb7kiuabwtfka4tywsgbtpiu" CACHE PATH "") # ENZYME not built -set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-kc675eyn4s5ldwml6rygmvwjmipr5xw7" CACHE PATH "") +set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-jfsq7enjou6z5mzggfqndbmtc3sz3jy2" CACHE PATH "") -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(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-p3fl3xkwq3dszpyazj3uxjxwmu6upv4y" CACHE PATH "") +set(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-y7425db4zsffjhcc3d33o2s2pz7w6664" CACHE PATH "") -set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-nikoevilkmzfxtoywzljgbcpgtpx2s62" CACHE PATH "") +set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-zn5qsdclfhyvrubcweeqymoptoqm3vja" CACHE PATH "") -set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-pegrbubvgbbnxgklabb3hq4yeb7jfabc" CACHE PATH "") +set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-7azsxv7nm2sr5pyi6px6abcdb6l475bv" 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 "") -set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.21-yxlr52ve2o2wtqrlhh5qitztwdsey4jq" CACHE PATH "") +set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.23-ysqjlxfxls46fsccfvnaw3teuqj7jp3f" CACHE PATH "") #------------------------------------------------------------------------------ # Devtools 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 index 28f32d1b4..5bb9d2ea7 100644 --- 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 @@ -4,13 +4,13 @@ # CMake executable path: /usr/tce/bin/cmake #------------------------------------------------------------------------------ -set(CMAKE_PREFIX_PATH "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/caliper-2.12.1-nz3lmb4qolrz7prhtoyugz74vnxcihtw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/tribol-0.1.0.21-io3zjlwaagjs7nr43kr25ft2kk6jaqcy;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/adiak-0.4.1-7ttshzflnc4rsmmjqmbz2qjfkj3frqek;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/axom-0.11.0.1-ezlhr7rmy4bbuyw7y3kpv54awmt6xswv;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/conduit-0.9.2-yz5fziquxcqrzxsoibtohkjghn3gwqzh;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/mfem-4.9.0.1-2zqzspuhyk22k2mwcbiwll7x3qiyoygf;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/raja-2024.07.0-yjwvxtexaphdxrgs333gamhjayjkt5eo;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/umpire-2024.07.0-6p3ogm6uegmc7q3snwgsx2qkopyqte6d;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/enzyme-0.0.180-xleormmofvptlsthvvypxjc6e5plzyh5;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/netcdf-c-4.7.4-ssvz6dnq434dzlcdpes77r2arssoh4bs;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/slepc-3.21.2-4dvwsscflircxhm3xz3gxqahjqs7vtii;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/sundials-6.7.0-dybn2xdbel2rly4ycu6qsopvep4h2dgq;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/camp-2024.07.0-y2oepihweipevkkjgnyhvkw2fs37gpbv;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/fmt-11.0.2-klyhttb7ma3ny2ksm6ywvoorqr6nrhie;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/hdf5-1.8.23-3prkcsqw75gpmqy244zr72uq7s4dnles;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/arpack-ng-3.9.1-ki5vt7m6djybol2y6v4lmlgt7ecymnj2;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/petsc-3.21.6-2kazkxzachljuze4z5vspjo7g3ozq3pu;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/hypre-2.26.0-yuzmo7lanmrkn2tefxtkngyestzhp55e;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/strumpack-8.0.0-fu5524rjudtlevyooypmkiochtaakgxt;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/superlu-dist-8.1.2-ges7olrg4fbofm43fij7yalrcmh4lmxy;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/netlib-scalapack-2.2.2-qeorvxwxdo6tahacqg5zqz4dznn5v2vs;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/parmetis-4.0.3-7pxu4ifofsjnj6bpm7v3yyag24adjwze;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/none-none/gcc-runtime-13.3.1-uv6f6pcmzth37hskwtrhtbmbujh53k6y;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/metis-5.1.0-2pu2cesnzoxhc53feelz6xnfos4rz43a;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/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_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_09_25_10_50_56/llvm-19.1.3/serac-develop-gdgryxh7gim7uyacp2qmxtk2qolmvxm7/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/serac-develop-gdgryxh7gim7uyacp2qmxtk2qolmvxm7/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_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_09_25_10_50_56/llvm-19.1.3/serac-develop-gdgryxh7gim7uyacp2qmxtk2qolmvxm7/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3/serac-develop-gdgryxh7gim7uyacp2qmxtk2qolmvxm7/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 "") @@ -21,11 +21,11 @@ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") #------------------------------------------------------------------------------ if(DEFINED ENV{SPACK_CC}) - set(CMAKE_C_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/clang/clang" 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/clang/clang" CACHE PATH "") - set(CMAKE_CXX_COMPILER "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/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_09_25_10_50_56/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_15/none-none/compiler-wrapper-1.0-hxzxhboumtniaqs7qivgliluv4h2lbxt/libexec/spack/gcc/gfortran" CACHE PATH "") else() @@ -65,53 +65,53 @@ set(ENABLE_OPENMP ON CACHE BOOL "") # TPLs #------------------------------------------------------------------------------ -set(TPL_ROOT "/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib/2025_09_25_10_50_56/llvm-19.1.3" CACHE PATH "") +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.11.0.1-ezlhr7rmy4bbuyw7y3kpv54awmt6xswv" CACHE PATH "") +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-45futx52tz63tfajb4xrtr5uyir33kij" CACHE PATH "") -set(CAMP_DIR "${TPL_ROOT}/camp-2024.07.0-y2oepihweipevkkjgnyhvkw2fs37gpbv" CACHE PATH "") +set(CAMP_DIR "${TPL_ROOT}/camp-2025.09.2-exklmptyvyylyhheouqowazmvdzpf7op" CACHE PATH "") -set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.2-yz5fziquxcqrzxsoibtohkjghn3gwqzh" CACHE PATH "") +set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.5-6hyhaouworooemg5ys23cl46qko6hpf7" CACHE PATH "") set(LUA_DIR "/usr" CACHE PATH "") -set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.1-2zqzspuhyk22k2mwcbiwll7x3qiyoygf" CACHE PATH "") +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-lxmn6iy6khcpe6tizo3ynvvd4hiyktps" CACHE PATH "") -set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-3prkcsqw75gpmqy244zr72uq7s4dnles" CACHE PATH "") +set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-rwzwt3mizlt7inrqhw265xklvlx5w3ju" CACHE PATH "") -set(HYPRE_DIR "${TPL_ROOT}/hypre-2.26.0-yuzmo7lanmrkn2tefxtkngyestzhp55e" CACHE PATH "") +set(HYPRE_DIR "${TPL_ROOT}/hypre-2.33.0-ebs6zrtqf7mug35yez5i5ceq3zxznv3s" CACHE PATH "") set(METIS_DIR "${TPL_ROOT}/metis-5.1.0-2pu2cesnzoxhc53feelz6xnfos4rz43a" CACHE PATH "") -set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-7pxu4ifofsjnj6bpm7v3yyag24adjwze" CACHE PATH "") +set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-4thtnxv4kii5rl3pnphqgwzbqr5l72xz" CACHE PATH "") -set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-ssvz6dnq434dzlcdpes77r2arssoh4bs" CACHE PATH "") +set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-p7xuxxst3xxa6wwqftrazpwsu54umxvb" CACHE PATH "") -set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-ges7olrg4fbofm43fij7yalrcmh4lmxy" CACHE PATH "") +set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-xz552dtahyxm44unb5ouiubr3teq7gfk" CACHE PATH "") -set(ARPACK_DIR "${TPL_ROOT}/arpack-ng-3.9.1-ki5vt7m6djybol2y6v4lmlgt7ecymnj2" CACHE PATH "") +set(ARPACK_DIR "${TPL_ROOT}/arpack-ng-3.9.1-mcmuyid4s3kp5eugb6wtoly2nnbukfss" CACHE PATH "") -set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-7ttshzflnc4rsmmjqmbz2qjfkj3frqek" CACHE PATH "") +set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-phz7spqilihsb7voe6ubymle2n43ihrt" CACHE PATH "") # AMGX not built -set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-nz3lmb4qolrz7prhtoyugz74vnxcihtw" CACHE PATH "") +set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-z4b5jhgqubkdztt3a7rv472qfyitrwjt" CACHE PATH "") -set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-xleormmofvptlsthvvypxjc6e5plzyh5" CACHE PATH "") +set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-7i4qtqo3obdncxmd7x2nxqpsrzscgxoj" CACHE PATH "") -set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-2kazkxzachljuze4z5vspjo7g3ozq3pu" CACHE PATH "") +set(PETSC_DIR "${TPL_ROOT}/petsc-3.21.6-7zcj2uxdp25op43kutj6uecnemuq25tf" CACHE PATH "") -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-yjwvxtexaphdxrgs333gamhjayjkt5eo" CACHE PATH "") +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-zcwyfo2b2rwnxkmdp4c3k43sm3iiwane" CACHE PATH "") -set(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-4dvwsscflircxhm3xz3gxqahjqs7vtii" CACHE PATH "") +set(SLEPC_DIR "${TPL_ROOT}/slepc-3.21.2-67qm4jsx4ih6thr2ttffvtzdlsttixju" CACHE PATH "") -set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-fu5524rjudtlevyooypmkiochtaakgxt" CACHE PATH "") +set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-njongku6aahr4duq3hzznxylsfdeib5v" CACHE PATH "") -set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-dybn2xdbel2rly4ycu6qsopvep4h2dgq" CACHE PATH "") +set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-thnhsd6xkzbsuij75tb3344nphzg7wyj" CACHE PATH "") -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-6p3ogm6uegmc7q3snwgsx2qkopyqte6d" CACHE PATH "") +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-hwbvsapxfvyo4tupsxuhhqcfqd2lzq2r" CACHE PATH "") -set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.21-io3zjlwaagjs7nr43kr25ft2kk6jaqcy" CACHE PATH "") +set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.23-oe43csdvi5y3asre3fysjqta7lc54xqj" CACHE PATH "") #------------------------------------------------------------------------------ # Devtools 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 64634483e..000000000 --- a/host-configs/tioga-toss_4_x86_64_ib_cray-rocmcc@6.2.1_hip.cmake +++ /dev/null @@ -1,144 +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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/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/smith/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/serac-develop-og4fmn5dkubewiybduaji237suiuzssb/lib;/usr/WS2/smithdev/libs/smith/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/smith/toss_4_x86_64_ib_cray/2025_04_16_13_46_36/rocmcc-6.2.1/serac-develop-og4fmn5dkubewiybduaji237suiuzssb/lib;/usr/WS2/smithdev/libs/smith/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/smith/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/smith/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/smith/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 "") - -#------------------------------------------------------------------------------ -# TPLs -#------------------------------------------------------------------------------ - -set(TPL_ROOT "/usr/WS2/smithdev/libs/smith/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(CAMP_DIR "${TPL_ROOT}/camp-2024.07.0-223y52kngyoyilxr7gz3i4pe5btnm5uq" CACHE PATH "") - -set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.2-wo23sn3yekayvxjphe2eu4vvmvkqrovj" CACHE PATH "") - -set(LUA_DIR "/usr" CACHE PATH "") - -set(MFEM_DIR "${TPL_ROOT}/mfem-4.8.0.1-s6vr55m7kq5gylxswlaqy5usltbrslzd" CACHE PATH "") - -set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-zhqxrmbx5hqezzazejozk5l7wuz3ijx6" CACHE PATH "") - -set(HYPRE_DIR "${TPL_ROOT}/hypre-2.26.0-sffmaz74r5zmnzir6l73deslw36yypsh" CACHE PATH "") - -set(METIS_DIR "${TPL_ROOT}/metis-5.1.0-q4s4zr5oj2vsyc4eqjy22wrwndgb4fnh" CACHE PATH "") - -set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-7o2cbbpbawncpn24yftcj24gbopz4aev" CACHE PATH "") - -set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-m3moxxpcdu3id35a6ib662pmcpe6hlxt" CACHE PATH "") - -set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-ulxns2zfpqyuezhrgxjh7do45ezer2m5" CACHE PATH "") - -set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-djvwhzv7uucbw342y2lxn6mjv4onnzeh" CACHE PATH "") - -# AMGX not built - -set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-h2elmogt2mtorvunf67jrcxqdcrzjjem" CACHE PATH "") - -# PETSC not built - -set(RAJA_DIR "${TPL_ROOT}/raja-2024.07.0-m322mdffprdfso4vg7iox3n5goelhtyp" CACHE PATH "") - -# SLEPC not built - -set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-w5kwnpidy7gzm4q2kplzw7ip2hebkojg" CACHE PATH "") - -set(SUNDIALS_DIR "${TPL_ROOT}/sundials-6.7.0-ihjcn5jozjo6hqxvueljdahsvpg4fpyr" CACHE PATH "") - -set(UMPIRE_DIR "${TPL_ROOT}/umpire-2024.07.0-h4aizqln4js5uo6o5dnkkjadcq5apw37" CACHE PATH "") - -set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.18-neize4eyd3wxmeuui44az2x5ecqfe2pd" CACHE PATH "") - -#------------------------------------------------------------------------------ -# Devtools -#------------------------------------------------------------------------------ - -# Code checks disabled due to disabled devtools - -set(SMITH_ENABLE_CODE_CHECKS OFF CACHE BOOL "") - -set(ENABLE_CLANGFORMAT OFF CACHE BOOL "") - -set(ENABLE_CLANGTIDY OFF CACHE BOOL "") - -set(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 000000000..68d80a5cb --- /dev/null +++ b/host-configs/tuolumne-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip.cmake @@ -0,0 +1,148 @@ +#------------------------------------------------------------------------------ +# !!!! 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(CAMP_DIR "${TPL_ROOT}/camp-2025.09.2-3fxmbhyimpvimplr2qvt32giqaom7ymy" CACHE PATH "") + +set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.5-fr6nlivg2q44p2fm7d3twivtsitkrwp4" CACHE PATH "") + +set(LUA_DIR "/usr" CACHE PATH "") + +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-mk5cpr4hsq5tf5tqne5uckm26jmvwcvd" CACHE PATH "") + +set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-hi7eotv4olqrfedxqzy56p3mgfldbpyg" CACHE PATH "") + +set(HYPRE_DIR "${TPL_ROOT}/hypre-2.33.0-smuq4sfalzokt3xbj3afxcyxdyr737yr" CACHE PATH "") + +set(METIS_DIR "${TPL_ROOT}/metis-5.1.0-rvjhpveexfgalsyntmwhkwm6icozu7zg" CACHE PATH "") + +set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-5prdk7nqp4ujhc3suytx66t2jkhunia4" CACHE PATH "") + +set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-hdvzf6k35jgfv4fto44neg6oka65trbb" CACHE PATH "") + +set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-j4sdkhw4zt5g7zogpylucmb2adzufpps" CACHE PATH "") + +set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-3pedcs7kfkltks4rbuimessyn2ftkfb7" CACHE PATH "") + +# AMGX not built + +set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-tdt2eikgly5djuxkxoaeoora46pkhg3q" CACHE PATH "") + +# ENZYME not built + +# PETSC not built + +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-mlvvn7h257hluzfwmkgk5qyvvdgcimzr" CACHE PATH "") + +# SLEPC not built + +set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-hs2yx7rpgcfmescp4tgang2enurkzoyj" CACHE PATH "") + +# SUNDIALS not built + +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-7qtxj2a5ihxb7metqdjot6dxmfof47oe" CACHE PATH "") + +set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.23-n64mpdyt3yvtinp6dhdmmeidrtbtssbo" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Devtools +#------------------------------------------------------------------------------ + +# Code checks disabled due to disabled devtools + +set(SMITH_ENABLE_CODE_CHECKS OFF CACHE BOOL "") + +set(ENABLE_CLANGFORMAT OFF CACHE BOOL "") + +set(ENABLE_CLANGTIDY OFF CACHE BOOL "") + +set(ENABLE_DOCS OFF CACHE BOOL "") + + diff --git a/host-configs/tuolumne-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip_enzyme.cmake b/host-configs/tuolumne-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip_enzyme.cmake new file mode 100644 index 000000000..b2588c218 --- /dev/null +++ b/host-configs/tuolumne-toss_4_x86_64_ib_cray-llvm-amdgpu@6.4.2_hip_enzyme.cmake @@ -0,0 +1,147 @@ +#------------------------------------------------------------------------------ +# !!!! 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_13_13_42_19/llvm-amdgpu-6.4.2/caliper-2.12.1-tdt2eikgly5djuxkxoaeoora46pkhg3q;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/tribol-0.1.0.23-lsokqdf2gqzplhzf3rzctavbczz5i4ah;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/adiak-0.4.1-3pedcs7kfkltks4rbuimessyn2ftkfb7;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/libunwind-1.8.1-ijbnecr6mrnowuwv3khy34jidzh3yyj3;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/axom-0.12.0.0-xnz7rzvxkvy5ujy7hsffpqyrjjbbecyg;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/conduit-0.9.5-fr6nlivg2q44p2fm7d3twivtsitkrwp4;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/mfem-4.9.0.2-z7vfceuxqpfvnmta32y3cdk7inyhzowx;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/enzyme-0.0.180-55na6ly2nalovxe2t7d2lihtwlakxnaz;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/hypre-2.33.0-smuq4sfalzokt3xbj3afxcyxdyr737yr;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/netcdf-c-4.7.4-hdvzf6k35jgfv4fto44neg6oka65trbb;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/raja-2025.09.0-mlvvn7h257hluzfwmkgk5qyvvdgcimzr;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/strumpack-8.0.0-hs2yx7rpgcfmescp4tgang2enurkzoyj;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/superlu-dist-8.1.2-j4sdkhw4zt5g7zogpylucmb2adzufpps;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/umpire-2025.09.0-7qtxj2a5ihxb7metqdjot6dxmfof47oe;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/hdf5-1.8.23-hi7eotv4olqrfedxqzy56p3mgfldbpyg;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/netlib-scalapack-2.2.2-a5ef54cb4mvrj7vaia2nssjjiy42fuy6;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/parmetis-4.0.3-5prdk7nqp4ujhc3suytx66t2jkhunia4;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/camp-2025.09.2-3fxmbhyimpvimplr2qvt32giqaom7ymy;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/fmt-11.0.2-7obrzgdsm7vuixhdva7kcl7ut637gmfw;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/metis-5.1.0-rvjhpveexfgalsyntmwhkwm6icozu7zg;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/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_13_13_42_19/llvm-amdgpu-6.4.2/smith-develop-efnfuu7vhtjb42racje2yz3xxkzwjvaf/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/smith-develop-efnfuu7vhtjb42racje2yz3xxkzwjvaf/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_13_13_42_19/llvm-amdgpu-6.4.2/smith-develop-efnfuu7vhtjb42racje2yz3xxkzwjvaf/lib;/usr/WS2/smithdev/libs/smith/toss_4_x86_64_ib_cray/2025_11_13_13_42_19/llvm-amdgpu-6.4.2/smith-develop-efnfuu7vhtjb42racje2yz3xxkzwjvaf/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_13_13_42_19/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_13_13_42_19/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_13_13_42_19/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_13_13_42_19/llvm-amdgpu-6.4.2" CACHE PATH "") + +set(AXOM_DIR "${TPL_ROOT}/axom-0.12.0.0-xnz7rzvxkvy5ujy7hsffpqyrjjbbecyg" CACHE PATH "") + +set(CAMP_DIR "${TPL_ROOT}/camp-2025.09.2-3fxmbhyimpvimplr2qvt32giqaom7ymy" CACHE PATH "") + +set(CONDUIT_DIR "${TPL_ROOT}/conduit-0.9.5-fr6nlivg2q44p2fm7d3twivtsitkrwp4" CACHE PATH "") + +set(LUA_DIR "/usr" CACHE PATH "") + +set(MFEM_DIR "${TPL_ROOT}/mfem-4.9.0.2-z7vfceuxqpfvnmta32y3cdk7inyhzowx" CACHE PATH "") + +set(HDF5_DIR "${TPL_ROOT}/hdf5-1.8.23-hi7eotv4olqrfedxqzy56p3mgfldbpyg" CACHE PATH "") + +set(HYPRE_DIR "${TPL_ROOT}/hypre-2.33.0-smuq4sfalzokt3xbj3afxcyxdyr737yr" CACHE PATH "") + +set(METIS_DIR "${TPL_ROOT}/metis-5.1.0-rvjhpveexfgalsyntmwhkwm6icozu7zg" CACHE PATH "") + +set(PARMETIS_DIR "${TPL_ROOT}/parmetis-4.0.3-5prdk7nqp4ujhc3suytx66t2jkhunia4" CACHE PATH "") + +set(NETCDF_DIR "${TPL_ROOT}/netcdf-c-4.7.4-hdvzf6k35jgfv4fto44neg6oka65trbb" CACHE PATH "") + +set(SUPERLUDIST_DIR "${TPL_ROOT}/superlu-dist-8.1.2-j4sdkhw4zt5g7zogpylucmb2adzufpps" CACHE PATH "") + +set(ADIAK_DIR "${TPL_ROOT}/adiak-0.4.1-3pedcs7kfkltks4rbuimessyn2ftkfb7" CACHE PATH "") + +# AMGX not built + +set(CALIPER_DIR "${TPL_ROOT}/caliper-2.12.1-tdt2eikgly5djuxkxoaeoora46pkhg3q" CACHE PATH "") + +set(ENZYME_DIR "${TPL_ROOT}/enzyme-0.0.180-55na6ly2nalovxe2t7d2lihtwlakxnaz" CACHE PATH "") + +# PETSC not built + +set(RAJA_DIR "${TPL_ROOT}/raja-2025.09.0-mlvvn7h257hluzfwmkgk5qyvvdgcimzr" CACHE PATH "") + +# SLEPC not built + +set(STRUMPACK_DIR "${TPL_ROOT}/strumpack-8.0.0-hs2yx7rpgcfmescp4tgang2enurkzoyj" CACHE PATH "") + +# SUNDIALS not built + +set(UMPIRE_DIR "${TPL_ROOT}/umpire-2025.09.0-7qtxj2a5ihxb7metqdjot6dxmfof47oe" CACHE PATH "") + +set(TRIBOL_DIR "${TPL_ROOT}/tribol-0.1.0.23-lsokqdf2gqzplhzf3rzctavbczz5i4ah" CACHE PATH "") + +#------------------------------------------------------------------------------ +# Devtools +#------------------------------------------------------------------------------ + +# Code checks disabled due to disabled devtools + +set(SMITH_ENABLE_CODE_CHECKS OFF CACHE BOOL "") + +set(ENABLE_CLANGFORMAT OFF CACHE BOOL "") + +set(ENABLE_CLANGTIDY OFF CACHE BOOL "") + +set(ENABLE_DOCS OFF CACHE BOOL "") + diff --git a/mfem b/mfem index fb7466c81..563cd2597 160000 --- a/mfem +++ b/mfem @@ -1 +1 @@ -Subproject commit fb7466c81925eb9a7b5614fa54d5a8bd9395ee36 +Subproject commit 563cd25971f1f86e72168fdc022a2472d08b4661 diff --git a/scripts/docker/dockerfile_clang-19 b/scripts/docker/dockerfile_clang-19 index 2ee21e0a8..45fa2d546 100644 --- a/scripts/docker/dockerfile_clang-19 +++ b/scripts/docker/dockerfile_clang-19 @@ -2,7 +2,7 @@ FROM ghcr.io/llnl/radiuss:clang-19-ubuntu-24.04 LABEL maintainer="chapman39@llnl.gov" ARG branch=develop ENV llvm_version="19" -ENV spec="+devtools+enzyme ^enzyme+coverage %clang_${llvm_version}" +ENV spec="+devtools+enzyme %clang_${llvm_version}" SHELL ["/bin/bash", "-c"] RUN sudo apt-get update -y diff --git a/scripts/spack/configs/defaults.yaml b/scripts/spack/configs/defaults.yaml index 63da05e4b..bdfdefd54 100644 --- a/scripts/spack/configs/defaults.yaml +++ b/scripts/spack/configs/defaults.yaml @@ -8,7 +8,10 @@ packages: - spec: "~shared~test~examples~utilities" hdf5: require: - - spec: ~shared~mpi + - spec: "~shared~mpi" + mfem: + require: + - spec: "cxxstd=17" raja: require: - spec: "~shared~examples~exercises" diff --git a/scripts/spack/configs/toss_4_x86_64_ib/spack.yaml b/scripts/spack/configs/toss_4_x86_64_ib/spack.yaml index 6f9389748..b87886244 100644 --- a/scripts/spack/configs/toss_4_x86_64_ib/spack.yaml +++ b/scripts/spack/configs/toss_4_x86_64_ib/spack.yaml @@ -94,9 +94,9 @@ spack: mvapich2: buildable: false externals: - - spec: mvapich2@2.3.7.clang_19~alloca~cuda~debug~hwloc_graphics~hwlocv2+regcache+wrapperrpath build_system=autotools ch3_rank_bits=32 fabrics=mrail file_systems=auto process_managers=slurm threads=multiple + - spec: mvapich2@2.3.7.clang_19 prefix: /usr/tce/packages/mvapich2/mvapich2-2.3.7-clang-19.1.3-magic - - spec: mvapich2@2.3.7.gcc_13~alloca~cuda~debug~hwloc_graphics~hwlocv2+regcache+wrapperrpath build_system=autotools ch3_rank_bits=32 fabrics=mrail file_systems=auto process_managers=slurm threads=multiple + - spec: mvapich2@2.3.7.gcc_13 prefix: /usr/tce/packages/mvapich2/mvapich2-2.3.7-gcc-13.3.1-magic netlib-lapack: diff --git a/scripts/spack/configs/toss_4_x86_64_ib_cray/spack.yaml b/scripts/spack/configs/toss_4_x86_64_ib_cray/spack.yaml index 3aaf695a9..ef8eb19ec 100644 --- a/scripts/spack/configs/toss_4_x86_64_ib_cray/spack.yaml +++ b/scripts/spack/configs/toss_4_x86_64_ib_cray/spack.yaml @@ -13,51 +13,44 @@ spack: view: false include: - - ../defaults.yaml - - ../versions.yaml + - ../defaults.yaml + - ../versions.yaml - compilers:: - - compiler: - environment: {} - extra_rpaths: [] - flags: {} - modules: [] - operating_system: rhel8 - paths: - cc: /opt/rocm-6.2.1/llvm/bin/amdclang - cxx: /opt/rocm-6.2.1/llvm/bin/amdclang++ - f77: /opt/rocm-6.2.1/llvm/bin/amdflang - fc: /opt/rocm-6.2.1/llvm/bin/amdflang - spec: rocmcc@=6.2.1 - target: x86_64 + toolchains: + rocm_6_4_2: + - spec: '%c=llvm-amdgpu@6.4.2' + when: '%c' + - spec: '%cxx=llvm-amdgpu@6.4.2' + when: '%cxx' + - spec: '%fortran=llvm-amdgpu@6.4.2' + when: '%fortran' + - spec: '%cray-mpich@8.1.29.rocm_6_4_2' + when: '%mpi' packages: all: - target: [x86_64_v3] - #target: [zen2] providers: blas: [netlib-lapack] lapack: [netlib-lapack] - gl: [opengl] - glu: [openglu] zlib-api: [zlib] mpi: [cray-mpich] + # Compiler package(s) + llvm-amdgpu: + externals: + - spec: llvm-amdgpu@6.4.2 + prefix: /opt/rocm-6.4.2/llvm + extra_attributes: + compilers: + c: /opt/rocm-6.4.2/llvm/bin/amdclang + cxx: /opt/rocm-6.4.2/llvm/bin/amdclang++ + fortran: /opt/rocm-6.4.2/llvm/bin/amdflang + # Providers netlib-lapack: buildable: false externals: - - spec: netlib-lapack@3.6.1 - prefix: /usr - opengl: - buildable: false - externals: - - spec: opengl@1.7.0 - prefix: /usr - openglu: - buildable: false - externals: - - spec: openglu@1.3.1 + - spec: netlib-lapack@3.8.0 prefix: /usr zlib: buildable: false @@ -71,80 +64,95 @@ spack: cray-mpich: buildable: false externals: - - spec: cray-mpich@8.1.29%rocmcc@6.2.1+slurm - prefix: /usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.2.1/ + - spec: cray-mpich@8.1.29.rocm_6_4_2+slurm + prefix: /usr/tce/packages/cray-mpich-tce/cray-mpich-8.1.29-rocmcc-6.4.2/ # ROCm hip: buildable: false externals: - - spec: hip@6.2.1 - prefix: /opt/rocm-6.2.1 + - spec: hip@6.4.2 + prefix: /opt/rocm-6.4.2 hipblas: buildable: false externals: - - spec: hipblas@6.2.1 - prefix: /opt/rocm-6.2.1/ - hipsparse: + - spec: hipblas@6.4.2 + prefix: /opt/rocm-6.4.2 + hipblas-common: buildable: false externals: - - spec: hipsparse@6.2.1 - prefix: /opt/rocm-6.2.1/ - llvm-amdgpu: + - spec: hipblas-common@6.4.2 + prefix: /opt/rocm-6.4.2 + hipsolver: + buildable: false + externals: + - spec: hipsolver@6.4.2 + prefix: /opt/rocm-6.4.2 + hipsparse: buildable: false externals: - - spec: llvm-amdgpu@6.2.1 - prefix: /opt/rocm-6.2.1/llvm + - spec: hipsparse@6.4.2 + prefix: /opt/rocm-6.4.2 hsa-rocr-dev: buildable: false externals: - - spec: hsa-rocr-dev@6.2.1 - prefix: /opt/rocm-6.2.1/ + - spec: hsa-rocr-dev@6.4.2 + prefix: /opt/rocm-6.4.2/ rocblas: buildable: false externals: - - spec: rocblas@6.2.1 - prefix: /opt/rocm-6.2.1/ + - spec: rocblas@6.4.2 + prefix: /opt/rocm-6.4.2 rocm-core: buildable: false externals: - - spec: rocm-core@6.2.1 - prefix: /opt/rocm-6.2.1/ + - spec: rocm-core@6.4.2 + prefix: /opt/rocm-6.4.2 rocrand: buildable: false externals: - - spec: rocrand@6.2.1 - prefix: /opt/rocm-6.2.1/ + - spec: rocrand@6.4.2 + prefix: /opt/rocm-6.4.2 rocminfo: buildable: false externals: - - spec: rocminfo@6.2.1 - prefix: /opt/rocm-6.2.1/ + - spec: rocminfo@6.4.2 + prefix: /opt/rocm-6.4.2 rocsolver: buildable: false externals: - - spec: rocsolver@6.2.1 - prefix: /opt/rocm-6.2.1/ + - spec: rocsolver@6.4.2 + prefix: /opt/rocm-6.4.2 rocsparse: buildable: false externals: - - spec: rocsparse@6.2.1 - prefix: /opt/rocm-6.2.1/ + - spec: rocsparse@6.4.2 + prefix: /opt/rocm-6.4.2 rocthrust: buildable: false externals: - - spec: rocthrust@6.2.1 - prefix: /opt/rocm-6.2.1/ + - spec: rocthrust@6.4.2 + prefix: /opt/rocm-6.4.2 rocprim: buildable: false externals: - - spec: rocprim@6.2.1 - prefix: /opt/rocm-6.2.1/ + - spec: rocprim@6.4.2 + prefix: /opt/rocm-6.4.2 rocm-device-libs: buildable: false externals: - - spec: rocm-device-libs@6.2.1 - prefix: /opt/rocm-6.2.1/ + - spec: rocm-device-libs@6.4.2 + prefix: /opt/rocm-6.4.2 + rocm-openmp-extras: + buildable: false + externals: + - spec: rocm-openmp-extras@6.4.2 + prefix: /opt/rocm-6.4.2 + rocprofiler-dev: + buildable: false + externals: + - spec: rocprofiler-dev@6.4.2 + prefix: /opt/rocm-6.4.2 # System level packages to not build autoconf: @@ -175,7 +183,7 @@ spack: curl: buildable: false externals: - - spec: curl@7.29.0 + - spec: curl@7.61.1 prefix: /usr diffutils: buildable: false @@ -185,18 +193,13 @@ spack: elfutils: buildable: false externals: - - spec: elfutils@0.187 + - spec: elfutils@0.190 prefix: /usr expat: buildable: false externals: - spec: expat@2.2.5 prefix: /usr - libepoxy: - buildable: false - externals: - - spec: libepoxy@1.5.8 - prefix: /usr flex: buildable: false externals: @@ -235,12 +238,12 @@ spack: groff: buildable: false externals: - - spec: groff@1.22.2 + - spec: groff@1.22.3 prefix: /usr hwloc: buildable: false externals: - - spec: hwloc@2.9.0 + - spec: hwloc@2.12.2 prefix: /usr libtool: buildable: false @@ -271,8 +274,8 @@ spack: ninja: buildable: false externals: - - spec: ninja@1.11.0 - prefix: /usr/tce/packages/ninja/ninja-1.11.0 + - spec: ninja@1.10.2 + prefix: /usr/tce/packages/ninja/ninja-1.10.2 openssl: buildable: false externals: @@ -288,11 +291,6 @@ spack: externals: - spec: pkg-config@1.4.2 prefix: /usr - pkgconf: - buildable: false - externals: - - spec: pkgconf@1.4.2 - prefix: /usr readline: buildable: false externals: @@ -325,8 +323,14 @@ spack: externals: - spec: python@3.9.12 prefix: /usr/tce/packages/python/python-3.9.12 + llvm: + version: [19.0.0] + buildable: false + externals: + - spec: llvm@19.0.0 + prefix: /usr/tce/packages/rocmcc/rocmcc-6.4.2-magic/llvm # Platform-specific defaults and versions caliper: - require: - - spec: "+shared" + require: + - spec: +shared diff --git a/scripts/spack/configs/versions.yaml b/scripts/spack/configs/versions.yaml index 9a040e8d1..d82034f47 100644 --- a/scripts/spack/configs/versions.yaml +++ b/scripts/spack/configs/versions.yaml @@ -2,7 +2,7 @@ packages: axom: require: - - spec: "@0.11.0.1" + - spec: "@0.12.0.0" adiak: require: - spec: "@0.4.1" @@ -11,28 +11,25 @@ packages: - spec: "@2.12.1" camp: require: - - spec: "@2024.07.0" + - spec: "@2025.09.2" conduit: require: - - spec: "@0.9.2" - hypre: - require: - - spec: "@2.26.0" + - spec: "@0.9.5" mfem: require: - - spec: "@4.9.0.1" + - spec: "@4.9.0.2" petsc: require: - spec: "@3.21.6" raja: require: - - spec: "@2024.07.0" + - spec: "@2025.09.0" sundials: require: - spec: "@6.7.0" tribol: require: - - spec: "@0.1.0.22" + - spec: "@0.1.0.23" umpire: require: - - spec: "@2024.07.0" + - spec: "@2025.09.0" diff --git a/scripts/spack/packages/axom/package.py b/scripts/spack/packages/axom/package.py index e7559a854..143bba51b 100644 --- a/scripts/spack/packages/axom/package.py +++ b/scripts/spack/packages/axom/package.py @@ -3,11 +3,713 @@ # # SPDX-License-Identifier: (BSD-3-Clause) +# NOTE: Axom's Spack package in the Spack packages repo isn't as up to date as in Axom itself. Specifically, we needed this change: +# https://github.com/LLNL/axom/blob/515b9bdec47886d19505533ccbdb1c37177d05f2/scripts/spack/packages/axom/package.py#L368 +# TODO: revert to inherited package once this change is in the Spack package repo + +import os +import shutil +import socket +from os.path import join as pjoin + from spack.package import * -from spack_repo.builtin.packages.axom.package import Axom as BuiltinAxom +from spack.util.executable import which_string +from spack_repo.builtin.build_systems.cached_cmake import ( + CachedCMakePackage, + cmake_cache_option, + cmake_cache_path, + cmake_cache_string, +) +from spack_repo.builtin.build_systems.cuda import CudaPackage +from spack_repo.builtin.build_systems.rocm import ROCmPackage + +def get_spec_path(spec, package_name, path_replacements={}, use_bin=False): + """Extracts the prefix path for the given spack package + path_replacements is a dictionary with string replacements for the path. + """ + + if not use_bin: + path = spec[package_name].prefix + else: + path = spec[package_name].prefix.bin + + path = os.path.realpath(path) + + for key in path_replacements: + path = path.replace(key, path_replacements[key]) + + return path + + +class Axom(CachedCMakePackage, CudaPackage, ROCmPackage): + """Axom provides a robust, flexible software infrastructure for the development + of multi-physics applications and computational tools.""" -class Axom(BuiltinAxom): + maintainers("white238") + + homepage = "https://github.com/LLNL/axom" + git = "https://github.com/LLNL/axom.git" + tags = ["radiuss"] + + test_requires_compiler = True + + license("BSD-3-Clause") + + # SMITH_EDIT_START # Note: Make sure this sha coincides with the git submodule # Note: We add a number to the end of the real version number to indicate that we have # moved forward past the release. Increment the last number when updating the commit sha. - version("0.11.0.1", commit="e4fdc79c4a7fe0dd11ce45c9a87cabddef949905", submodules=False) + version("0.12.0.0", commit="297544010a3dfb98145a1a85f09f9c648c00a18c", submodules=False) + # SMITH_EDIT_END + + version("main", branch="main") + version("develop", branch="develop") + version("0.12.0", tag="v0.12.0", commit="297544010a3dfb98145a1a85f09f9c648c00a18c") + version("0.11.0", tag="v0.11.0", commit="685960486aa55d3a74a821ee02f6d9d9a3e67ab1") + version("0.10.1", tag="v0.10.1", commit="6626ee1c5668176fb64dd9a52dec3e8596b3ba6b") + version("0.10.0", tag="v0.10.0", commit="ea853a34a834415ea75f824160fc44cba9a0755d") + version("0.9.0", tag="v0.9.0", commit="5f531595d941d16fa3b8583bfc347a845d9feb6d") + version("0.8.1", tag="v0.8.1", commit="0da8a5b1be596887158ac2fcd321524ba5259e15") + version("0.8.0", tag="v0.8.0", commit="71fab3262eb7e1aa44a04c21d072b77f06362f7b") + version("0.7.0", tag="v0.7.0", commit="ea5158191181c137117ae37959879bdc8b107f35") + version("0.6.1", tag="v0.6.1", commit="ee240d3963d7879ae0e9c392902195bd7b04e37d") + version("0.6.0", tag="v0.6.0", commit="65287dc00bc7c271a08cb86c632f5909c30e3506") + version("0.5.0", tag="v0.5.0", commit="db137349b3e28617c3e0570dbd18e4a91654da98") + version("0.4.0", tag="v0.4.0", commit="38c0d7495ece35a30fca5f5b578b8f9d54346bd2") + version("0.3.3", tag="v0.3.3", commit="f0539ef0525469ffda054d86144f310c15b4f9e0") + version("0.3.2", tag="v0.3.2", commit="c446b496e20e6118b8cba7e80f1f84c76a49e463") + version("0.3.1", tag="v0.3.1", commit="cbefc0457a229d8acfb70622360d0667e90e50a2") + version("0.3.0", tag="v0.3.0", commit="20068ccab4b4f70055918b4f17960ec3ed6dbce8") + version("0.2.9", tag="v0.2.9", commit="9e9a54ede3326817c05f35922738516e43b5ec3d") + + depends_on("c", type="build") + depends_on("cxx", type="build") + depends_on("fortran", type="build", when="+fortran") + + # SMITH_EDIT_START + # https://github.com/spack/spack/issues/31829 + # patch("examples-oneapi.patch", when="@0.6.1 +examples %oneapi") + + # patch("scr_examples_gtest.patch", when="@0.6.0:0.6.1") + # patch("umpire_camp_blt_targets.patch", when="@=0.8.0 ^umpire@2023.06.0") + # SMITH_EDIT_END + + root_cmakelists_dir = "src" + + # ----------------------------------------------------------------------- + # Variants + # ----------------------------------------------------------------------- + variant("shared", default=True, description="Enable build of shared libraries") + + variant("examples", default=True, description="Build examples") + variant("tools", default=True, description="Build tools") + + # Hard requirement after Axom 0.6.1 + variant("cpp14", default=True, description="Build with C++14 support") + + variant("fortran", default=True, description="Build with Fortran support") + + variant("python", default=False, description="Build python support") + + variant("mpi", default=True, description="Build MPI support") + variant("openmp", default=True, description="Turn on OpenMP support.") + + variant( + "profiling", + default=False, + when="@develop", + description="Build with hooks for Adiak/Caliper performance analysis", + ) + + variant("c2c", default=False, description="Build with c2c") + variant("opencascade", default=False, description="Build with opencascade") + + variant("mfem", default=False, description="Build with mfem") + variant("hdf5", default=True, description="Build with hdf5") + variant("lua", default=True, description="Build with Lua") + variant("scr", default=False, description="Build with SCR") + variant("umpire", default=True, description="Build with umpire") + + variant("raja", default=True, description="Build with raja") + + varmsg = "Build development tools (such as Sphinx, Doxygen, etc...)" + variant("devtools", default=False, description=varmsg) + + # ----------------------------------------------------------------------- + # Dependencies + # ----------------------------------------------------------------------- + # Basics + depends_on("cmake@3.14:", type="build") + depends_on("cmake@3.18:", type="build", when="@0.7.0:") + depends_on("cmake@3.21:", type="build", when="+rocm") + + depends_on("blt", type="build") + depends_on("blt@0.5.1:0.5.3", type="build", when="@0.6.1:0.8") + depends_on("blt@0.6.2:", type="build", when="@0.9:") + + depends_on("mpi", when="+mpi") + + # Libraries + # Forward variants to Conduit + for _var in ["fortran", "hdf5", "mpi", "python"]: + depends_on("conduit+{0}".format(_var), when="+{0}".format(_var)) + depends_on("conduit~{0}".format(_var), when="~{0}".format(_var)) + + depends_on("conduit+python", when="+devtools") + depends_on("conduit~python", when="~devtools") + + depends_on("hdf5", when="+hdf5") + + depends_on("lua", when="+lua") + + depends_on("scr", when="+scr") + depends_on("scr~fortran", when="+scr~fortran") + + with when("+umpire"): + depends_on("umpire") + depends_on("umpire@2025.09.0:", when="@0.10:") + depends_on("umpire@2024.02.0:", when="@0.9:") + depends_on("umpire@2022.03.0:2023.06", when="@0.7.0:0.8") + depends_on("umpire@6.0.0", when="@0.6.0") + depends_on("umpire@5:5.0.1", when="@:0.5.0") + depends_on("umpire+openmp", when="+openmp") + depends_on("umpire+mpi3_shmem", when="+mpi") + + with when("+raja"): + depends_on("raja") + depends_on("raja@2025.09.0:", when="@0.10:") + depends_on("raja@2024.02.0:", when="@0.9:") + depends_on("raja@2022.03.0:2023.06", when="@0.7.0:0.8") + depends_on("raja@0.14.0", when="@0.6.0") + depends_on("raja@:0.13.0", when="@:0.5.0") + depends_on("raja~openmp", when="~openmp") + depends_on("raja+openmp", when="+openmp") + + with when("+profiling"): + depends_on("adiak") + depends_on("caliper+adiak~papi") + + depends_on("caliper+cuda", when="+cuda") + depends_on("caliper~cuda", when="~cuda") + + depends_on("caliper+rocm", when="+rocm") + depends_on("caliper~rocm", when="~rocm") + + for dep in ["adiak", "caliper"]: + depends_on(f"{dep}+mpi", when="+mpi") + depends_on(f"{dep}~mpi", when="~mpi") + depends_on(f"{dep}+shared", when="+shared") + depends_on(f"{dep}~shared", when="~shared") + + for val in CudaPackage.cuda_arch_values: + ext_cuda_dep = f"+cuda cuda_arch={val}" + depends_on(f"raja {ext_cuda_dep}", when=f"+raja {ext_cuda_dep}") + depends_on(f"umpire {ext_cuda_dep}", when=f"+umpire {ext_cuda_dep}") + depends_on(f"caliper {ext_cuda_dep}", when=f"+profiling {ext_cuda_dep}") + depends_on(f"mfem {ext_cuda_dep}", when=f"+mfem {ext_cuda_dep}") + + for val in ROCmPackage.amdgpu_targets: + ext_rocm_dep = f"+rocm amdgpu_target={val}" + depends_on(f"raja {ext_rocm_dep}", when=f"+raja {ext_rocm_dep}") + depends_on(f"umpire {ext_rocm_dep}", when=f"+umpire {ext_rocm_dep}") + depends_on(f"caliper {ext_rocm_dep}", when=f"+profiling {ext_rocm_dep}") + depends_on(f"mfem {ext_rocm_dep}", when=f"+mfem {ext_rocm_dep}") + + depends_on("rocprim", when="+rocm") + + depends_on("c2c", when="+c2c") + depends_on("opencascade", when="+opencascade") + + with when("+mfem"): + depends_on("mfem+mpi", when="+mpi") + depends_on("mfem~mpi", when="~mpi") + depends_on("mfem@4.5.0:", when="@0.7.0:") + + depends_on("python", when="+python") + + # Devtools + with when("+devtools"): + depends_on("cppcheck") + depends_on("doxygen") + depends_on("graphviz") + depends_on("python") + depends_on("py-sphinx") + depends_on("py-shroud") + depends_on("py-pytest") + depends_on("py-jsonschema") + + # Need clang@19 for clang-format + # (ENABLE_CLANGFORMAT will be OFF if not the exact version) + depends_on("llvm+clang@19", type="build") + + # ----------------------------------------------------------------------- + # Conflicts + # ----------------------------------------------------------------------- + # Hard requirement after Axom 0.6.1 + conflicts("~cpp14", when="@0.6.2:") + + # Conduit's cmake config files moved and < 0.4.0 can't find it + conflicts("^conduit@0.7.2:", when="@:0.4.0") + + # Sidre requires conduit_blueprint_mpi.hpp + conflicts("^conduit@:0.6.0", when="@0.5.0:") + + conflicts("+openmp", when="+rocm") + conflicts("+cuda", when="+rocm") + + conflicts("~raja", when="+cuda") + conflicts("~raja", when="+rocm") + conflicts("~umpire", when="+cuda") + conflicts("~umpire", when="+rocm") + + conflicts("^blt@:0.3.6", when="+rocm") + + def flag_handler(self, name, flags): + if self.spec.satisfies("%cce") and name == "fflags": + flags.append("-ef") + + if name in ("cflags", "cxxflags", "cppflags", "fflags"): + return (None, None, None) # handled in the cmake cache + return (flags, None, None) + + def _get_sys_type(self, spec): + sys_type = spec.architecture + # if on llnl systems, we can use the SYS_TYPE + if "SYS_TYPE" in env: + sys_type = env["SYS_TYPE"] + return sys_type + + def is_fortran_compiler(self, compiler): + if self.compiler.fc is not None and compiler in self.compiler.fc: + return True + return False + + @property + def cache_name(self): + hostname = socket.gethostname() + if "SYS_TYPE" in env: + # Are we on a LLNL system then strip node number + hostname = hostname.rstrip("1234567890") + special_case = "" + if self.spec.satisfies("+cuda"): + special_case += "_cuda" + if self.spec.satisfies("~fortran"): + special_case += "_nofortran" + if self.spec.satisfies("+rocm"): + special_case += "_hip" + return "{0}-{1}-{2}@{3}{4}.cmake".format( + hostname, + self._get_sys_type(self.spec), + self.spec.compiler.name, + self.spec.compiler.version, + special_case, + ) + + def initconfig_compiler_entries(self): + spec = self.spec + entries = super().initconfig_compiler_entries() + + if spec.satisfies("+fortran"): + entries.append(cmake_cache_option("ENABLE_FORTRAN", True)) + if self.is_fortran_compiler("gfortran") and "clang" in self.compiler.cxx: + libdir = pjoin(os.path.dirname(os.path.dirname(self.compiler.cxx)), "lib") + flags = "" + for _libpath in [libdir, libdir + "64"]: + if os.path.exists(_libpath): + if spec.satisfies("^cuda"): + flags += " -Xlinker -rpath -Xlinker {0}".format(_libpath) + else: + flags += " -Wl,-rpath,{0}".format(_libpath) + description = "Adds a missing libstdc++ rpath" + if flags: + entries.append(cmake_cache_string("BLT_EXE_LINKER_FLAGS", flags, description)) + else: + entries.append(cmake_cache_option("ENABLE_FORTRAN", False)) + + if spec.satisfies("+cpp14") and spec.satisfies("@:0.6.1"): + entries.append(cmake_cache_string("BLT_CXX_STD", "c++14", "")) + + # Add optimization flag workaround for builds with cray compiler + if spec.satisfies("%cce"): + entries.append(cmake_cache_string("CMAKE_CXX_FLAGS_DEBUG", "-O1 -g")) + + # Remove unusable -Mfreeform flag injected by spack + entries = [entry.replace("-Mfreeform", "") for entry in entries] + + # Disable intrusive warning: + # icpx: remark: note that use of '-g' without any optimization-level + # option will turn off most compiler optimizations similar to use of + # '-O0'; use '-Rno-debug-disables-optimization' to disable this remark + if spec.satisfies("%oneapi"): + entries.append(cmake_cache_string("CMAKE_CXX_FLAGS_DEBUG", "-g -Rno-debug-disables-optimization")) + + return entries + + def initconfig_hardware_entries(self): + spec = self.spec + entries = super().initconfig_hardware_entries() + + if spec.satisfies("+cuda"): + entries.append(cmake_cache_option("ENABLE_CUDA", True)) + entries.append(cmake_cache_option("CMAKE_CUDA_SEPARABLE_COMPILATION", True)) + + # CUDA_FLAGS + cudaflags = "${CMAKE_CUDA_FLAGS} -restrict --expt-extended-lambda " + + # Pass through any cxxflags to the host compiler via nvcc's Xcompiler flag + host_cxx_flags = spec.compiler_flags["cxxflags"] + cudaflags += " ".join(["-Xcompiler=%s " % flag for flag in host_cxx_flags]) + + if spec.satisfies("^blt@:0.5.1"): + # This is handled internally by BLT now + if spec.satisfies("+cpp14"): + cudaflags += " -std=c++14" + else: + cudaflags += " -std=c++11" + entries.append(cmake_cache_string("CMAKE_CUDA_FLAGS", cudaflags, force=True)) + + entries.append("# nvcc does not like gtest's 'pthreads' flag\n") + entries.append(cmake_cache_option("gtest_disable_pthreads", True)) + + if spec.satisfies("+rocm"): + entries.append("#------------------{0}\n".format("-" * 60)) + entries.append("# Axom ROCm specifics\n") + entries.append("#------------------{0}\n\n".format("-" * 60)) + + entries.append(cmake_cache_option("ENABLE_HIP", True)) + + hip_link_flags = "" + + rocm_root = os.path.dirname(spec["llvm-amdgpu"].prefix) + entries.append(cmake_cache_path("ROCM_ROOT_DIR", rocm_root)) + + # Recommended MPI flags + hip_link_flags += "-lxpmem " + hip_link_flags += "-L/opt/cray/pe/mpich/{0}/gtl/lib ".format(spec["mpi"].version.up_to(3)) + hip_link_flags += "-Wl,-rpath,/opt/cray/pe/mpich/{0}/gtl/lib ".format( + spec["mpi"].version.up_to(3) + ) + hip_link_flags += "-lmpi_gtl_hsa " + + # SMITH EDIT START + # We need these even if no fortran + if spec.satisfies("^hip@6.0.0:"): + hip_link_flags += "-L{0}/lib/llvm/lib -Wl,-rpath,{0}/lib/llvm/lib ".format(rocm_root) + else: + hip_link_flags += "-L{0}/llvm/lib -Wl,-rpath,{0}/llvm/lib ".format(rocm_root) + # Only amdclang requires this path; cray compiler fails if this is included + if spec.satisfies("%llvm-amdgpu"): + hip_link_flags += "-L{0}/lib -Wl,-rpath,{0}/lib ".format(rocm_root) + hip_link_flags += "-lpgmath -lompstub " + + # Fixes for mpi for rocm until wrapper paths are fixed + # These flags are already part of the wrapped compilers on TOSS4 systems + if spec.satisfies("+fortran") and self.is_fortran_compiler("amdflang"): + hip_link_flags += "-Wl,--disable-new-dtags " + hip_link_flags += "-lflang -lflangrti " + # SMITH EDIT END + + # Additional library path for cray compiler + if self.spec.satisfies("%cce"): + hip_link_flags += "-L/opt/cray/pe/cce/{0}/cce/x86_64/lib -Wl,-rpath,/opt/cray/pe/cce/{0}/cce/x86_64/lib ".format( + self.spec.compiler.version + ) + + # Remove extra link library for crayftn + if spec.satisfies("+fortran") and self.is_fortran_compiler("crayftn"): + entries.append( + cmake_cache_string("BLT_CMAKE_IMPLICIT_LINK_LIBRARIES_EXCLUDE", "unwind") + ) + + # Additional libraries for TOSS4 + hip_link_flags += "-lamdhip64 -lhsakmt -lhsa-runtime64 -lamd_comgr " + + entries.append(cmake_cache_string("CMAKE_EXE_LINKER_FLAGS", hip_link_flags)) + + entries.append("#------------------{0}".format("-" * 30)) + entries.append("# Hardware Specifics") + entries.append("#------------------{0}\n".format("-" * 30)) + + # OpenMP + entries.append(cmake_cache_option("ENABLE_OPENMP", spec.satisfies("+openmp"))) + + # Enable death tests + entries.append( + cmake_cache_option( + "ENABLE_GTEST_DEATH_TESTS", not spec.satisfies("+cuda target=ppc64le:") + ) + ) + + if spec.satisfies("+fortran") and self.is_fortran_compiler("xlf"): + # Grab lib directory for the current fortran compiler + libdir = pjoin(os.path.dirname(os.path.dirname(self.compiler.fc)), "lib") + description = ( + "Adds a missing rpath for libraries " "associated with the fortran compiler" + ) + + linker_flags = "${BLT_EXE_LINKER_FLAGS} -Wl,-rpath," + libdir + + entries.append(cmake_cache_string("BLT_EXE_LINKER_FLAGS", linker_flags, description)) + + if spec.satisfies("+shared"): + linker_flags = "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-rpath," + libdir + entries.append( + cmake_cache_string("CMAKE_SHARED_LINKER_FLAGS", linker_flags, description) + ) + + description = "Converts C-style comments to Fortran style in preprocessed files" + entries.append( + cmake_cache_string( + "BLT_FORTRAN_FLAGS", "-WF,-C! -qxlf2003=polymorphic", description + ) + ) + + if ( + spec.satisfies("+openmp") + and "clang" in self.compiler.cxx + and spec.satisfies("+fortran") + and self.is_fortran_compiler("xlf") + ): + openmp_gen_exp = ( + "$<$>:" + "-fopenmp=libomp>;$<$:-qsmp=omp>" + ) + + description = "Different OpenMP linker flag between CXX and Fortran" + entries.append( + cmake_cache_string("BLT_OPENMP_LINK_FLAGS", openmp_gen_exp, description) + ) + + if spec.satisfies("target=ppc64le:"): + # Fix for working around CMake adding implicit link directories + # returned by the BlueOS compilers to link executables with + # non-system default stdlib + _roots = ["/usr/tce/packages/gcc/gcc-4.9.3", "/usr/tce/packages/gcc/gcc-4.9.3/gnu"] + _subdirs = ["lib64", "lib64/gcc/powerpc64le-unknown-linux-gnu/4.9.3"] + _existing_paths = [] + for root in _roots: + for subdir in _subdirs: + _curr_path = pjoin(root, subdir) + if os.path.exists(_curr_path): + _existing_paths.append(_curr_path) + if _existing_paths: + entries.append( + cmake_cache_string( + "BLT_CMAKE_IMPLICIT_LINK_DIRECTORIES_EXCLUDE", ";".join(_existing_paths) + ) + ) + + return entries + + def initconfig_mpi_entries(self): + spec = self.spec + entries = super().initconfig_mpi_entries() + + if spec.satisfies("+mpi"): + entries.append(cmake_cache_option("ENABLE_MPI", True)) + if spec["mpi"].name == "spectrum-mpi": + entries.append(cmake_cache_string("BLT_MPI_COMMAND_APPEND", "mpibind")) + + # Replace /usr/bin/srun path with srun flux wrapper path on TOSS 4 + # TODO: Remove this logic by adding `using_flux` case in + # spack/lib/spack/spack/build_systems/cached_cmake.py:196 and remove hard-coded + # path to srun in same file. + if "toss_4" in self._get_sys_type(spec): + srun_wrapper = which_string("srun") + mpi_exec_index = [ + index for index, entry in enumerate(entries) if "MPIEXEC_EXECUTABLE" in entry + ] + if mpi_exec_index: + del entries[mpi_exec_index[0]] + entries.append(cmake_cache_path("MPIEXEC_EXECUTABLE", srun_wrapper)) + else: + entries.append(cmake_cache_option("ENABLE_MPI", False)) + + return entries + + def find_path_replacement(self, path1, path2, path_replacements, name, entries): + root = os.path.commonprefix([path1, path2]) + if root.endswith(os.path.sep): + root = root[: -len(os.path.sep)] + if root: + path_replacements[root] = "${" + name + "}" + entries.append(cmake_cache_path(name, root)) + + def initconfig_package_entries(self): + spec = self.spec + entries = [] + path_replacements = {} + + # TPL locations + entries.append("#------------------{0}".format("-" * 60)) + entries.append("# TPLs") + entries.append("#------------------{0}\n".format("-" * 60)) + + # Try to find the common prefix of the TPL directory. + # If found, we will use this in the TPL paths + path1 = os.path.realpath(spec["conduit"].prefix) + path2 = os.path.realpath(self.prefix) + self.find_path_replacement(path1, path2, path_replacements, "TPL_ROOT", entries) + + conduit_dir = get_spec_path(spec, "conduit", path_replacements) + entries.append(cmake_cache_path("CONDUIT_DIR", conduit_dir)) + + # optional tpls + for dep in ("c2c", "mfem", "hdf5", "lua", "raja", "umpire", "opencascade"): + if spec.satisfies("+%s" % dep): + dep_dir = get_spec_path(spec, dep, path_replacements) + entries.append(cmake_cache_path("%s_DIR" % dep.upper(), dep_dir)) + else: + entries.append("# %s not built\n" % dep.upper()) + + if spec.satisfies("+profiling"): + dep_dir = get_spec_path(spec, "adiak", path_replacements) + entries.append(cmake_cache_path("ADIAK_DIR", dep_dir)) + + dep_dir = get_spec_path(spec, "caliper", path_replacements) + entries.append(cmake_cache_path("CALIPER_DIR", dep_dir)) + + if spec.satisfies("+umpire") and spec.satisfies("^camp"): + dep_dir = get_spec_path(spec, "camp", path_replacements) + entries.append(cmake_cache_path("CAMP_DIR", dep_dir)) + + # SCR does not export it's targets so we need to pull in its dependencies + if spec.satisfies("+scr"): + dep_dir = get_spec_path(spec, "scr", path_replacements) + entries.append(cmake_cache_path("SCR_DIR", dep_dir)) + + # scr's dependencies + scr_deps = ( + "kvtree", + "dtcmp", + "spath", + "axl", + "lwgrp", + "er", + "rankstr", + "redset", + "shuffile", + "libyogrt", + ) + for dep in scr_deps: + if spec.satisfies("^{0}".format(dep)): + dep_dir = get_spec_path(spec, dep, path_replacements) + entries.append(cmake_cache_path("%s_DIR" % dep.upper(), dep_dir)) + else: + entries.append("# scr not built\n") + + ################################## + # Devtools + ################################## + + entries.append("#------------------{0}".format("-" * 60)) + entries.append("# Devtools") + entries.append("#------------------{0}\n".format("-" * 60)) + + # Add common prefix to path replacement list + if spec.satisfies("+devtools"): + # Grab common devtools root and strip the trailing slash + path1 = os.path.realpath(spec["cppcheck"].prefix) + path2 = os.path.realpath(spec["doxygen"].prefix) + self.find_path_replacement(path1, path2, path_replacements, "DEVTOOLS_ROOT", entries) + + if spec.satisfies("+devtools") and spec.satisfies("^llvm@19"): + clang_fmt_path = spec["llvm"].prefix.bin.join("clang-format") + entries.append(cmake_cache_path("CLANGFORMAT_EXECUTABLE", clang_fmt_path)) + else: + entries.append("# ClangFormat disabled since llvm@19 and devtools not in spec\n") + entries.append(cmake_cache_option("ENABLE_CLANGFORMAT", False)) + + if spec.satisfies("+python") or spec.satisfies("+devtools"): + python_bin_dir = get_spec_path(spec, "python", path_replacements, use_bin=True) + entries.append(cmake_cache_path("Python_EXECUTABLE", pjoin(python_bin_dir, "python3"))) + + if spec.satisfies("^py-jsonschema"): + jsonschema_dir = get_spec_path(spec, "py-jsonschema", path_replacements, use_bin=True) + jsonschema_path = os.path.join(jsonschema_dir, "jsonschema") + entries.append(cmake_cache_path("JSONSCHEMA_EXECUTABLE", jsonschema_path)) + + enable_docs = spec.satisfies("^doxygen") or spec.satisfies("^py-sphinx") + entries.append(cmake_cache_option("ENABLE_DOCS", enable_docs)) + + if spec.satisfies("^py-sphinx"): + sphinx_bin_dir = get_spec_path(spec, "py-sphinx", path_replacements, use_bin=True) + entries.append( + cmake_cache_path("SPHINX_EXECUTABLE", pjoin(sphinx_bin_dir, "sphinx-build")) + ) + + if spec.satisfies("^py-shroud"): + shroud_bin_dir = get_spec_path(spec, "py-shroud", path_replacements, use_bin=True) + entries.append(cmake_cache_path("SHROUD_EXECUTABLE", pjoin(shroud_bin_dir, "shroud"))) + + for dep in ("cppcheck", "doxygen"): + if spec.satisfies("^%s" % dep): + dep_bin_dir = get_spec_path(spec, dep, path_replacements, use_bin=True) + entries.append( + cmake_cache_path("%s_EXECUTABLE" % dep.upper(), pjoin(dep_bin_dir, dep)) + ) + + return entries + + def cmake_args(self): + options = [] + + options.append("-DBLT_SOURCE_DIR:PATH={0}".format(self.spec["blt"].prefix)) + + if self.run_tests is False: + options.append("-DENABLE_TESTS=OFF") + else: + options.append("-DENABLE_TESTS=ON") + + options.append(self.define_from_variant("BUILD_SHARED_LIBS", "shared")) + options.append(self.define_from_variant("AXOM_ENABLE_EXAMPLES", "examples")) + options.append(self.define_from_variant("AXOM_ENABLE_TOOLS", "tools")) + if self.spec.satisfies("~raja") or self.spec.satisfies("+umpire"): + options.append("-DAXOM_ENABLE_MIR:BOOL=OFF") + + return options + + def patch(self): + if self.spec.satisfies("%cce"): + filter_file( + "PROPERTIES LINKER_LANGUAGE CXX", + 'PROPERTIES LINKER_LANGUAGE CXX \n LINK_FLAGS "-fopenmp"', + "src/axom/quest/examples/CMakeLists.txt", + ) + + @run_after("build") + @on_package_attributes(run_tests=True) + def build_test(self): + with working_dir(self.build_directory): + print("Running Axom Unit Tests...") + make("test") + + @run_after("install") + @on_package_attributes(run_tests=True) + def test_install_using_cmake(self): + """build example with cmake and run""" + example_src_dir = join_path(self.prefix.examples.axom, "using-with-cmake") + example_stage_dir = "./cmake" + shutil.copytree(example_src_dir, example_stage_dir) + with working_dir(join_path(example_stage_dir, "build"), create=True): + cmake_args = ["-C ../host-config.cmake", example_src_dir] + cmake = self.spec["cmake"].command + cmake(*cmake_args) + make() + example = Executable("./example") + example() + make("clean") + + @run_after("install") + @on_package_attributes(run_tests=True) + def test_install_using_make(self): + """build example with make and run""" + example_src_dir = join_path(self.prefix.examples.axom, "using-with-make") + example_stage_dir = "./make" + shutil.copytree(example_src_dir, example_stage_dir) + with working_dir(example_stage_dir, create=True): + make(f"AXOM_DIR={self.prefix}") + example = Executable("./example") + example() + make("clean") diff --git a/scripts/spack/packages/conduit/package.py b/scripts/spack/packages/conduit/package.py new file mode 100644 index 000000000..cba8ef196 --- /dev/null +++ b/scripts/spack/packages/conduit/package.py @@ -0,0 +1,9 @@ +import os + +from spack.package import * +from spack_repo.builtin.packages.conduit.package import Conduit as BuiltinConduit + +class Conduit(BuiltinConduit): + version("0.9.5", sha256="d93294efbf0936da5a27941e13486aa1a04a74a59285786a2303eed19a24265a") + version("0.9.4", sha256="c9edfb2ff09890084313ad9c2d83bfb7c10e70b696980762d1ae1488f9f08e6c") + version("0.9.3", sha256="2968fa8df6e6c43800c019a008ef064ee9995dc2ff448b72dc5017c188a2e6d4") diff --git a/scripts/spack/packages/cray-mpich/package.py b/scripts/spack/packages/cray-mpich/package.py index 6eed9a38b..0fe473c93 100644 --- a/scripts/spack/packages/cray-mpich/package.py +++ b/scripts/spack/packages/cray-mpich/package.py @@ -8,7 +8,7 @@ class CrayMpich(BuiltinCrayMpich): # Adds newer version - version('8.1.13') + version("8.1.29") # https://github.com/spack/spack/blob/f50f5859f31d7ba76e044039253fdb1689ea017a/lib/spack/spack/build_systems/cached_cmake.py#L230-L234 variant("slurm", default=True, description="Added to get MPIEXEC_NUMPROC_FLAG right") diff --git a/scripts/spack/packages/enzyme/package.py b/scripts/spack/packages/enzyme/package.py index ea2028e71..183da34cb 100644 --- a/scripts/spack/packages/enzyme/package.py +++ b/scripts/spack/packages/enzyme/package.py @@ -5,6 +5,9 @@ # Can't import like this #from spack_repo.builtin.build_systems.cmake import CMakePackage +# NOTE: this custom package can be removed after this PR merges into Spack +# https://github.com/spack/spack-packages/pull/2365 + from spack.package import * @@ -26,6 +29,8 @@ class Enzyme(CMakePackage): root_cmakelists_dir = "enzyme" version("main", branch="main") + version("0.0.196", sha256="2b9cfcb7c34e56fc8191423042df06241cf32928eefbb113ac3c5199e3361cb2") + version("0.0.186", sha256="125e612df0b6b82b07e1e13218c515bc54e04aa1407e57f4f31d3abe995f4714") version("0.0.180", sha256="d65a8e889413bb9518da00d65524c07352f1794b55c163f0db6828844c779ed4") version("0.0.173", sha256="b8477fb5bead9e9ece76d450ebd0afee99914235c6e1a6ef8c05bf288e3c0478") version("0.0.172", sha256="688200164787d543641cb446cff20f6a8e8b5c92bb7032ebe7f867efa67ceafb") @@ -39,47 +44,44 @@ class Enzyme(CMakePackage): version("0.0.14", sha256="740641eeeeadaf47942ac88cc52e62ddc0e8c25767a501bed36ec241cf258b8d") version("0.0.13", sha256="d4a53964ec1f763772db2c56e6734269b7656c8b2ecd41fa7a41315bcd896b5a") - # TODO: push to Spack's builtin repo - variant("coverage", default=False, description="Enable Code Coverage Support") - depends_on("c", type="build") # generated depends_on("cxx", type="build") # generated depends_on("fortran", type="build") # generated - depends_on("llvm@7:12", when="@0.0.13:0.0.15") - depends_on("llvm@7:14", when="@0.0.32:0.0.47") - depends_on("llvm@7:14", when="@0.0.48:0.0.68") - depends_on("llvm@9:16", when="@0.0.69:0.0.79") - depends_on("llvm@11:16", when="@0.0.80:0.0.99") - depends_on("llvm@11:19", when="@0.0.100:0.0.148") - depends_on("llvm@15:19", when="@0.0.149:") + depends_on("libllvm@7:12", when="@0.0.13:0.0.15") + depends_on("libllvm@7:14", when="@0.0.32:0.0.47") + depends_on("libllvm@7:14", when="@0.0.48:0.0.68") + depends_on("libllvm@9:16", when="@0.0.69:0.0.79") + depends_on("libllvm@11:16", when="@0.0.80:0.0.99") + depends_on("libllvm@11:19", when="@0.0.100:0.0.148") + depends_on("libllvm@15:19", when="@0.0.149:0.0.185") + depends_on("libllvm@15:20", when="@0.0.186:") depends_on("cmake@3.13:", type="build") for compiler_ in ["aocc", "cce", "gcc", "nag", "fj", "intel", "nvhpc", "xl"]: conflicts(f"%[virtuals=c,cxx] {compiler_}") def cmake_args(self): - spec = self.spec - - # TODO: push to Spack's builtin repo - # On Ubuntu 24, with apt installed packages this dir doesn't exist. Error: - # Looking for LLVM_DIR at /usr/lib/cmake/llvm - # CMake Error at CMakeLists.txt:60 (message): - # The given LLVM_DIR does not exist. Typo? - #args = ["-DLLVM_DIR=" + spec["llvm"].prefix.lib + "/cmake/llvm"] - args = ["-DLLVM_DIR=" + spec["llvm"].prefix] + args = ["-DLLVM_DIR=" + self.llvm_prefix + "/lib/cmake/llvm"] + return args - # TODO: push to Spack's builtin repo - # Add coverage flags for compatibility - if "+coverage" in self.spec: - args.append("-DCMAKE_CXX_FLAGS=-fno-omit-frame-pointer -fprofile-instr-generate -fcoverage-mapping") + @property + def llvm_prefix(self): + spec = self.spec + if spec.satisfies("%libllvm=llvm"): + return spec["llvm"].prefix + if spec.satisfies("%libllvm=llvm-amdgpu"): + return spec["llvm-amdgpu"].prefix + raise InstallError("Unknown 'libllvm' provider!") - return args + @property + def llvm_version(self): + llvm_config = Executable(self.llvm_prefix + "/bin/llvm-config") + return Version(llvm_config("--version", output=str)) @property def libs(self): - # TODO: External Enzyme won't have llvm here - ver = self.spec["llvm"].version.up_to(1) + ver = self.llvm_version.up_to(1) libs = ["LLVMEnzyme-{0}".format(ver), "ClangEnzyme-{0}".format(ver)] if self.version >= Version("0.0.32"): # TODO actual lower bound libs.append("LLDEnzyme-{0}".format(ver)) @@ -91,14 +93,14 @@ def setup_dependent_build_environment( ) -> None: # Get the LLVMEnzyme, ClangEnzyme and LLDEnzyme lib paths and set # environment variables - ver = self.spec["llvm"].version.up_to(1) + ver = self.llvm_version.up_to(1) llvm = find_libraries("LLVMEnzyme-{0}".format(ver), root=self.prefix, recursive=True) - env.set("LLVMENZYME", llvm) + env.set("LLVMENZYME", ";".join(llvm)) clang = find_libraries("ClangEnzyme-{0}".format(ver), root=self.prefix, recursive=True) - env.set("CLANGENZYME", clang) + env.set("CLANGENZYME", ";".join(clang)) if self.version >= Version("0.0.32"): # TODO actual lower bound lld = find_libraries("LLDEnzyme-{0}".format(ver), root=self.prefix, recursive=True) - env.set("LLDMENZYME", lld) + env.set("LLDENZYME", ";".join(lld)) diff --git a/scripts/spack/packages/llvm-amdgpu/package.py b/scripts/spack/packages/llvm-amdgpu/package.py new file mode 100644 index 000000000..93dd170db --- /dev/null +++ b/scripts/spack/packages/llvm-amdgpu/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2025 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +import os +from spack.package import * +from spack_repo.builtin.packages.llvm_amdgpu.package import LlvmAmdgpu as BuiltinLlvmAmdgpu + +class LlvmAmdgpu(BuiltinLlvmAmdgpu): + + # PR that adds this change is pending: https://github.com/spack/spack-packages/pull/1557 + provides("fortran") + + # Fix from slack: + # https://spackpm.slack.com/archives/C08Q62S7XEX/p1751072888930439?thread_ts=1750704656.170759&cid=C08Q62S7XEX + compiler_wrapper_link_paths = { + "c": "rocmcc/amdclang", + "cxx": "rocmcc/amdclang++", + "fortran": "rocmcc/amdflang" + } diff --git a/scripts/spack/packages/mfem/package.py b/scripts/spack/packages/mfem/package.py index 8c15c2bc2..5290a2993 100644 --- a/scripts/spack/packages/mfem/package.py +++ b/scripts/spack/packages/mfem/package.py @@ -12,7 +12,7 @@ class Mfem(BuiltinMfem): # Note: We add a number to the end of the real version number to indicate that we have # moved forward past the release. Increment the last number when updating the commit sha. # Note: MFEM is not at 4.9, but 4.9 is required to enable enzyme in the spack package - version("4.9.0.1", commit="fb7466c81925eb9a7b5614fa54d5a8bd9395ee36") + version("4.9.0.2", commit="563cd25971f1f86e72168fdc022a2472d08b4661") variant('asan', default=False, description='Add Address Sanitizer flags') @@ -48,3 +48,41 @@ def setup_build_environment(self, env): env.append_flags(flag, "-fno-omit-frame-pointer") if '+debug' in self.spec: env.append_flags(flag, "-fno-optimize-sibling-calls") + + + # Override hypre make options to include extra rocm libs... + # TODO remove once this PR merges into Spack https://github.com/spack/spack-packages/pull/2363 + def get_make_config_options(self, spec, prefix): + options = BuiltinMfem.get_make_config_options(self, spec, prefix) + + # Remove old options + options[:] = [opt for opt in options if "HYPRE_OPT" not in opt and "HYPRE_LIB" not in opt] + + # We need to add rpaths explicitly to allow proper export of link flags + # from within MFEM. We use the following two functions to do that. + ld_flags_from_library_list = self.ld_flags_from_library_list + + if "+mpi" in spec: + hypre = spec["hypre"] + all_hypre_libs = hypre.libs + + hypre_gpu_libs = "" + if "+rocm" in hypre: + hypre_rocm_libs = LibraryList([]) + if "^rocsparse" in hypre: + hypre_rocm_libs += hypre["rocsparse"].libs + if "^rocrand" in hypre: + hypre_rocm_libs += hypre["rocrand"].libs + # https://github.com/spack/spack-packages/pull/2363 + if hypre.version >= Version("2.29.0"): + if "^rocsolver" in hypre: + hypre_rocm_libs += hypre["rocsolver"].libs + if "^rocblas" in hypre: + hypre_rocm_libs += hypre["rocblas"].libs + hypre_gpu_libs = " " + ld_flags_from_library_list(hypre_rocm_libs) + options += [ + "HYPRE_OPT=-I%s" % hypre.prefix.include, + "HYPRE_LIB=%s%s" % (ld_flags_from_library_list(all_hypre_libs), hypre_gpu_libs), + ] + + return options diff --git a/scripts/spack/packages/smith/package.py b/scripts/spack/packages/smith/package.py index 509610913..4749272d1 100644 --- a/scripts/spack/packages/smith/package.py +++ b/scripts/spack/packages/smith/package.py @@ -7,6 +7,10 @@ from spack.spec import UnsupportedCompilerError from spack.util.executable import which_string +from spack_repo.builtin.build_systems.cached_cmake import CachedCMakePackage +from spack_repo.builtin.build_systems.cuda import CudaPackage +from spack_repo.builtin.build_systems.rocm import ROCmPackage + import os import socket from os.path import join as pjoin @@ -92,7 +96,9 @@ class Smith(CachedCMakePackage, CudaPackage, ROCmPackage): depends_on("lua") - depends_on('enzyme@0.0.180', when="+enzyme") + depends_on("enzyme@0.0.180", when="+enzyme") + depends_on("cuda+allow-unsupported-compilers", when="+enzyme+cuda") + depends_on("enzyme %libllvm=llvm-amdgpu", when="+enzyme+rocm") # Devtool dependencies these need to match smith_devtools/package.py with when("+devtools"): @@ -109,16 +115,19 @@ class Smith(CachedCMakePackage, CudaPackage, ROCmPackage): # NOTE: Sundials must be built static to prevent the following runtime error: # "error while loading shared libraries: libsundials_nvecserial.so.6: # cannot open shared object file: No such file or directory" - depends_on("sundials+hypre~monitoring~examples~examples-install+static~shared") + depends_on("sundials+hypre~trilinos~monitoring~examples~examples-install+static~shared~petsc") depends_on("sundials+asan", when="+asan") depends_on("mfem+netcdf+metis+superlu-dist+lapack+mpi") depends_on("mfem+sundials", when="+sundials") + depends_on("mfem~sundials", when="~sundials") depends_on("mfem+amgx", when="+cuda") depends_on("mfem+asan", when="+asan") depends_on("mfem+strumpack", when="+strumpack") depends_on("mfem+petsc", when="+petsc") + depends_on("mfem~petsc", when="~petsc") depends_on("mfem+slepc", when="+slepc") + depends_on("mfem~slepc", when="~slepc") depends_on("mfem+openmp", when="+openmp") depends_on("mfem+enzyme", when="+enzyme") @@ -127,7 +136,7 @@ class Smith(CachedCMakePackage, CudaPackage, ROCmPackage): depends_on("hypre@2.26.0:~superlu-dist+mpi") with when("+petsc"): - depends_on("petsc") + depends_on("petsc~mmg") depends_on("petsc+strumpack", when="+strumpack") depends_on("petsc~strumpack", when="~strumpack") depends_on("petsc+openmp", when="+openmp") @@ -147,7 +156,7 @@ class Smith(CachedCMakePackage, CudaPackage, ROCmPackage): # Note: Certain combinations of CMake and Conduit do not like +mpi # and cause FindHDF5.cmake to fail and only return mpi information # (includes, libs, etc) instead of hdf5 info - depends_on("hdf5@1.8.21:+hl~mpi") + depends_on("hdf5@1.8.21:+hl~mpi cflags=-Wno-int-conversion") depends_on("camp@2024.02.0:") @@ -172,7 +181,7 @@ class Smith(CachedCMakePackage, CudaPackage, ROCmPackage): depends_on("metis@5.1.0") depends_on("parmetis@4.0.3") - depends_on("conduit~python~test") + depends_on("conduit~python~test~silo") with when("+profiling"): depends_on("adiak+mpi") @@ -259,6 +268,9 @@ class Smith(CachedCMakePackage, CudaPackage, ROCmPackage): for compiler_ in ["aocc", "cce", "gcc", "nag", "fj", "intel", "nvhpc", "xl"]: conflicts("+enzyme", when=f"%[virtuals=c,cxx] {compiler_}") + requires("%cxx=llvm-amdgpu", when="+enzyme+rocm") + requires("%cxx=llvm", when="+enzyme~rocm") + conflicts("+openmp", when="+rocm") conflicts("+cuda", when="+rocm") conflicts("~umpire", when="+raja", msg="Axom requires both raja and umpire in order to properly set CAMP_DIR.") @@ -299,6 +311,7 @@ class Smith(CachedCMakePackage, CudaPackage, ROCmPackage): # required depends_on(f"axom {ext_rocm_dep}", when=f"{ext_rocm_dep}") depends_on(f"mfem {ext_rocm_dep}", when=f"{ext_rocm_dep}") + depends_on(f"hypre {ext_rocm_dep}", when=f"{ext_rocm_dep}") # optional depends_on(f"caliper {ext_rocm_dep}", when=f"+profiling {ext_rocm_dep}") @@ -324,7 +337,8 @@ class Smith(CachedCMakePackage, CudaPackage, ROCmPackage): # required depends_on(f"axom {ext_rocm_dep}", when=f"{ext_rocm_dep}") - depends_on(f"mfem {ext_rocm_dep}", when=f"{ext_rocm_dep}") + depends_on(f"mfem+raja+umpire {ext_rocm_dep}", when=f"{ext_rocm_dep}") + depends_on(f"hypre+umpire {ext_rocm_dep}", when=f"{ext_rocm_dep}") # optional depends_on(f"caliper {ext_rocm_dep}", when=f"+profiling {ext_rocm_dep}") @@ -405,18 +419,29 @@ def initconfig_hardware_entries(self): if spec.satisfies("+rocm"): entries.append(cmake_cache_option("ENABLE_HIP", True)) - # Add search paths + hip_link_flags = "" + rocm_root = os.path.dirname(spec["llvm-amdgpu"].prefix) - entries.append(cmake_cache_path("ROCM_PATH", rocm_root)) - hip_link_flags = "-L{0}/lib -Wl,-rpath,{0}/lib ".format(rocm_root) - hip_link_flags += "-L{0}/llvm/lib -Wl,-rpath,{0}/llvm/lib ".format(rocm_root) + entries.append(cmake_cache_path("ROCM_ROOT_DIR", rocm_root)) # Recommended MPI flags hip_link_flags += "-lxpmem " - hip_link_flags += "-L/opt/cray/pe/mpich/{0}/gtl/lib ".format(spec["mpi"].version) - hip_link_flags += "-Wl,-rpath,/opt/cray/pe/mpich/{0}/gtl/lib ".format(spec["mpi"].version) + hip_link_flags += "-L/opt/cray/pe/mpich/{0}/gtl/lib ".format(spec["mpi"].version.up_to(3)) + hip_link_flags += "-Wl,-rpath,/opt/cray/pe/mpich/{0}/gtl/lib ".format( + spec["mpi"].version.up_to(3) + ) hip_link_flags += "-lmpi_gtl_hsa " + if spec.satisfies("^hip@6.0.0:"): + hip_link_flags += "-L{0}/lib/llvm/lib -Wl,-rpath,{0}/lib/llvm/lib ".format(rocm_root) + else: + hip_link_flags += "-L{0}/llvm/lib -Wl,-rpath,{0}/llvm/lib ".format(rocm_root) + # Only amdclang requires this path; cray compiler fails if this is included + if spec.satisfies("%llvm-amdgpu"): + hip_link_flags += "-L{0}/lib -Wl,-rpath,{0}/lib ".format(rocm_root) + + # Fixes for mpi for rocm until wrapper paths are fixed + # These flags are already part of the wrapped compilers on TOSS4 systems if self.is_fortran_compiler("amdflang"): hip_link_flags += "-Wl,--disable-new-dtags " hip_link_flags += "-lflang -lflangrti " diff --git a/scripts/spack/packages/tribol/package.py b/scripts/spack/packages/tribol/package.py index d1019c93f..b626dcdbc 100644 --- a/scripts/spack/packages/tribol/package.py +++ b/scripts/spack/packages/tribol/package.py @@ -44,7 +44,11 @@ class Tribol(CachedCMakePackage, CudaPackage, ROCmPackage): # SMITH EDIT START # Note: We add a number to the end of the real version number to indicate that we have # moved forward past the release. Increment the last number when updating the commit sha. - version("0.1.0.22", commit="a445892205b31b9505d9427dd9a04f6d5714bcad", submodules=True, preferred=True) + version("0.1.0.23", commit="04ab0220f54e074ecaf785ad2a607433993edb96", submodules=True, preferred=True) + + depends_on("c", type="build") + depends_on("cxx", type="build") + depends_on("fortran", type="build", when="+fortran") # SMITH EDIT END # ----------------------------------------------------------------------- @@ -176,6 +180,11 @@ def _get_sys_type(self, spec): sys_type = env["SYS_TYPE"] return sys_type + def is_fortran_compiler(self, compiler): + if self.compiler.fc is not None and compiler in self.compiler.fc: + return True + return False + @property def cache_name(self): hostname = socket.gethostname() @@ -254,30 +263,33 @@ def initconfig_hardware_entries(self): entries.append(cmake_cache_option("ENABLE_HIP", True)) - rocm_root = spec["hip"].prefix - if not spec.satisfies("^hip@6.0.0:"): - rocm_root = "{0}/..".format(rocm_root) - entries.append(cmake_cache_path("ROCM_PATH", rocm_root)) + hip_link_flags = "" - hip_link_flags = "-L{0}/lib -Wl,-rpath,{0}/lib ".format(rocm_root) + rocm_root = os.path.dirname(spec["llvm-amdgpu"].prefix) + entries.append(cmake_cache_path("ROCM_ROOT_DIR", rocm_root)) # Recommended MPI flags hip_link_flags += "-lxpmem " - hip_link_flags += "-L/opt/cray/pe/mpich/{0}/gtl/lib ".format(spec["mpi"].version) - hip_link_flags += "-Wl,-rpath,/opt/cray/pe/mpich/{0}/gtl/lib ".format(spec["mpi"].version) + hip_link_flags += "-L/opt/cray/pe/mpich/{0}/gtl/lib ".format(spec["mpi"].version.up_to(3)) + hip_link_flags += "-Wl,-rpath,/opt/cray/pe/mpich/{0}/gtl/lib ".format( + spec["mpi"].version.up_to(3) + ) hip_link_flags += "-lmpi_gtl_hsa " - # needed for lapack support in mfem if spec.satisfies("^hip@6.0.0:"): hip_link_flags += "-L{0}/lib/llvm/lib -Wl,-rpath,{0}/lib/llvm/lib ".format(rocm_root) else: hip_link_flags += "-L{0}/llvm/lib -Wl,-rpath,{0}/llvm/lib ".format(rocm_root) hip_link_flags += "-lpgmath " + # Only amdclang requires this path; cray compiler fails if this is included + if spec.satisfies("%llvm-amdgpu"): + hip_link_flags += "-L{0}/lib -Wl,-rpath,{0}/lib ".format(rocm_root) + # Fixes for mpi for rocm until wrapper paths are fixed # These flags are already part of the wrapped compilers on TOSS4 systems - if "+fortran" in spec and self.is_fortran_compiler("amdflang"): + if spec.satisfies("+fortran") and self.is_fortran_compiler("amdflang"): hip_link_flags += "-Wl,--disable-new-dtags " - hip_link_flags += "-lflang -lflangrti -lompstub " + hip_link_flags += "-lflang -lflangrti " # Remove extra link library for crayftn if "+fortran" in spec and self.is_fortran_compiler("crayftn"): @@ -286,10 +298,11 @@ def initconfig_hardware_entries(self): ) # Additional libraries for TOSS4 - hip_link_flags += "-L{0}/lib -Wl,-rpath,{0}/lib ".format(rocm_root) - if not spec.satisfies("^hip@6.0.0:"): - hip_link_flags += "-L{0}/hip/lib -Wl,-rpath,{0}/hip/lib ".format(rocm_root) hip_link_flags += "-lamdhip64 -lhsakmt -lhsa-runtime64 -lamd_comgr " + if spec.satisfies("+openmp"): + hip_link_flags += "-lompstub " + if spec.satisfies("^hipblas"): + hip_link_flags += "-lhipblas" entries.append(cmake_cache_string("CMAKE_EXE_LINKER_FLAGS", hip_link_flags)) diff --git a/scripts/spack/radiuss-spack-configs b/scripts/spack/radiuss-spack-configs index 01d6f1d35..b39030f68 160000 --- a/scripts/spack/radiuss-spack-configs +++ b/scripts/spack/radiuss-spack-configs @@ -1 +1 @@ -Subproject commit 01d6f1d3536e271e185c3290d7da97d0aa68ad84 +Subproject commit b39030f680263f6c15c7dfe510fa6ffdb9482136 diff --git a/scripts/spack/specs.json b/scripts/spack/specs.json index 549a97011..20ec605bf 100644 --- a/scripts/spack/specs.json +++ b/scripts/spack/specs.json @@ -18,10 +18,10 @@ "+devtools+profiling~enzyme %gcc_13" ], "toss_4_x86_64_ib_cray": - [ "~openmp+profiling+rocm+raja+umpire+strumpack~petsc %rocmcc@6.2.1 amdgpu_target=gfx90a ^hip@6.2.1 ^rocprim@6.2.1 ^hsa-rocr-dev@6.2.1 ^llvm-amdgpu@6.2.1 ^hdf5 cflags=-Wno-int-conversion"], + [ "~devtools+profiling~openmp+rocm~petsc~slepc~enzyme~sundials amdgpu_target=gfx942,gfx90a %rocm_6_4_2"], "blueos_3_ppc64le_ib_p9": - [ "+devtools+cuda+raja+umpire+profiling~strumpack %clang_gfortran cuda_arch=70" ], + [ "+devtools+cuda+profiling~strumpack %clang_gfortran cuda_arch=70" ], "macos_sonoma_aarch64": [ "+devtools+profiling+enzyme~openmp %clang_19" ] diff --git a/scripts/uberenv b/scripts/uberenv index e1b395839..bec05e20b 160000 --- a/scripts/uberenv +++ b/scripts/uberenv @@ -1 +1 @@ -Subproject commit e1b3958395f9d3df7c33fcb7748c8c1af108fa73 +Subproject commit bec05e20bf2a1634d97ead358a9072c36f1fdcac diff --git a/src/smith/physics/tests/dynamic_solid_adjoint.cpp b/src/smith/physics/tests/dynamic_solid_adjoint.cpp index 937e02884..b9fb65e30 100644 --- a/src/smith/physics/tests/dynamic_solid_adjoint.cpp +++ b/src/smith/physics/tests/dynamic_solid_adjoint.cpp @@ -422,14 +422,16 @@ TEST_F(SolidMechanicsSensitivityFixture, QuasiStaticShapeSensitivities) TEST_F(SolidMechanicsSensitivityFixture, WhenShapeSensitivitiesCalledTwice_GetSameObjectiveAndGradient) { auto solid_solver = createNonlinearSolidMechanicsSolver(); - auto [qoi1, _, __, shape_sensitivity1] = computeSolidMechanicsQoiSensitivities(*solid_solver, tsInfo); + auto [qoi1, shape_unused1, shape_unused2, shape_sensitivity1] = + computeSolidMechanicsQoiSensitivities(*solid_solver, tsInfo); solid_solver->resetStates(); applyInitialAndBoundaryConditions(*solid_solver); FiniteElementState derivative_direction(shape_sensitivity1.space(), "derivative_direction"); fillDirection(derivative_direction); - auto [qoi2, ___, ____, shape_sensitivity2] = computeSolidMechanicsQoiSensitivities(*solid_solver, tsInfo); + auto [qoi2, shape_unused3, shape_unused4, shape_sensitivity2] = + computeSolidMechanicsQoiSensitivities(*solid_solver, tsInfo); EXPECT_EQ(qoi1, qoi2); diff --git a/tribol b/tribol index a44589220..04ab0220f 160000 --- a/tribol +++ b/tribol @@ -1 +1 @@ -Subproject commit a445892205b31b9505d9427dd9a04f6d5714bcad +Subproject commit 04ab0220f54e074ecaf785ad2a607433993edb96