Ubuntu 20.04 make process failed

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
letscompute
Posts: 1
Joined: Wed Mar 24, 2021 11:54 am

Ubuntu 20.04 make process failed

Post by letscompute » Wed Mar 24, 2021 1:07 pm

Greetings!
I am trying to compile Abinit on Ubuntu 20.04 with the standard config.
However, when I try to make the config file it halts and gives me an error:

make[5]: *** No rule to make target 'm_optim_dumper.F90', needed by 'm_optim_dumper.o'. Stop.

I have read that this can be solved by creating a Python link by executing:
"ln -s python3 python" in the bin directory.

I have followed the installation instructions written by J. Van Bever (I have attached the document).

Unfortunately, even after the creation of the symbolik link I still get the same error during the make process.
Would anyone have any idea why is this happening?

I have tried to build it with:

enable_avx_safe_mode="yes"
with_mpi="/usr"
enable_mpi_io="yes"
LINALG_LIBS="-L/usr/lib/ -llapack -lblas"
with_libxc="yes"
LIBXC_CPPFLAGS="-I/usr/include"
LIBXC_FCFLAGS="-I/usr/include"
with_hdf5="/usr"
with_netcdf="yes"
NETCDF_CPPFLAGS="-I/usr/include/"
NETCDF_FCFLAGS="-I/usr/include/"
NETCDF_LIBS="-L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu/hdf5/serial -lnetcdf -lhdf5_hl -lhdf5 -lpthread -lsz -lz -ldl -lm -lcurl"
with_netcdf_fortran="/usr/include"
NETCDF_FORTRAN_LIBS="-L/usr/lib -lnetcdff -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -lnetcdf -lnetcdf"

Please help :(

Thank you kindly!
Attachments
config.log
(176.34 KiB) Downloaded 301 times
README-Ubuntu.pdf
(94.28 KiB) Downloaded 299 times

User avatar
admin
Site Admin
Posts: 33
Joined: Thu Sep 17, 2009 9:49 am

Re: Ubuntu 20.04 make process failed

Post by admin » Fri Apr 02, 2021 4:42 pm

Hi,

everything looks good in the config.log...
can you send the output files of these two cmds :

Code: Select all

../configure --with-config-file=config_file.ac9 >&  output.log
make >& make.log  

Locked