Installing Yambo without internet access on HPC clusters.

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
Mukesh
Posts: 1
Joined: Sat Apr 02, 2022 2:17 am

Installing Yambo without internet access on HPC clusters.

Post by Mukesh » Sun Apr 03, 2022 4:46 pm

Hello all,
I have installed Yambo on our personal group cluster which has internet access. During the installation, I have noticed that installation required internet. But in our institute cluster there is no internet access (Usually HPC do not provide the internet). So my question is:

Is there any to download all the required file and install Yambo without using internet??

If there is instruction guidelines, please feel free to refer that.


Thanks and regards,
Mukesh Singh
Department of Physics
IIT Bombay, India

User avatar
Nicola Spallanzani
Posts: 64
Joined: Thu Nov 21, 2019 10:15 am

Re: Installing Yambo without internet access on HPC clusters.

Post by Nicola Spallanzani » Sun Apr 03, 2022 5:15 pm

Dear Mukesh,
usually HPC clusters have internet connection at least in the login nodes. So you can perform the operations that need the download there and then move to the compute nodes for the compilation. Otherwise you can download all the required libraries in you PC and then copy everything in the cluster. Here the procedure:

# in the login node or in your PC with internet connection
git clone https://github.com/yambo-code/yambo.git
cd yambo
git clone https://github.com/yambo-code/yambo-libraries.git lib/yambo
./configure
make download # this command download all the libs in the directory lib/archive
cd ..
tar zxvf yambo_with_libs.tgz yambo

Now you can copy the file yambo_with_libs.tgz on the cluster and use it for the compilation.

Best regards,
Nicola
Nicola Spallanzani, PhD
S3 Centre, Istituto Nanoscienze CNR and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu

Reza_Reza
Posts: 31
Joined: Wed Jan 17, 2024 12:13 pm
Location: France

Re: Installing Yambo without internet access on HPC clusters.

Post by Reza_Reza » Tue May 07, 2024 11:55 am

Dear Nicola,

I used this strategy to install Yambo on the IRENE machine (TGCC Joliot Curie), and it worked well. However, the webpage (https://www.yambo-code.eu/wiki/index.ph ... iot_Curie)) needs to be modified because, when using 'make yambo,' it encounters an error:

\t[iotk-y1.2.2] configuration
\t[iotk-y1.2.2] loclib_only compilation
\t[iotk-y1.2.2] iotk.x compilation
\t[iotk-y1.2.2] installation

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.

I think instead of "make yambo", it must use "make download" and then transfer the file to the IRENE machine.

Best,

Reza
Reza - Postdoc
CNRS

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

Re: Installing Yambo without internet access on HPC clusters.

Post by Daniele Varsano » Thu May 09, 2024 11:22 am

Dear Reza,
thanks for posting, we will have a look at it.

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