libtool: error

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? Problems in GPU architectures? This is the place to look.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani

Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
Post Reply
User avatar
hammouri
Posts: 34
Joined: Fri Feb 09, 2018 11:25 pm

libtool: error

Post by hammouri » Mon Mar 21, 2022 10:26 pm

Hi all,
Does anyone know what this error mean:
libtool: error: ignoring unknown tag F77
libtool: compile: mpifort -O3 -c libxc_funcs.f90 -o libxcf90_la-libxc_funcs.o
/lib/cpp -ansi ./libxc_master.F90 > ../src/libxc.f90
/bin/sh ../libtool --tag=FC --tag=F77 --mode=compile mpifort -O3 -c -o libxcf90_la-libxc.lo `test -f 'libxc.f90' || echo './'`libxc.f90

Thank you in advance!
Hammouri, M.
Assistant Professor of Physics
University of Wisconsin
USA

User avatar
Daniele Varsano
Posts: 3773
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: libtool: error

Post by Daniele Varsano » Tue Mar 22, 2022 8:41 am

Dear Hamouri,

please sign your post with your name and affiliation. This is a rule of the forum! You can do it once for all by filling your signature in the user profile.
Can you explain more explicitly what problem are you facing? In general, for compilation issues, it is useful to post the entire config.log file (if not allowed you need to rename it with an allowed suffix e.g. .txt).

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

User avatar
hammouri
Posts: 34
Joined: Fri Feb 09, 2018 11:25 pm

Re: libtool: error

Post by hammouri » Wed Mar 23, 2022 3:26 am

Hi Daniele,
I had to stop it and rerun it again but the make thing is extremely slow, do you know what's going on? Let me know if you need me to post any file but here is a screenshot of what' going on.

>>>[Making hdf5]<<<
make[2]: Entering directory `/mnt/cephfs/fuse/software/hammouri/yambo-5.0.4/lib/hdf5'
if test -d hdf5-1.12.0 ; then \
( cd hdf5-1.12.0; make ) ; fi
make[3]: Entering directory `/mnt/cephfs/fuse/software/hammouri/yambo-5.0.4/lib/hdf5/hdf5-1.12.0'
Making all in src
make[4]: Entering directory `/mnt/cephfs/fuse/software/hammouri/yambo-5.0.4/lib/hdf5/hdf5-1.12.0/src'
make all-am
make[5]: Entering directory `/mnt/cephfs/fuse/software/hammouri/yambo-5.0.4/lib/hdf5/hdf5-1.12.0/src'
make[5]: Leaving directory `/mnt/cephfs/fuse/software/hammouri/yambo-5.0.4/lib/hdf5/hdf5-1.12.0/src'
make[4]: Leaving directory `/mnt/cephfs/fuse/software/hammouri/yambo-5.0.4/lib/hdf5/hdf5-1.12.0/src'
Making all in test
make[4]: Entering directory `/mnt/cephfs/fuse/software/hammouri/yambo-5.0.4/lib/hdf5/hdf5-1.12.0/test'
CC set_extent.o
set_extent.c: In function ‘test_random_rank4’:
set_extent.c:2274:17: warning: size of ‘rbuf’ is 40000 bytes [-Wlarger-than=]
static int rbuf[10][10][10][10]; /* Read buffer */
^~~~
set_extent.c:2275:17: warning: size of ‘wbuf’ is 40000 bytes [-Wlarger-than=]
static int wbuf[10][10][10][10]; /* Write buffer */
^~~~
set_extent.c:2276:20: warning: size of ‘dim_log’ is 3232 bytes [-Wlarger-than=]
static hsize_t dim_log[RAND4_NITER+1][4]; /* Log of dataset dimensions */
^~~~~~~
set_extent.c: In function ‘test_random_rank4_vl’:
set_extent.c:2477:18: warning: size of ‘rbuf’ is 160000 bytes [-Wlarger-than=]
static hvl_t rbuf[10][10][10][10]; /* Read buffer */
^~~~
set_extent.c:2478:18: warning: size of ‘wbuf’ is 160000 bytes [-Wlarger-than=]
static hvl_t wbuf[10][10][10][10]; /* Write buffer */
^~~~
set_extent.c:2479:20: warning: size of ‘dim_log’ is 3232 bytes [-Wlarger-than=]
static hsize_t dim_log[RAND4_NITER+1][4]; /* Log of dataset dimensions */
^~~~~~~
CCLD set_extent
CC enc_dec_plist.o
CCLD enc_dec_plist

CC getname.o
CCLD getname
CC ros3.o
CCLD ros3

---------------------------------------------------------------
Hammouri, M.
Assistant Professor of Physics
University of Wisconsin
USA
Hammouri, M.
Assistant Professor of Physics
University of Wisconsin
USA

User avatar
Daniele Varsano
Posts: 3773
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: libtool: error

Post by Daniele Varsano » Wed Mar 23, 2022 9:26 am

Dear Hammouri,

I can't see any error in what you posted.
Can you please clarify which is the problem you are facing? In the first post it seems you had problem in compiling livxc libraries, now you poster a piece of the log of the compilation of the hdf5 library.

You have problem in finishing the compilation of the code? If so, please post the last error where the compilation stop and include the config.log file.

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

User avatar
hammouri
Posts: 34
Joined: Fri Feb 09, 2018 11:25 pm

Re: libtool: error

Post by hammouri » Wed Mar 23, 2022 12:30 pm

The first problem was when I used: make core
the new problem or the one I showed up is when I used: make Yambo.
Now this the error:

f951: Warning: Nonexistent include directory ‘/software/hammouri/yambo-5.0.4/lib/external/gfortran/mpifort/v4/serial/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/software/hammouri/yambo-5.0.4/lib/external/gfortran/mpifort/v4/serial/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/software/hammouri/yambo-5.0.4/lib/external/gfortran/mpifort/v4/serial/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/software/hammouri/yambo-5.0.4/lib/external/gfortran/mpifort/v4/serial/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/software/hammouri/yambo-5.0.4/lib/external/gfortran/mpifort/v4/serial/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/software/hammouri/yambo-5.0.4/lib/external/gfortran/mpifort/v4/serial/include’ [-Wmissing-include-dirs]
mod_pars.f90:28:5:

use netcdf
1
Fatal Error: Can't open module file ‘netcdf.mod’ for reading at (1): No such file or directory
compilation terminated.
make[1]: *** [mod_pars.o] Error 1


---------------------------------------------------------------
Hammouri, M.
Assistant Professor of Physics
University of Wisconsin
USA
Hammouri, M.
Assistant Professor of Physics
University of Wisconsin
USA

User avatar
Daniele Varsano
Posts: 3773
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: libtool: error

Post by Daniele Varsano » Thu Mar 24, 2022 8:30 am

Dear Hammouri,

try to make a "make distclean" and recompile the code.

As stated before, without looking at the config.log file it is hard to spot the problem you are facing and suggestions are just guessed.
Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

User avatar
hammouri
Posts: 34
Joined: Fri Feb 09, 2018 11:25 pm

Re: libtool: error

Post by hammouri » Thu Mar 24, 2022 3:20 pm

I was trying to build yambo out of Quantum Espresso but after failing I did it the other way (downloaded yambo package and did the config and make core). It seems I got the executables: a2y c2y p2y yambo ypp which sounds what it should be.
But it took almost 2 days for the compilation to finish, this looks strange to me.

Best,

---------------------------------------------------------------
Hammouri, M.
Assistant Professor of Physics
University of Wisconsin
USA
Hammouri, M.
Assistant Professor of Physics
University of Wisconsin
USA

User avatar
Daniele Varsano
Posts: 3773
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: libtool: error

Post by Daniele Varsano » Fri Mar 25, 2022 11:06 am

Dear Hammouri,
It seems I got the executables: a2y c2y p2y yambo ypp which sounds what it should be.
correct
But it took almost 2 days for the compilation to finish, this looks strange to me.
This is indeed very strange, but most probably related to the machine you are installing the code.

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

Post Reply