I'm having problems with the configuration step that I cannot work out. Here is my .ac file:
Code: Select all
prefix="/usr/local"
with_trio_flavor="netcdf"
with_netcdf_incs="-I/usr/lib/netcdf/include"
with_netcdf_libs="-L/usr/lib/netcdf/lib -lnetcdff -lnetcdf"
with_fft_flavor="fftw3"
with_fft_incs="-I/usr/include"
with_fft_libs="-L/usr/lib/x86-64-linux-gnu -lfftw3 -lfftw3f"
with_linalg_flavor="atlas"
with_linalg_inc="-I/usr/include"
with_linalg_libs="-L/usr/lib/x86_64-linux-gnu -llapack -lf77blas -lcblas -latlas"
with_dft_flavor="atompaw+bigdft+libxc+wannier90"
with_atompaw_bins="/usr/local/bin"
with_atompaw_incs="-I/usr/local/include"
with_atompaw_libs="-L/usr/local/lib"
with_bigdft_incs="-I/usr/local/include"
with_bigdft_libs="-L/usr/local/lib -lbigdft -lPSolver-1 -labinit"
with_libxc_incs="-I/usr/lib/libxc/include"
with_libxc_libs="-L/usr/lib/libxc/lib -lxc"
with_wannier90_bins="-L/usr/local/bin"
with_wannier90_libs="-L/usr/local/lib -lwannier"
I am a newbie to compiling and installing large packages in Linux. I've checked and all the libraries, binaries, and includes seem to be in the right place. However, when I run configure, it stops at
Code: Select all
checking whether NetCDF Fortran wrappers work... no
with the error
Code: Select all
configure: error: external netcdf support does not work
If I set with_trio_flavor="none", the configuration then will proceed until it hits the libxc step, then stops at
Code: Select all
checking whether LibXC has Fortran support... no
with the error message
Code: Select all
configure: WARNING: package: libxc - preq= - working=no - incs=-I/usr/lib/libxc/include libs=-L/usr/lib/libxc/lib -lxc
configure: error: external libxc support does not work
I suspect that somehow the process is not finding the libraries properly, and I don't know why.
I am using Lubuntu 18.10 on an x86 64-bit laptop.
Thanks!
JIM