About ZHEGV failed

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
gabral
Newbie
Newbie
Posts: 13
Joined: Thu Oct 13, 2005 7:55 am

About ZHEGV failed

#1 Post by gabral » Tue Dec 13, 2005 8:17 am

It is not exactly a physics question. But I wonder if the result is still reasonable or not when "WARNING in EDDRMM: call to ZHEGV failed, returncode=xx" occurred
Last edited by gabral on Tue Dec 13, 2005 8:17 am, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

About ZHEGV failed

#2 Post by admin » Fri Dec 16, 2005 2:53 pm

there seems to be an error in your LAPACK installation, unfortunately these kind of errors sometimes occur on certain machine types.
1) try to use a different LAPACK (e.g. the lapack_double.o provided in vasp.4.lib
2) switch to the Davidson algorithm for electronic optimisation (ALGO=Normal) and
-- uncomment the #USE_ZHEEVX statement in the
davidson.F, subrot.F, and wavpre_noio.F files
(vasp.4.6) and then
-- recompile VASP.
Doing so, other equivalent LAPACK subroutines are used.
Last edited by admin on Fri Dec 16, 2005 2:53 pm, edited 1 time in total.

gabral
Newbie
Newbie
Posts: 13
Joined: Thu Oct 13, 2005 7:55 am

About ZHEGV failed

#3 Post by gabral » Sat Dec 17, 2005 1:21 pm

The problem is I cannot compile the lapack_double.f file correctly, with an error:
fortcom: Info: lapack_double.f, line 12704: This directive is not supported on this platform.
*DIR$ NOVECTOR
------^
My system is IA64 on linux, the makefile is as:

.SUFFIXES: .inc .f .F
#-----------------------------------------------------------------------
# Makefile for Portland Group F90/HPF compiler
# the makefile was tested only under Linux on Intel platforms
# however it might work on other platforms as well
#
# this release of vasp.4.lib contains lapack v2.0
# this can be compiled with pgf90 compiler if the option -O1 is used
#
# Mind: one user reported that he had to copy preclib.F diolib.F
# dlexlib.F and drdatab.F to the directory vasp.4.4, compile the files
# there and link them directly into vasp
# for no obvious reason these files could not be linked from the library
#
#-----------------------------------------------------------------------

# C-preprocessor
CPP = gcc -E -P -C $*.F >$*.f
FC=ifort

CFLAGS = -O
FFLAGS = -O3 -FI
FREE = -FR

DOBJ = preclib.o timing_.o derrf_.o dclock_.o diolib.o dlexlib.o drdatab.o


#-----------------------------------------------------------------------
# general rules
#-----------------------------------------------------------------------

libdmy.a: $(DOBJ) lapack_double.o linpack_double.o lapack_atlas.o
-rm libdmy.a
ar vq libdmy.a $(DOBJ)

# files which do not require autodouble
lapack_min.o: lapack_min.f
$(FC) $(FFLAGS) $(NOFREE) -c lapack_min.f
lapack_double.o: lapack_double.f
$(FC) $(FFLAGS) $(NOFREE) -c lapack_double.f
lapack_single.o: lapack_single.f
$(FC) $(FFLAGS) $(NOFREE) -c lapack_single.f
lapack_atlas.o: lapack_atlas.f
$(FC) $(FFLAGS) $(NOFREE) -c lapack_atlas.f
linpack_double.o: linpack_double.f
$(FC) $(FFLAGS) $(NOFREE) -c linpack_double.f
linpack_single.o: linpack_single.f
$(FC) $(FFLAGS) $(NOFREE) -c linpack_single.f

.c.o:
$(CC) $(CFLAGS) -c $*.c
.F.o:
$(CPP)
$(FC) $(FFLAGS) $(FREE) $(INCS) -c $*.f
.F.f:
$(CPP)
.f.o:
$(FC) $(FFLAGS) $(FREE) $(INCS) -c $*.f
----------------------------
I dont know how to deal with it. would you likt to help me?
Last edited by gabral on Sat Dec 17, 2005 1:21 pm, edited 1 time in total.

tjf
Full Member
Full Member
Posts: 107
Joined: Wed Aug 10, 2005 1:30 pm
Location: Leiden, Netherlands

About ZHEGV failed

#4 Post by tjf » Sat Dec 17, 2005 7:39 pm

Um, that's just a warning. The compilation should continue.

Failing that, simply remove those lines!!
Last edited by tjf on Sat Dec 17, 2005 7:39 pm, edited 1 time in total.

gabral
Newbie
Newbie
Posts: 13
Joined: Thu Oct 13, 2005 7:55 am

About ZHEGV failed

#5 Post by gabral » Fri Dec 30, 2005 3:34 am

I know how to avoid ZHEGV fail by using DAV instead of RMM. in the latter case ZHEGV fail still occurs even I have changed to the lapack lib provided in vasp.4.lib. My question is if the results still reliable when this warning occurs, beacuse I still want to use RMM method?
Last edited by gabral on Fri Dec 30, 2005 3:34 am, edited 1 time in total.

buber
Newbie
Newbie
Posts: 9
Joined: Wed Jun 01, 2005 7:16 pm

About ZHEGV failed

#6 Post by buber » Wed Jan 25, 2006 4:20 pm

I am having a similar problem, but only for a certain calculation. I'm trying to do a crystal of Yb2O3 with an atom of Lu inserted. I've done the opposite (Yb in Lu2O3) with no problem, but this one either reports the ZHEGV problem or gets into a situation where each electronic iteration changes the energy by +/- 1e7 eV. The other problem didn't cause me any problem. I'm using the potpaw_GGA potentials. Any suggestions would be greatly appreciated.
Last edited by buber on Wed Jan 25, 2006 4:20 pm, edited 1 time in total.

jlbettis
Jr. Member
Jr. Member
Posts: 53
Joined: Thu Mar 11, 2010 1:13 am
Location: Raleigh, NC

About ZHEGV failed

#7 Post by jlbettis » Mon Nov 29, 2010 5:43 am

Interesting Buber I never had this problem until I started using the series Y,Yb,Lu. Forgive me, but I assume that the results are valid... the scf electronic convergence would not have completed.... I
Last edited by jlbettis on Mon Nov 29, 2010 5:43 am, edited 1 time in total.
VASP 5.2.11
Cray XE6

Post Reply