... | ... | @@ -6,6 +6,11 @@ Below we provide examples of compilation process in on selected systems |
|
|
* [C example](https://github.com/vyu16/elpa_c_test)
|
|
|
|
|
|
## Installation instructions
|
|
|
For compilation use interactive session:
|
|
|
```bash
|
|
|
bsub -Is -W 0:15 -nnodes 1 -P nph139 $SHELL
|
|
|
```
|
|
|
Next execute:
|
|
|
```bash
|
|
|
module load gcc/7.4.0
|
|
|
module load m4
|
... | ... | @@ -27,8 +32,13 @@ mkdir build && cd build |
|
|
|
|
|
../configure FC=mpif90 CC=mpicc FCFLAGS="-O2 -mcpu=power9 -ffree-line-length-none" CFLAGS="-O2 -mcpu=power9" CPP="cpp -E" LDFLAGS="-L${OLCF_NETLIB_SCALAPACK_ROOT}/lib -lscalapack -L${OLCF_ESSL_ROOT}/lib64 -lessl -L${OLCF_NETLIB_LAPACK_ROOT}/lib64 -llapack" --disable-openmp --enable-gpu --with-cuda-path=${OLCF_CUDA_ROOT} --with-GPU-compute-capability=sm_70 --disable-sse-assembly --disable-sse --disable-avx --disable-avx2 --disable-avx512 --enable-c-tests=no --prefix="/ccs/home/gabrielw/proj-shared/share/elpa"
|
|
|
|
|
|
make
|
|
|
make -j 8
|
|
|
|
|
|
# Before you install lib, check if CUDA support works correctly
|
|
|
jsrun -n 6 -a 1 -c 1 -g 1 ./validate_complex_double_eigenvectors_2stage_default_kernel_gpu_random 1000 1000 16
|
|
|
jsrun -n 6 -a 1 -c 1 -g 1 ./validate_real_double_eigenvectors_2stage_default_kernel_gpu_random 1000 1000 16
|
|
|
|
|
|
# If tests are ok, install to the final destination
|
|
|
make install
|
|
|
```
|
|
|
|
... | ... | |