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: *** 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:
LINALG_LIBS="-L/usr/lib/ -llapack -lblas"
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"
NETCDF_FORTRAN_LIBS="-L/usr/lib -lnetcdff -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -lnetcdf -lnetcdf"