NETCDF error

Deals with issues related to computation of optical spectra in reciprocal space: RPA, TDDFT, local field effects.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan

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

Re: NETCDF error

Post by Daniele Varsano » Sun Oct 02, 2016 7:57 am

Dear Martin,
Is there any remedy to circumvent negative eigenvalues in BS matrix, except switching back to TD approximation ?
What do you mean by circumvent? When diagonalizing full BSE matrix (not TD) resonant part valence-->conduction transitions and antiresonant conduction-> valence are considered and mixed. It is then correct to have positive and negative eigenvalues in the same number. For absorption spectra only positive eigenvalues are meaningful.
Is the truncation of empty bands in Yambo still experimental ?
The truncation of empty bands in the evaluation of the Self Energy in the Bruneval-Gonze (GTermKind= "BG") should be there fully working.
The truncation for the response function is still experimental.

About the diagonalization should be not slower in 4.1, I do not have idea on why this is happening.
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/

martinspenke
Posts: 149
Joined: Tue Apr 08, 2014 6:05 am

Re: NETCDF error

Post by martinspenke » Sun Oct 02, 2016 9:33 am

Dear Daniele,

I fully understand your point, however i obtain some thing like this when running BSE with coupling using for instance Haydock :

Code: Select all

 <06m-14s> P0001: [Haydock] Iteration 6 Accuracy : 5.495872|0.1000E-4
P0001: [ERROR] STOP signal received while in :[09.01] Haydock solver
P0001: [ERROR] Bf=NaN likely because some eigenvalue of BSE is negative.
Maybe maybe this is the reason why diagonalization is so slow. I actually could n't diagonalize a FULL BSE 4000x4000 matrix after 12 hours, which is very strange.
Without coupling i do not have this problem, however i like to study possible coupling effects.
I have to add, i am studying a difficult 2d-system with SOC and with coulomb truncation using box z and rim.

What is the keyword of truncation of empty bands for the response ?

Is the new yambo version (4.1) mainly a bug fix or there are further new features, like vertices or self consistency, etc ?

many thanks and best wishes,
Martin
Martin Spenke, PhD Student
Theoretisch-Physikalisches Institut
Universität Hamburg, Germany

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

Re: NETCDF error

Post by Daniele Varsano » Sun Oct 02, 2016 9:54 am

Dear Martin,

Probably this is a problem of the Haydock algorithm when coupling is included. May be some other can give you details.
A BSE 4k x 4k is not that big, this sound strange, anyway when coupling is considered the matrix is 2 times bigger with respect the resonant only.

The keyword is XTermKind, but if I'm not wrong, this is working in the 4.1 only.
The 4.1 essentially enhance the parallelization and overall performance of 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/

User avatar
Davide Sangalli
Posts: 640
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: NETCDF error

Post by Davide Sangalli » Sun Oct 02, 2016 7:59 pm

Dear Martin

I would guess the reason why the diagonalization is so slow maybe indeed related to the message you get in the Haydock.
Indeed the diagonalization of the BSE matrix is always done with a lapack subroutine, both in 3.4 and in 4.0.
(We have scalapack in 4.1, but it is also experimental.)

Thus the only reason why 4.0 maybe slower is that, for some reason, the matrix is different.
Are you using the same input parameters in between 3.4 and 4.0 ?

Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

martinspenke
Posts: 149
Joined: Tue Apr 08, 2014 6:05 am

Re: NETCDF error

Post by martinspenke » Mon Oct 03, 2016 10:31 am

Dear Davide,

Yes, i used the same parameters for both.

Now i like to try out the version 4.1 but i can not extract the tar ball from the link you gave me.
http://www.yambo-code.org/testing-robot ... 109.tar.gz

I obtain this error :

Code: Select all

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Bests
Martin
Martin Spenke, PhD Student
Theoretisch-Physikalisches Institut
Universität Hamburg, Germany

User avatar
Davide Sangalli
Posts: 640
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: NETCDF error

Post by Davide Sangalli » Mon Oct 03, 2016 1:35 pm

Ciao,
I just tried "tar -xzf yambo-4.1.0-rev.109.tar.gz" and it worked in my case.
Maybe there was a problem with the download ?

Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

martinspenke
Posts: 149
Joined: Tue Apr 08, 2014 6:05 am

Re: NETCDF error

Post by martinspenke » Mon Oct 03, 2016 9:59 pm

Ciao Davide,

finally managed to open the tar ball.

Many thanks and best wishes
Martin
Martin Spenke, PhD Student
Theoretisch-Physikalisches Institut
Universität Hamburg, Germany

martinspenke
Posts: 149
Joined: Tue Apr 08, 2014 6:05 am

Re: NETCDF error

Post by martinspenke » Tue Oct 04, 2016 11:54 am

Dear Davide,

I obtain this error when compiling the newest yambo version :

Code: Select all

/home/martin/yambo-4.1.0-rev.109/lib/liblinear_algebra.a(SERIAL_lin_system.o): In function `serial_lin_system_':
SERIAL_lin_system.f90:(.text+0x168): undefined reference to `cgesv_'
I never had such a linking issue in the previous yambo versions.

Bests
Martin
Martin Spenke, PhD Student
Theoretisch-Physikalisches Institut
Universität Hamburg, Germany

User avatar
Davide Sangalli
Posts: 640
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: NETCDF error

Post by Davide Sangalli » Tue Oct 04, 2016 3:05 pm

Yes, it's a problem we know.
It will be fixed in 4.1.1 which will be the official svn release

Meanwhile, to avoid that, you have to link some external blas and lapack library.

D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

Post Reply