... | @@ -139,20 +139,37 @@ make install |
... | @@ -139,20 +139,37 @@ make install |
|
|
|
|
|
# Installation on [LUMI](https://lumi-supercomputer.eu)
|
|
# Installation on [LUMI](https://lumi-supercomputer.eu)
|
|
```bash
|
|
```bash
|
|
module load cray-libsci/21.05.1.1
|
|
module load PrgEnv-gnu/8.4.0
|
|
|
|
module load LUMI/23.09 partition/G
|
|
|
|
module load rocm/5.6.1
|
|
|
|
module load buildtools/23.09
|
|
|
|
|
|
|
|
#install blis
|
|
|
|
git clone https://github.com/flame/blis.git
|
|
|
|
cd blis
|
|
|
|
./configure --prefix=/project/project_465000708/share/libs amd64
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
|
|
# get the latest version of elpa
|
|
#install libflame
|
|
git clone https://gitlab.mpcdf.mpg.de/elpa/elpa.git
|
|
git clone https://github.com/flame/libflame.git
|
|
# or download from a tar archive https://elpa.mpcdf.mpg.de/software/tarball-archive/ELPA_TARBALL_ARCHIVE.html
|
|
cd libflame
|
|
|
|
./configure --prefix=/project/project_465000708/share/libs amd64
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
|
|
# go to elpa lib
|
|
#build ELPA
|
|
|
|
git clone https://gitlab.mpcdf.mpg.de/elpa/elpa.git
|
|
cd elpa
|
|
cd elpa
|
|
|
|
git checkout master_pre_stage
|
|
./configure --prefix=/projappl/project_465000014/share/elpa/elpa-2021.05.002 FC=ftn CC=cc FCFLAGS="-O2 -h omp" CFLAGS="-O2 -fopenmp" LDFLAGS="-L${CRAY_LIBSCI_PREFIX}/lib -lsci_cray_mpi -lsci_cray" -disable-avx512 --disable-openmp --enable-static --enable-c-tests=no
|
|
# prepare for compilation
|
|
|
|
libtoolize
|
|
# build
|
|
aclocal
|
|
|
|
autoheader
|
|
|
|
./autogen.sh
|
|
|
|
# building process in separate folder
|
|
|
|
mkdir build && cd build
|
|
|
|
../configure --prefix=/project/project_465000708/share/libs CPP="gcc -E" CC=cc CXX=hipcc FC=ftn CXXFLAGS="-DROCBLAS_V3 -D__HIP_PLATFORM_AMD__ --offload-arch=gfx90a -g -O3 -std=c++17" CFLAGS="-g -O3 -std=c++17" LIBS="-lamdhip64 -fPIC" FCFLAGS="-g -O3" --enable-option-checking=fatal --with-mpi=yes --disable-sse --disable-sse-assembly --disable-avx --disable-avx2 --disable-avx512 --enable-amd-gpu --enable-single-precision --enable-gpu-streams=amd --enable-hipcub --disable-cpp-tests --with-rocsolver
|
|
make
|
|
make
|
|
|
|
|
|
# install
|
|
|
|
make install
|
|
make install
|
|
``` |
|
``` |
|
\ No newline at end of file |
|
|