icc xmldav.c -c -o xmldav.o -prof_genx -O2 ...
to produce executable with instrumented information for later profiling. However, I got the above error.
My environment setting is: setenv PROF_DIR /home/sguan/profile.
Directory profile exists and is writable.
Where the lock file exists? Even after rebooting my machine, the problem
still persists. Note that I was able to profile my executable the very first time.
When I tried it again, it failed.
ERROR: exclusive lock of /home/sguan/profile/pgopti.spl failed, code = 37