Hello!
I've been trying to compile yambo 5.0.0 on a cluster where I don't have access to neither git or wget downloads. So when I'm doing ./configure [options], it starts download the libraries 0.0.1.tar.gz and it stays frozen there because there's no way to download it. I've manually downloaded the tar file and scp inside the cluster but I'm not really sure where to put it and if I should change some files to skip the download part. I've tried some combinations but no success.
Can you please guide me where to put the 0.0.1.tar.gz and which file should I change?
Thank you very much!
Regards,
Bypass the 0.0.1.tar.gz git download
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
-
- Posts: 72
- Joined: Tue Dec 08, 2020 11:16 am
Bypass the 0.0.1.tar.gz git download
MSc. Bruno Cucco
PhD Candidate
CNRS Institut des Sciences Chimiques de Rennes, France
Université de Rennes 1
https://iscr.univ-rennes1.fr
PhD Candidate
CNRS Institut des Sciences Chimiques de Rennes, France
Université de Rennes 1
https://iscr.univ-rennes1.fr
-
- Posts: 214
- Joined: Fri Jan 31, 2014 11:13 am
Re: Bypass the 0.0.1.tar.gz git download
Hi Bruno,
In order to workaround the problem with wget you have two options:
* download manually the tar balls and place then in yambo/lib/archive (then issue make from the yambo home as usual)
* Try to use as many libraries from the system as possible (providing the path vi configure), and resort to the option above for those not available
take care
Andrea
In order to workaround the problem with wget you have two options:
* download manually the tar balls and place then in yambo/lib/archive (then issue make from the yambo home as usual)
* Try to use as many libraries from the system as possible (providing the path vi configure), and resort to the option above for those not available
take care
Andrea
Andrea Ferretti, PhD
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it
-
- Posts: 72
- Joined: Tue Dec 08, 2020 11:16 am
Re: Bypass the 0.0.1.tar.gz git download
Hello Andrea,
Thank you for the quick reply. I've actually already downloaded all of them and put in on the yambo/lib/archive, and it solves half of the problem. This 0.0.1.tar.gz seems to be download to the yambo/lib/yambo folder, I did tried to just put the tar there and also at the archive folder but it does not work for this specific one.
Regards,
Thank you for the quick reply. I've actually already downloaded all of them and put in on the yambo/lib/archive, and it solves half of the problem. This 0.0.1.tar.gz seems to be download to the yambo/lib/yambo folder, I did tried to just put the tar there and also at the archive folder but it does not work for this specific one.
Regards,
MSc. Bruno Cucco
PhD Candidate
CNRS Institut des Sciences Chimiques de Rennes, France
Université de Rennes 1
https://iscr.univ-rennes1.fr
PhD Candidate
CNRS Institut des Sciences Chimiques de Rennes, France
Université de Rennes 1
https://iscr.univ-rennes1.fr
-
- Posts: 214
- Joined: Fri Jan 31, 2014 11:13 am
Re: Bypass the 0.0.1.tar.gz git download
ok, now I better understand the problem.
The procedure involving the 0.0.1 tarball is rather new and needs to be properly fixed for the case without access to the network.
Here is a possible manual workaround. A better solution will be provided on the git repo in the next hours.
workaround:
(1) place a copy of 0.0.1.tar.gz in ~yambo/lib/yambo
(2) fix a small bug in configure to avoid re-downloading the tarball when already present
(3) open the tarball and replace the ~yambo/lib/yambo/driver folder with the driver folder from the tarball
Concerning (2):
This is the change to apply to configure:
Alternatively, you can edit yambo/config/m4/yambo_libraries.m4, according to:
and regenerate configure issuing
The procedure involving the 0.0.1 tarball is rather new and needs to be properly fixed for the case without access to the network.
Here is a possible manual workaround. A better solution will be provided on the git repo in the next hours.
workaround:
(1) place a copy of 0.0.1.tar.gz in ~yambo/lib/yambo
(2) fix a small bug in configure to avoid re-downloading the tarball when already present
(3) open the tarball and replace the ~yambo/lib/yambo/driver folder with the driver folder from the tarball
Concerning (2):
This is the change to apply to configure:
Code: Select all
diff --git a/configure b/configure
index 888114361..e83c85315 100755
--- a/configure
+++ b/configure
@@ -9723,7 +9723,7 @@ else
#
# gpl procedure
#
- if ! test -d "yambo/driver/src"; then
+ if ! test -d "./lib/yambo/driver/src"; then
cd lib/yambo/
VERSION="0.0.1"
TARBALL="${VERSION}.tar.gz"
Code: Select all
diff --git a/config/m4/yambo_libraries.m4 b/config/m4/yambo_libraries.m4
index b11c3e86c..ea4b2c09f 100644
--- a/config/m4/yambo_libraries.m4
+++ b/config/m4/yambo_libraries.m4
@@ -47,7 +47,7 @@ else
#
# gpl procedure
#
- if ! test -d "yambo/driver/src"; then
+ if ! test -d "./lib/yambo/driver/src"; then
cd lib/yambo/
VERSION="0.0.1"
TARBALL="${VERSION}.tar.gz"
Code: Select all
cd ~yambo
autoconf configure.ac > configure
Andrea Ferretti, PhD
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it
-
- Posts: 72
- Joined: Tue Dec 08, 2020 11:16 am
Re: Bypass the 0.0.1.tar.gz git download
Hello!
Thank you very much Andrea. The suggested solution did work.
Regards,
Bruno.
Thank you very much Andrea. The suggested solution did work.
Regards,
Bruno.
MSc. Bruno Cucco
PhD Candidate
CNRS Institut des Sciences Chimiques de Rennes, France
Université de Rennes 1
https://iscr.univ-rennes1.fr
PhD Candidate
CNRS Institut des Sciences Chimiques de Rennes, France
Université de Rennes 1
https://iscr.univ-rennes1.fr