Compilation error of 5.2.x related to libxc
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
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
- Daniele Varsano
- Posts: 4066
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Compilation error of 5.2.x related to libxc
Dear Max,
it seems a problem of the environment and not of the library itself.
Here you can find a possibile issue and how to solve it:
https://bbs.archlinux.org/viewtopic.php?id=231336
but the reason can be different, maybe a search of the error message in linux forums can help in spotting the problem.
Best,
Daniele
it seems a problem of the environment and not of the library itself.
Here you can find a possibile issue and how to solve it:
https://bbs.archlinux.org/viewtopic.php?id=231336
but the reason can be different, maybe a search of the error message in linux forums can help in spotting the problem.
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/
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/
-
- Posts: 11
- Joined: Thu May 25, 2023 12:02 pm
Re: Compilation error of 5.2.x related to libxc
Dear Team,
I am having an installation error at \t[driver] step of make all. Below is the error:
\t[driver] yambo (setup)
find: Arguments to -type should contain only one letter
\t[driver] yambo (link)
yambo linking failed. Check log/compile_yambo.log
make[1]: *** [yambo] Error 1
yambo build failed
Please guide me through this.
Any help would be highly appreciated.
Thanks and regards,
Harshita
I am having an installation error at \t[driver] step of make all. Below is the error:
\t[driver] yambo (setup)
find: Arguments to -type should contain only one letter
\t[driver] yambo (link)
yambo linking failed. Check log/compile_yambo.log
make[1]: *** [yambo] Error 1
yambo build failed
Please guide me through this.
Any help would be highly appreciated.
Thanks and regards,
Harshita
Harshita, Research Scholar, INST
- Daniele Varsano
- Posts: 4066
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Compilation error of 5.2.x related to libxc
Dear Harshita,
can you attach your config.log and log/compile_yambo.log files?
Best,
Daniele
can you attach your config.log and log/compile_yambo.log files?
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/
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/
-
- Posts: 11
- Joined: Thu May 25, 2023 12:02 pm
Re: Compilation error of 5.2.x related to libxc
Dear Daniele,
Thank you for your response.
Please find the config.log file attached herewith.
Also, in the log folder, there is no file called 'compile_yambo.log' rather 4 files of the following names are present:
compile_iotk-y1.2.2.log config_iotk-y1.2.2.log download_libxc-5.2.3.log install_libxc-5.2.3.log
Thanks and regards,
Harshita
Thank you for your response.
Please find the config.log file attached herewith.
Also, in the log folder, there is no file called 'compile_yambo.log' rather 4 files of the following names are present:
compile_iotk-y1.2.2.log config_iotk-y1.2.2.log download_libxc-5.2.3.log install_libxc-5.2.3.log
Thanks and regards,
Harshita
You do not have the required permissions to view the files attached to this post.
Harshita, Research Scholar, INST
- Daniele Varsano
- Posts: 4066
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Compilation error of 5.2.x related to libxc
Dear Harshita,
from the config.log it seems there are problem in the libxc library you linked.
You can try to remove the --with-libxc-path=/storage/software/libxc from your configure procedure. I suggest you to do a make distclean and then reconfigure avoiding the option.
Best,
Daniele
from the config.log it seems there are problem in the libxc library you linked.
You can try to remove the --with-libxc-path=/storage/software/libxc from your configure procedure. I suggest you to do a make distclean and then reconfigure avoiding the option.
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/
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/
-
- Posts: 11
- Joined: Thu May 25, 2023 12:02 pm
Re: Compilation error of 5.2.x related to libxc
Dear Daniele,
Thank you for the reply. After removing libxc from config/setup.in, this is the error I am receiving:
\t[libxc-5.2.3] download
gzip: stdin: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
gtar: This does not look like a tar archive
gtar: Exiting with failure status due to previous errors
WARNING: I can't seem to be able to run `tar' with the given arguments.
You may want to install GNU tar or Free paxutils, or check the
command line arguments.
\t[libxc-5.2.3] installation
/bin/sh: line 0: cd: libxc-5.2.3: No such file or directory
To remove libxc path, I have commented the following in config/setup.in file:
#llibxc = @LIBXC_LIBS@
#ilibxc = @LIBXC_INCS@
Thanks and Regards,
Harshita
Thank you for the reply. After removing libxc from config/setup.in, this is the error I am receiving:
\t[libxc-5.2.3] download
gzip: stdin: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
gtar: This does not look like a tar archive
gtar: Exiting with failure status due to previous errors
WARNING: I can't seem to be able to run `tar' with the given arguments.
You may want to install GNU tar or Free paxutils, or check the
command line arguments.
\t[libxc-5.2.3] installation
/bin/sh: line 0: cd: libxc-5.2.3: No such file or directory
To remove libxc path, I have commented the following in config/setup.in file:
#llibxc = @LIBXC_LIBS@
#ilibxc = @LIBXC_INCS@
Thanks and Regards,
Harshita
Harshita, Research Scholar, INST
- Daniele Varsano
- Posts: 4066
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Compilation error of 5.2.x related to libxc
Dear Harshita,
ca you do the following?
you will have an error as your first message and you should find a file named compile_yambo.log in the "log" directory.
If you post it we can have a look to understand what is going wrong.
Best,
Daniele
ca you do the following?
Code: Select all
make distclean
./configure
make yambo
If you post it we can have a look to understand what is going wrong.
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/
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/