Page 1 of 1

While linking VTST with Vasp got Syntax error, found IDENTIFIER 'TSIF'

Posted: Fri Jun 23, 2023 7:14 am
by Deepak_Arumugam
Greetings,
I have met with error during compilation of VASP with VTST showing that
main.F(3146): error #5082: Syntax error, found IDENTIFIER 'TSIF' when expecting one of: <INTEGER_CONSTANT> <POUND_VAL> <INTEGER_KIND_CON> <POUND_BASE>
CALL CHAIN_FORCE(T_INFO%NIONS,DYN%POSION,TOTEN,TIFOR, & TSIF,LATT_CUR%A,LATT_CUR%B,IO%IU6)
--------------------------------------------------------------^
compilation aborted for main.f90 (code 1)
make[2]: *** [makefile:198: main.o] Error 1
make[2]: Leaving directory '/home/rshankar/apps/vasp/build/std'
cp: cannot stat ‘vasp’: No such file or directory
make[1]: *** [makefile:142: all] Error 1
make[1]: Leaving directory '/home/rshankar/apps/vasp/build/std'
make: *** [makefile:10: std] Error 2
I couldnt find any errors regarding this.

Re: While linking VTST with Vasp got Syntax error, found IDENTIFIER 'TSIF'

Posted: Fri Jun 23, 2023 3:15 pm
by graeme
I'm guessing here, but you might need the TSIF ... on the next line as in:

CALL CHAIN_FORCE(T_INFO%NIONS,DYN%POSION,TOTEN,TIFOR, &
TSIF,LATT_CUR%A,LATT_CUR%B,IO%IU6)

rather than

CALL CHAIN_FORCE(T_INFO%NIONS,DYN%POSION,TOTEN,TIFOR, & TSIF,LATT_CUR%A,LATT_CUR%B,IO%IU6)

also make sure to do a "make clean" before building