error when compiling yambo-4.0.0-rev.78
Posted: Sat May 09, 2015 5:05 am
Dear all,
When I try to compile yambo 4.0.0-rev.78, I comed across the error like this follow:
If I used extarnal netCDF-4.3.3.1 & netCDF-fortran-4.4.2, the above error will occure. Configure command as
But if I use internal netCDF, I can successfully make yambo.
I can't figure out what's going wrong!
Here is my enviroment:
OS: ubuntu 14.04, 64-bit
Compiler: intel composer_xe_2013.2.146 (both yambo and netCDF are compiled using this compiler)
p.s. anthor question: I have installed HDF5, and add lib_path when I configure, but after configuring, turns out yambo don't find HDF5, I don't know why this happens.
Thanks in adance!
When I try to compile yambo 4.0.0-rev.78, I comed across the error like this follow:
/home/kjzhang/code/yambo-4.0.0-rev.78/lib/libnetcdf.a(libnetcdf4_la-nc4attr.o): in function ‘NC4_rename_att’:
/home/kjzhang/code/Yambo/netcdf-4.3.3.1/libsrc4/nc4attr.c:703:undefined reference to ‘H5Adelete’
/home/kjzhang/code/Yambo/netcdf-4.3.3.1/libsrc4/nc4attr.c:696:undefined reference to ‘H5Adelete’
/home/kjzhang/code/yambo-4.0.0-rev.78/lib/libnetcdf.a(libnetcdf4_la-nc4attr.o):in function ‘NC4_del_att’:
/home/kjzhang/code/Yambo/netcdf-4.3.3.1/libsrc4/nc4attr.c:808:undefined reference to ‘H5Adelete’
/home/kjzhang/code/yambo-4.0.0-rev.78/lib/libnetcdf.a(libnetcdf4_la-nc4dim.o):in function ‘NC4_rename_dim’:
/home/kjzhang/code/Yambo/netcdf-4.3.3.1/libsrc4/nc4dim.c:322:undefined reference to ‘H5Dclose’
/home/kjzhang/code/Yambo/netcdf-4.3.3.1/libsrc4/nc4dim.c:327:undefined reference to ‘H5Gunlink’
make[1]: *** [yambo] error 1
make[1]:Leaving directory `/home/kjzhang/code/yambo-4.0.0-rev.78/driver'
make: *** [yambo] error 2
If I used extarnal netCDF-4.3.3.1 & netCDF-fortran-4.4.2, the above error will occure. Configure command as
Code: Select all
export FC=ifort
export CC=icc
export F77=ifort
export F90=ifort
export CXX=icpc
export CPP="icc -E"
export PFC=mpif90
export LDFLAGS=-nofor_main
./configure \
--with-blas-libs="-L/opt/intel/composer_xe_2013.2.146/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" \
--with-lapack-libs="-L/opt/intel/composer_xe_2013.2.146/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" \
--with-iotk-path=/home/kjzhang/work/espresso-5.0.2/iotk \
--with-libxc-path=/home/kjzhang/code/Yambo/libxc-2.2.2 \
--with-fft-path=/home/kjzhang/code/FFTW-code/fftw-3.3.4 \
--with-p2y-version=4.0 \
--with-netcdf-libs="-L/home/kjzhang/code/local/lib -lnetcdf" \
--with-netcdf-path=/home/kjzhang/code/local \
--with-netcdf-libdir=/home/kjzhang/code/local/lib \
--with-netcdf-includedir=/home/kjzhang/code/local/include \
--with-hdf5-libs="-L/home/kjzhang/code/local/lib -lhdf5_hl -lhdf5 -lz -lsz" \
--with-hdf5-path=/home/kjzhang/code/local \
--with-hdf5-libdir=/home/kjzhang/code/local/lib \
--with-hdf5-includedir=/home/kjzhangcode/local/include
I can't figure out what's going wrong!
Here is my enviroment:
OS: ubuntu 14.04, 64-bit
Compiler: intel composer_xe_2013.2.146 (both yambo and netCDF are compiled using this compiler)
p.s. anthor question: I have installed HDF5, and add lib_path when I configure, but after configuring, turns out yambo don't find HDF5, I don't know why this happens.
Thanks in adance!