VASP 6.6.0: linker not finding sync_vcaimages_ symbol

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
enrique
Newbie
Newbie
Posts: 3
Joined: Fri Oct 28, 2005 8:22 pm

VASP 6.6.0: linker not finding sync_vcaimages_ symbol

#1 Post by enrique » Thu Mar 12, 2026 3:01 pm

I'm trying to Compile VASP 6.6.0 with intel fortran and mkl. I get a link time error:

Code: Select all

ld: main.o: in function `MAIN__':
main.f90:(.text+0xb83f): undefined reference to `sync_vcaimages_'
make[2]: *** [makefile:154: vasp] Error 1

I searched with grep through the source code and I can't fine a definition for sync_vcaimages.

Any suggestions?

Thank you.


andreas.singraber
Global Moderator
Global Moderator
Posts: 371
Joined: Mon Apr 26, 2021 7:40 am

Re: VASP 6.6.0: linker not finding sync_vcaimages_ symbol

#2 Post by andreas.singraber » Thu Mar 12, 2026 5:30 pm

Hello!

The subroutine SYNC_VCAIMAGES is at the end of the file chain.F. I could not find a reason why the linker would not be able to find it... could you please paste or attach your makefile.include? Furthermore, please give us the exact version of the Intel compiler you are using, e.g. by executing:

Code: Select all

ifort --version
# or, alternatively,
ifx --version

Thank you!!

All the best,
Andreas Singraber


enrique
Newbie
Newbie
Posts: 3
Joined: Fri Oct 28, 2005 8:22 pm

Re: VASP 6.6.0: linker not finding sync_vcaimages_ symbol

#3 Post by enrique » Thu Mar 12, 2026 11:46 pm

Thank you, Andreas.
I had messed up because I added the tst modifications. That replaces chain.F with one that doesn't include the SYNC_VCAIMAGES routine which is new in 6.6.0.
Fixed it now.


Post Reply