Vasp 5.2: undefined reference to 'cheevx_'

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
Meister Krause

Vasp 5.2: undefined reference to 'cheevx_'

#1 Post by Meister Krause » Tue Jan 31, 2012 10:49 am

[vasp5.2, 24 core intel xeon, ifc 11.1, GotoBLAS2, lapack provided by vasp]

Hello all,

We are trying to compile vasp 5.2 and no matter what I do, I always get the same error:

bse.o: In function `bse_mp_diag_bse_matrix_`:
bse.f90:(.text+0xa738): undefined reference to `cheevx_`

I tried compiling a serial and a parallel version and also different GotoBLAS libraries.

Another thread in this forum
http://cms.mpi.univie.ac.at/vasp-forum/ ... php?2.9909
suggested this to be a problem with the Blas libraries.

However, I also tried to compile vasp against an older Blas version which I succesfully used to compile vasp 4.6.

http://cms.mpi.univie.ac.at/vasp-forum/ ... php?2.4554

Any suggestions on how to go on?
Any more information needed?

Thank you
Last edited by Meister Krause on Tue Jan 31, 2012 10:49 am, edited 1 time in total.

alex
Hero Member
Hero Member
Posts: 584
Joined: Tue Nov 16, 2004 2:21 pm
License Nr.: 5-67
Location: Germany

Vasp 5.2: undefined reference to 'cheevx_'

#2 Post by alex » Tue Jan 31, 2012 3:18 pm

Hi,

it looks like you misplaced your lapack library. Did you check if you linked libdmy.a correctly. Or lapack.o?

Cheers,

alex
Last edited by alex on Tue Jan 31, 2012 3:18 pm, edited 1 time in total.

Meister Krause

Vasp 5.2: undefined reference to 'cheevx_'

#3 Post by Meister Krause » Fri Feb 03, 2012 4:06 pm

Hello Alex,

thank you for your answer.
I think lapack and libdmy.a are linked correctly.

Surprisingly, I found a version of GotoBLAS2 (out of the countless versions I compiled during the last years) which is working and gives no errors together with the vasp provided lapack.

So opposed to what I wrote in the last post, the problems has to be in GotoBlas2 or a problem between GotoBLAS and lapack, respectively.

I have no idea what is wrong. I tried all possible ways of creating libgoto and all of them fail.

If I replace the vasp provided lapack with one provided by openSUSE, vasp compiles without errors even with the libgoto2 which fails in the previous tries. Now, however, I get an error during runtime.

I think I'll have to keep on playing around.

Any ideas anybody?

Thank you
Last edited by Meister Krause on Fri Feb 03, 2012 4:06 pm, edited 1 time in total.

alex
Hero Member
Hero Member
Posts: 584
Joined: Tue Nov 16, 2004 2:21 pm
License Nr.: 5-67
Location: Germany

Vasp 5.2: undefined reference to 'cheevx_'

#4 Post by alex » Mon Feb 06, 2012 10:11 am

Hello Meister Krause,

you may step back and look what you have done to get it (not) working.

If you think your problems are connected to your self-compiled libgoto/2, you may try Intel's MKL or AMD's ACML (depending on your system). They both contain all linear algebra you need. I would no go for the OpenSuse-Version, I'd prefer the vendor's version, because you there is hope that they put some effort in optimising the code for processor benchmarking (SPEC).

If you get it working you might go back to Goto's versions.

Hth,

alex
Last edited by alex on Mon Feb 06, 2012 10:11 am, edited 1 time in total.

Ligang
Newbie
Newbie
Posts: 1
Joined: Thu Mar 22, 2012 11:56 pm

Vasp 5.2: undefined reference to 'cheevx_'

#5 Post by Ligang » Fri Mar 23, 2012 12:00 am

Hello Meister Krause,
did you solve this probelm? I also have such problem when I install the Vasp5.2 version.
Last edited by Ligang on Fri Mar 23, 2012 12:00 am, edited 1 time in total.

Post Reply