"Initializing oneAPI environment" upon opening terminal

Solution 1:

Turns out the line below in .bashrc

source /opt/intel/oneapi/setvars.sh

initializes the oneAPI environment. When I deleted this command line, the problem solved and oneAPI continue to operate afterwards.