For more detailed installation parameters, please refer to the installation document.
Repository: AMG2023
-
Clone the repository:
cd AMG2023 git clone -b v2.27.0 https://github.com/hypre-space/hypre.git
-
Navigate to the source directory:
cd hypre/src
-
Load necessary modules:
module load cudatoolkit/11.7 module load gcc/10.3.0 module load cray-mpich cray-libsci
-
Configure the build:
./configure --with-cuda --enable-device-memory-pool --enable-mixedint --prefix=/pscratch/sd/c/cunyang/AMG2023 --with-gpu-arch=80
-
Load additional modules:
module load cmake/3.24.3 module load PrgEnv-cray module load cudatoolkit/11.7 module load craype-accel-nvidia80
-
Create and navigate to the build directory:
cd ../../AMG2023 mkdir build cd build
-
Run CMake to configure the build system:
cmake -DHYPRE_PREFIX=/pscratch/sd/c/cunyang/AMG2023 ..