Page 1 of 1
VASP 6.6.0: linker not finding sync_vcaimages_ symbol
Posted: Thu Mar 12, 2026 3:01 pm
by enrique
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.
Re: VASP 6.6.0: linker not finding sync_vcaimages_ symbol
Posted: Thu Mar 12, 2026 5:30 pm
by andreas.singraber
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
Re: VASP 6.6.0: linker not finding sync_vcaimages_ symbol
Posted: Thu Mar 12, 2026 11:46 pm
by enrique
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.