Wrapper not found when trying to build
I'm trying to build libvdwxc properly with MPI.
I do the following:
git clone https://gitlab.com/libvdwxc/libvdwxc.git
Cloning into 'libvdwxc'
$ cd libvdwxc/
$ autoreconf --install
$ mkdir build_icc
$ cd build_icc/
$ ../configure --prefix="$HOME/programs/libvdwxc_compiled" CC="icc" FC="ifort" CFLAGS="-O3 -march=native" FCFLAGS="-g -O2" --with-mpi=/share/sw/free/openmpi/1.10.2/intel/2016
But then I get:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for grep that handles long lines and -e... /bin/grep
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for a sed that does not truncate output... /bin/sed
checking how MPI parameters have been set... dir
checking for an executable MPI C compiler... /share/sw/free/openmpi/1.10.2/intel/2016/bin/mpicc
configure: wrapping serial and MPI compilers into wrap-mpicc
checking for an executable MPI Fortran compiler... /share/sw/free/openmpi/1.10.2/intel/2016/bin/mpif90
configure: wrapping serial and MPI compilers into wrap-mpifc
checking for gcc... /config/wrappers/wrap-mpicc
checking for C compiler default output file name...
configure: error: in `/home/rasmusk/programs/libvdwxc/build_icc':
configure: error: C compiler cannot create executables
See `config.log' for more details.
The problem is of course that /config/wrappers/wrap-mpicc
is the wrong path, it's actually in ./config/wrappers/wrap-mpicc
.
This is probably very simple to solve, but I'm not sure how to.