I am attempting to compile vasp 6.5.0 using the latest oneapi from Intel. I initially had problems with the (old) ipx compiler and modified the makefile to use the new intel icpx compiler (clang-based). The compiler version is Intel(R) oneAPI DPC++/C++ Compiler 2025.0.4 (2025.0.4.20241205). Most of the compilation seems to work, but I encountered an error as make was attempting to compile the timing_.c source file. There seem to be multiple undeclared identifiers in the source code and I was hoping there may be some suggestions as to how to proceed.
icpx: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
timing_.c:10:32: error: use of undeclared identifier 'now'; did you mean 'new'?
10 | void timing_C(mode,utime,stime,now,minpgf,majpgf,maxrsize,avsize,swaps,ios,cswitch,ierr)
| ^~~
| new
timing_.c:10:6: error: variable has incomplete type 'void'
10 | void timing_C(mode,utime,stime,now,minpgf,majpgf,maxrsize,avsize,swaps,ios,cswitch,ierr)
| ^
timing_.c:10:15: error: use of undeclared identifier 'mode'
10 | void timing_C(mode,utime,stime,now,minpgf,majpgf,maxrsize,avsize,swaps,ios,cswitch,ierr)
| ^
timing_.c:10:20: error: use of undeclared identifier 'utime'
10 | void timing_C(mode,utime,stime,now,minpgf,majpgf,maxrsize,avsize,swaps,ios,cswitch,ierr)
| ^
timing_.c:10:26: error: use of undeclared identifier 'stime'
10 | void timing_C(mode,utime,stime,now,minpgf,majpgf,maxrsize,avsize,swaps,ios,cswitch,ierr)
| ^
timing_.c:10:35: error: expected a type
10 | void timing_C(mode,utime,stime,now,minpgf,majpgf,maxrsize,avsize,swaps,ios,cswitch,ierr)
| ^
timing_.c:10:89: error: expected ';' after top level declarator
10 | void timing_C(mode,utime,stime,now,minpgf,majpgf,maxrsize,avsize,swaps,ios,cswitch,ierr)
| ^
| ;
timing_.c:15:1: error: expected unqualified-id
15 | {
| ^
8 errors generated.