Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Debugging Working Directory

NBG6
Beginner
595 Views

As I read in the forum the working directory for Debugging always has to include a drive letter.

In Compaq Compiler it was possible to give the working directory as ..\\..\\Work, means as relative directory.

Is this really not possible in Intel Compiler?

Thanks

0 Kudos
1 Solution
Kevin_D_Intel
Employee
595 Views

Relative paths are handled properly for the Working Directory setting with the Intel C++ 11.1 Update 4 (11.1.054) which contains the Intel Visual Studio integrations (same for VS2005 and VS2008):

Intel C++ Compiler Professional Edition Integration for Microsoft Visual Studio* 2005, Version 11.1.845.2005 , Copyright 2002-2009 Intel Corporation

Only the IntelVisual Fortran11.1 compiler is still affected. It was too late to fix this in 11.1 update 5 so it will be fixed in the IVF 11.1 Update 6 (tentatively in the April/May '10 time-frame).

(Resolution Update on 04/26/2010): Internal tracking id: DPD200149637 is fixed in the Intel Visual Fortran Compiler Professional Edition 11.1 Update 6 (11.1.065 - Windows).

View solution in original post

0 Kudos
5 Replies
TimP
Honored Contributor III
595 Views
I think you would need to give more context to allow understanding of your question, including which debugger you mean, and how you are starting it. The only Compaq compiler used on Intel platforms in the past few years was Fortran, and this is a C++ forum.
0 Kudos
NBG6
Beginner
595 Views

Thanks for the hint - I use Intel Visual Fortran but does it matter which Compiler I use?

Isn't it a property of Visual Studio?

Do you know where I can find a Intel Fortran Forum?

0 Kudos
Kevin_D_Intel
Employee
595 Views

Apparently it is a property of the solution itself (Properties > Debugging > Working Directory) and it does matter which compiler is used.

A relative path (e.g. ..\..\work) works finewith theMicrosoft C++ compiler (e.g. MSVC++ solution) under VS2008/VS2005SP1 but it does not work when either the Intel C++ or Fortran compilers and their respective solution. This seems to be a defect in our VS integrations. I notified our VS integrations Developers and will update this post when I have more information.

There are two Fortran Forums available:

Intel Visual Fortran Compiler for Windows

Intel Fortran Compiler for Linux and Mac OS* X

(Internal tracking id: DPD200149637)

0 Kudos
Kevin_D_Intel
Employee
596 Views

Relative paths are handled properly for the Working Directory setting with the Intel C++ 11.1 Update 4 (11.1.054) which contains the Intel Visual Studio integrations (same for VS2005 and VS2008):

Intel C++ Compiler Professional Edition Integration for Microsoft Visual Studio* 2005, Version 11.1.845.2005 , Copyright 2002-2009 Intel Corporation

Only the IntelVisual Fortran11.1 compiler is still affected. It was too late to fix this in 11.1 update 5 so it will be fixed in the IVF 11.1 Update 6 (tentatively in the April/May '10 time-frame).

(Resolution Update on 04/26/2010): Internal tracking id: DPD200149637 is fixed in the Intel Visual Fortran Compiler Professional Edition 11.1 Update 6 (11.1.065 - Windows).

0 Kudos
NBG6
Beginner
595 Views

This helps - Thanks a lot.

... and I will jump to Fortran Forum now

0 Kudos
Reply