Restart with k-points for -O2 and -O3 are not compatible with ifort
If the GS is calculation with either -O2 or -O3, it is not compatible for the other option for a TD calculations.
If the GS is calculation with either -O2 or -O3, it is not compatible for the other option for a TD calculations.