Error in Compiling and Make with Abinit-9.0.4

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
sathyasheela
Posts: 3
Joined: Thu Feb 09, 2012 9:59 pm

Error in Compiling and Make with Abinit-9.0.4

Post by sathyasheela » Thu Oct 22, 2020 7:20 am

Hi all,

I tried configuring Abinit-9.0.4. with ./configure , I got the msg

CAUTION : HDF5 is MANDATORY ! |
+------------------------------------------------------------------+
| suggestion : use with_hdf5 in the ac9 file
CAUTION : LibXC is MANDATORY ! |
+------------------------------------------------------------------+
| suggestion : use with_libxc in the ac9 file
cd fallbacks |
| ./build-abinit-fallbacks.sh


so I did..
cd fallbacks; ./build-abinit-fallbacks.sh
and I got the msg

The fallbacks are now ready to use.
You can link these fallbacks with Abinit by copying the following options to your ac9 file.

with_libxc=/home/rvitm/sathya/abinit-9.0.4/fallbacks/install_fb/gnu/9.3/libxc/4.3.4

with_hdf5=/home/rvitm/sathya/abinit-9.0.4/fallbacks/install_fb/gnu/9.3/hdf5/1.10.6

with_netcdf=/home/rvitm/sathya/abinit-9.0.4/fallbacks/install_fb/gnu/9.3/netcdf4/4.6.3

with_netcdf_fortran=/home/rvitm/sathya/abinit-9.0.4/fallbacks/install_fb/gnu/9.3/netcdf4_fortran/4.5.2

with_linalg=/home/rvitm/sathya/abinit-9.0.4/fallbacks/install_fb/gnu/9.3/linalg/abinit_6.10

so I copy pasted it in a 1.ac9 file and gave the command

./configure --with-config-file="1.ac9"

I got no error and got these final remarks :

* C compiler : gnu version 9.3
* Fortran compiler : gnu version 9.3
* architecture : intel core_i3 (64 bits)
* debugging : basic
* optimizations : standard

* OpenMP enabled : no (collapse: ignored)
* MPI enabled : no (flavor: none)
* MPI in-place : no
* MPI-IO enabled : no
* GPU enabled : no (flavor: none)

* LibXML2 enabled : no
* HDF5 enabled : yes (MPI support: no)
* NetCDF enabled : yes (MPI support: unknown)
* NetCDF-F enabled : yes (MPI support: unknown)

* FFT flavor : goedecker (libs: auto-detected)
* LINALG flavor : netlib (libs: user-defined)

* Build workflow : monolith

0 deprecated options have been used:.

Configuration complete.
You may now type "make" to build Abinit.
(or "make -j<n>", where <n> is the number of available processors)


so I gave the command make, and got the error.

make[5]: *** No rule to make target 'm_optim_dumper.F90', needed by 'm_optim_dumper.o'. Stop.
make[5]: Leaving directory '/home/rvitm/sathya/abinit-9.0.4/shared/common/src/14_hidewrite'
make[4]: *** [Makefile:1172: all-recursive] Error 1
make[4]: Leaving directory '/home/rvitm/sathya/abinit-9.0.4/shared/common/src'
make[3]: *** [Makefile:1145: all-recursive] Error 1
make[3]: Leaving directory '/home/rvitm/sathya/abinit-9.0.4/shared/common'
make[2]: *** [Makefile:1146: all-recursive] Error 1
make[2]: Leaving directory '/home/rvitm/sathya/abinit-9.0.4/shared'
make[1]: *** [Makefile:1449: all-recursive] Error 1
make[1]: Leaving directory '/home/rvitm/sathya/abinit-9.0.4'
make: *** [Makefile:1373: all] Error 2


Please do let me know what I am doing wrong. Thank you for any help.

User avatar
jbeuken
Posts: 365
Joined: Tue Aug 18, 2009 9:24 pm
Contact:

Re: Error in Compiling and Make with Abinit-9.0.4

Post by jbeuken » Thu Oct 22, 2020 11:21 pm

------
Jean-Michel Beuken
Computer Scientist

sathyasheela
Posts: 3
Joined: Thu Feb 09, 2012 9:59 pm

Re: Error in Compiling and Make with Abinit-9.0.4

Post by sathyasheela » Wed Oct 28, 2020 11:37 am

thank you. I tried but unable to do in Fedora 20.04. Using abinit-8.10 in Fedora 16

Locked