Page 2 of 2
Re: Compilation error of 5.2.x related to libxc
Posted: Wed May 15, 2024 9:26 am
by Daniele Varsano
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
Re: Compilation error of 5.2.x related to libxc
Posted: Tue Jun 04, 2024 2:40 pm
by Harshita
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
Re: Compilation error of 5.2.x related to libxc
Posted: Wed Jun 05, 2024 10:30 am
by Daniele Varsano
Dear Harshita,
can you attach your config.log and log/compile_yambo.log files?
Best,
Daniele
Re: Compilation error of 5.2.x related to libxc
Posted: Fri Jun 07, 2024 6:45 am
by Harshita
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
Re: Compilation error of 5.2.x related to libxc
Posted: Fri Jun 07, 2024 9:37 am
by Daniele Varsano
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
Re: Compilation error of 5.2.x related to libxc
Posted: Sat Jun 08, 2024 4:50 pm
by Harshita
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
Re: Compilation error of 5.2.x related to libxc
Posted: Wed Jun 12, 2024 10:57 pm
by Daniele Varsano
Dear Harshita,
ca you do the following?
Code: Select all
make distclean
./configure
make yambo
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