exclusive lock failed

exclusive lock failed

Hi everybody,

I am trying to compile my code with the option -prof-use but I get a very strange error message from the icc compiler

mpicc -Wall -O3 -fPIC -xHost -ipo -prof-use -I./include -I../include/ -c chemistry_data.c
ERROR: exclusive lock of ./pgopti.dpi.lock failed, code = 38
Function not implemented/opt/intel/Compiler/11.0/074/bin/intel64/profmerge: ERROR: Failed to create lock file for .dpi creation, ./pgopti.dpi.lock

Do you have any idea what I am doing wrong?

Many thanks in advance,
Max

3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

Quoting - didomax

mpicc -Wall -O3 -fPIC -xHost -ipo -prof-use -I./include -I../include/ -c chemistry_data.c
ERROR: exclusive lock of ./pgopti.dpi.lock failed, code = 38
Function not implemented/opt/intel/Compiler/11.0/074/bin/intel64/profmerge: ERROR: Failed to create lock file for .dpi creation, ./pgopti.dpi.lock

This looks as if you still have a job executing (hung?) which is trying to update the profile data.

I get a similar message when profmerge'ing:

ERROR: exclusive lock of ./pgopti.dpi.lock failed, code = 5
Input/output errorprofmerge: ERROR: Failed to create lock file for .dpi creation, ./pgopti.dpi.lock

compile command:
mpicxx -prof_gen -p -fexceptions -fpic -gcc-version=412 -g -Dlinux -DANSI ...
and
mpif90 -prof_gen -p -save -FR -r8 -module ./Modules -stand f03 -warn all -fpe0 -check all -traceback -fp-stack-check -g -prof_gen -p ...

I compiled using icc and ifort versions:

Intel C Intel 64 Compiler Professional for applications running on Intel 64, Version 11.1 Build 20090630 Package ID: l_cproc_p_11.1.046
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY

ifort -V
Intel Fortran Intel 64 Compiler Professional for applications running on Intel 64, Version 11.1 Build 20090630 Package ID: l_cprof_p_11.1.046
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen