Page 1 of 1

libtool: error

Posted: Mon Mar 21, 2022 10:26 pm
by hammouri
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!

Re: libtool: error

Posted: Tue Mar 22, 2022 8:41 am
by Daniele Varsano
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

Re: libtool: error

Posted: Wed Mar 23, 2022 3:26 am
by hammouri
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

Re: libtool: error

Posted: Wed Mar 23, 2022 9:26 am
by Daniele Varsano
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

Re: libtool: error

Posted: Wed Mar 23, 2022 12:30 pm
by hammouri
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

Re: libtool: error

Posted: Thu Mar 24, 2022 8:30 am
by Daniele Varsano
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

Re: libtool: error

Posted: Thu Mar 24, 2022 3:20 pm
by hammouri
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

Re: libtool: error

Posted: Fri Mar 25, 2022 11:06 am
by Daniele Varsano
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