Skip to content

Instantly share code, notes, and snippets.

@link89
Created November 9, 2023 12:12
Show Gist options
  • Save link89/a9619eace041f106e0303478f332559d to your computer and use it in GitHub Desktop.
Save link89/a9619eace041f106e0303478f332559d to your computer and use it in GitHub Desktop.
Build Plumed with oneapi

Note

  1. use mkl's fftw build

Build

wget https://www.cp2k.org/static/downloads/plumed-src-2.8.2.tgz --no-check-certificate
tar -xvf plumed-src-2.8.2.tgz
cd plumed-2.8.2

./configure FC=mpiifort CC=mpiicc CXX=mpiicpc CXXFLAGS="-O3 -mtune=icelake-server" --enable-mpi \
  LDFLAGS="-L$MKLROOT/lib/intel64 -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_lp64 -lpthread -lm" \
  CPPFLAGS="-I$MKLROOT/include"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment