compilation error on HPC

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
vitoversace
Posts: 58
Joined: Thu Mar 13, 2014 3:43 pm

Re: compilation error on HPC

Post by vitoversace » Fri Jun 20, 2014 4:59 am

Dear Daniele,

i managed to install yambo on HPC for openmp, but when running a test gw calculation after a while at one specific point the calculation stops with following error :
forrtl: severe (24): end-of-file during read, unit 41, file /home/vito/yambo_openmp/stable/bin/test_abinit/./Real_Axis//db.dipoles
Image PC Routine Line Source
yambo 00000000004084A2 Unknown Unknown Unknown
yambo 00000000004056F6 Unknown Unknown Unknown
libc.so.6 00002AF19D304D1D Unknown Unknown Unknown
yambo 0000000000404999 Unknown Unknown Unknown
Do you see here what the problem is ?

Bests
Vito
Vito Versace
PhD student
University of York
vitoversace@yahoo.com

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

Re: compilation error on HPC

Post by Daniele Varsano » Fri Jun 20, 2014 7:48 am

Dear Vito,
it is hard to say, it looks you have corrupted database files.
The dipole database were built in the same run or in a previous run?
Your compilation is MPI+openmp or just openmp?

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/

vitoversace
Posts: 58
Joined: Thu Mar 13, 2014 3:43 pm

Re: compilation error on HPC

Post by vitoversace » Fri Jun 20, 2014 4:07 pm

Dear Daniele,
The dipole database were built in the same run or in a previous run?
In the same run.
Your compilation is MPI+openmp or just openmp?
Compilation was just openmp. It seems not to work properly with openmp.
Openmp is slow, too.

But any way i managed to install yambo with mpi on HPC and is very fast.
Just can not wait for the new release of yambo with all new features :D

Ciao
Vito
Vito Versace
PhD student
University of York
vitoversace@yahoo.com

haseebphysics1
Posts: 169
Joined: Sat Aug 17, 2019 2:48 pm

Re: compilation error on HPC

Post by haseebphysics1 » Thu Feb 20, 2020 5:44 pm

Dear Developers,

Is there any guide to the compilation and properly making of Yambo on the HPC cluster environment. I have a cluster to which I want to have Yambo. Each node has a FORTRAN compiler. What are the prerequisite to cluster installation? Can someone please highlight the main steps which I need to do.
e.g.
> NFS,
> Same compiler version on each node essential?
> Setup of head-node... etc.
I don't have any system admin and someone just setup the SLURM job management system in the nodes.


Regards,
Haseeb Ahmad
MS - Physics,
LUMS - Pakistan

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

Re: compilation error on HPC

Post by Daniele Varsano » Thu Feb 20, 2020 5:50 pm

Dear Haseeb,
have you tried to compile the code?
You need to have the MPI fortran/C compilers and configure the code. If you do not have libraries already installed yambo will donwload and compile them.
./configure
make yambo
If you have problems post here the error message and your config.log file.

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/

haseebphysics1
Posts: 169
Joined: Sat Aug 17, 2019 2:48 pm

Re: compilation error on HPC

Post by haseebphysics1 » Thu Feb 20, 2020 8:09 pm

Dear Daniele,

I have compiled the code using gcc version 7.2.0 (GCC) on the head node and running the code locally (without sbatch) is working fine, but when I try to run it on the cluster nodes using SLURM it gets an error of Fortran libraries or so...

I am quite sure that all the other nodes will be running the lower version of the GCC compiler! But is this an issue or should this be an issue?

The SLURM output, Yambo input, batch script, and yambo config files are attached.



Thanks,
You do not have the required permissions to view the files attached to this post.
Haseeb Ahmad
MS - Physics,
LUMS - Pakistan

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

Re: compilation error on HPC

Post by Daniele Varsano » Thu Feb 20, 2020 8:19 pm

Dear Haseeb,
it seems you have some conflicts with the linear algebra libraries.
You can try the following:
> make distclean
>./configure --enable-int-linalg
> make yambo


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/

haseebphysics1
Posts: 169
Joined: Sat Aug 17, 2019 2:48 pm

Re: compilation error on HPC

Post by haseebphysics1 » Thu Feb 20, 2020 8:28 pm

Thanks very much for the suggestion,

but then why it is working when I run it locally (not using the slurm)? I have completed the bse spectra while running the same yambo executable.


Thanks,
Haseeb Ahmad
MS - Physics,
LUMS - Pakistan

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

Re: compilation error on HPC

Post by Daniele Varsano » Thu Feb 20, 2020 8:35 pm

Because most probably you are linking different libraries or some of the nodes do not have access to the requested libraries.
I think that you should discuss these issues with the people that set up the cluster, as this is not a problem related to the code.
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