Ubuntu 20.04 make process failed
Posted: 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!
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!