Skip to content

Commit

Permalink
Specify path to FFTW explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrack committed Dec 3, 2019
1 parent 268c0ac commit 520bbb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/toolchain/scripts/install_libvdwxc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ case "$with_libvdwxc" in
require_env MPI_CFLAGS
require_env MPI_LDFLAGS
require_env MPI_LIBS
require_env FFTW_ROOT
require_env FFTW_LDFLAGS
require_env FFTW_LIBS
require_env FFTW_CFLAGS
Expand Down Expand Up @@ -67,15 +68,15 @@ case "$with_libvdwxc" in
./configure \
--prefix="${pkg_install_dir}" \
--libdir="${pkg_install_dir}/lib" \
--with-fftw3 \
--with-fftw3=${FFTW_ROOT} \
--disable-shared \
--without-mpi \
>> configure.log 2>&1
else
CC=mpicc FC=mpifort ./configure \
--prefix="${pkg_install_dir}" \
--libdir="${pkg_install_dir}/lib" \
--with-fftw3 \
--with-fftw3=${FFTW_ROOT} \
--disable-shared \
--with-mpi \
>> configure.log 2>&1
Expand Down

0 comments on commit 520bbb3

Please sign in to comment.