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.
While linking VTST with Vasp got Syntax error, found IDENTIFIER 'TSIF'
Moderator: moderators
-
- Posts: 1
- Joined: Fri Jun 23, 2023 7:08 am
Re: While linking VTST with Vasp got Syntax error, found IDENTIFIER 'TSIF'
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
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