Skip to content

Instantly share code, notes, and snippets.

@dvdesolve
Created April 27, 2019 22:56
Show Gist options
  • Save dvdesolve/0563ce1582b7fcacfc21b1ac11ddb61c to your computer and use it in GitHub Desktop.
Save dvdesolve/0563ce1582b7fcacfc21b1ac11ddb61c to your computer and use it in GitHub Desktop.
ELPA with MKL
./configure CC=mpicc CXX=mpic++ FC=mpifort SCALAPACK_LDFLAGS="-L$MKLROOT/lib/intel64 -lmkl_scalapack_lp64 -Wl,--start-group -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lmkl_blacs_openmpi_lp64 -Wl,--end-group -lgomp -lpthread -lm -ldl" SCALAPACK_FCFLAGS="-m64 -I$MKLROOT/include" CFLAGS="-m64 -march=native" --prefix=$HOME/usr --enable-openmp --enable-gpu --with-cuda-path=/opt/cuda/cuda-8.0 --with-GPU-compute-capability=sm_35
make -j14
make install
./configure CC=mpicc CXX=mpic++ FC=mpifort SCALAPACK_LDFLAGS="-L$MKLROOT/lib/intel64 -lmkl_scalapack_lp64 -Wl,--start-group -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_openmpi_lp64 -Wl,--end-group -lpthread -lm -ldl" SCALAPACK_FCFLAGS="-m64 -I$MKLROOT/include" CFLAGS="-m64 -march=native" --prefix=$HOME/usr --disable-openmp --enable-gpu --with-cuda-path=/opt/cuda/cuda-8.0 --with-GPU-compute-capability=sm_35
make -j14
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment