From e860981ca36ac89666872f0e0016edd4c1ee15be Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Fri, 21 Feb 2025 15:28:16 -0800 Subject: [PATCH 1/2] Doc: Frontier Update (Feb 18, 2025) There was a major system upgrade to Frontier this week. This updates to the latest modules. --- Tools/machines/frontier-olcf/frontier_warpx.profile.example | 6 +++--- Tools/machines/frontier-olcf/install_dependencies.sh | 6 +----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Tools/machines/frontier-olcf/frontier_warpx.profile.example b/Tools/machines/frontier-olcf/frontier_warpx.profile.example index b51946ce832..89461cc3e8b 100644 --- a/Tools/machines/frontier-olcf/frontier_warpx.profile.example +++ b/Tools/machines/frontier-olcf/frontier_warpx.profile.example @@ -8,9 +8,9 @@ if [ -z ${proj-} ]; then echo "WARNING: The 'proj' variable is not yet set in yo # required dependencies module load cmake/3.27.9 module load craype-accel-amd-gfx90a -module load rocm/5.7.1 -module load cray-mpich/8.1.28 -module load cce/17.0.0 # must be loaded after rocm +module load rocm/6.2.4 +module load cray-mpich/8.1.31 +module load cce/18.0.1 # must be loaded after rocm # https://docs.olcf.ornl.gov/systems/frontier_user_guide.html#compatible-compiler-rocm-toolchain-versions # Fix for OpenMP Runtime (OLCFHELP-21543) diff --git a/Tools/machines/frontier-olcf/install_dependencies.sh b/Tools/machines/frontier-olcf/install_dependencies.sh index 8e8565788bc..c184728d7e1 100755 --- a/Tools/machines/frontier-olcf/install_dependencies.sh +++ b/Tools/machines/frontier-olcf/install_dependencies.sh @@ -87,9 +87,6 @@ python3 -m pip install --upgrade build python3 -m pip install --upgrade packaging python3 -m pip install --upgrade wheel python3 -m pip install --upgrade setuptools -# cupy needs an older Cython -# https://github.com/cupy/cupy/issues/4610 -python3 -m pip install --upgrade "cython<3.0" # cupy for ROCm # https://docs.cupy.dev/en/stable/install.html#building-cupy-for-rocm-from-source # https://github.com/cupy/cupy/issues/7830 @@ -97,8 +94,7 @@ CC=cc CXX=CC \ CUPY_INSTALL_USE_HIP=1 \ ROCM_HOME=${ROCM_PATH} \ HCC_AMDGPU_TARGET=${AMREX_AMD_ARCH} \ - python3 -m pip install -v cupy -python3 -m pip install --upgrade "cython>=3.0" # for latest mpi4py and everything else + python3 -m pip install -v git+https://github.com/cupy/cupy.git@e669b994f976565bf2da4b1f82de51e10b58fbe1 python3 -m pip install --upgrade numpy python3 -m pip install --upgrade h5py python3 -m pip install --upgrade pandas From 78a020097359941c269411009cb4960b69e7f8e3 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Fri, 21 Feb 2025 16:41:12 -0800 Subject: [PATCH 2/2] cython 3+ --- Tools/machines/frontier-olcf/install_dependencies.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/machines/frontier-olcf/install_dependencies.sh b/Tools/machines/frontier-olcf/install_dependencies.sh index c184728d7e1..17b4955e7c4 100755 --- a/Tools/machines/frontier-olcf/install_dependencies.sh +++ b/Tools/machines/frontier-olcf/install_dependencies.sh @@ -87,6 +87,7 @@ python3 -m pip install --upgrade build python3 -m pip install --upgrade packaging python3 -m pip install --upgrade wheel python3 -m pip install --upgrade setuptools +python3 -m pip install --upgrade "cython>=3.0" # cupy for ROCm # https://docs.cupy.dev/en/stable/install.html#building-cupy-for-rocm-from-source # https://github.com/cupy/cupy/issues/7830