Page 1 of 1

Trouble Building on Ubuntu 20.04

Posted: Thu Oct 08, 2020 7:53 pm
by drcosquared
Hello,

I'm trying to build Abinit 9.2.1 with the Intel MKL on Ubuntu 20.04 using the mpi GNU compliers v9.3. The configuration script seems to complete with no errors, but compiling fails. I've tried being more explicit with linking libraries and even trying Openblas, but it seems like the same file fails to compile. The point where make fails is here:

Code: Select all

make[5]: *** No rule to make target 'm_optim_dumper.F90', needed by 'm_optim_dumper.o'.  Stop.
make[5]: *** Waiting for unfinished jobs....
../../../../../shared/common/src/14_hidewrite/m_io_tools.F90:1129:0:

 1129 |    iomsg = trim(msg)//ch10//"Runtime error message: "//trim(iomsg)
      | 
Warning: ‘__builtin_memset’ specified bound between 9223372036854775808 and 18446744073709551592 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
For reference here is my configuration file.

Code: Select all

prefix="${HOME}/abinit"
with_mpi="yes"
with_mpi_flavor="auto"
enable_mpi_io="yes"
with_linalg_flavor="mkl"
LINALG_CPPFLAGS="-I${MKLROOT}/include"
LINALG_LIBS="-L${MKLROOT}/lib/intel64 -Wl,--start-group  -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread -lm -ldl"
with_fft_flavor="fftw3"
FFTW3_LIBS="-L/usr/lib/x86_64-linux-gnu -lfftw3 -lfftw3f"
with_libxc="/usr/"
LIBXC_FCFLAGS="-I/usr/include"
LIBXC_LIBS="-L/usr/lib -lxcf90 -lxc"
with_hdf5="/usr"
H5CC="/usr/bin/h5pcc"
with_netcdf="yes"
with_netcdf_fortran="yes"
Any help would be greatly appreciated!

Re: Trouble Building on Ubuntu 20.04  [SOLVED]

Posted: Tue Oct 13, 2020 3:41 pm
by ebousquet
Dear ,
Could your problem the same as this one that has been solved:
viewtopic.php?f=3&t=4482?
There was a similar question before, please check if it is not in some previous posts.
Best wishes,
Eric