Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jansson
Beginner
22 Views

Amplifier XE update 3 problem

Hi,
1)
When I upgraded "update 2" and installed "update 3" my console application started to fail to launch when starting the profiling. Nothing is profiled and its aborted after about 5s. When I use "update 2" it works.
I tried a few times to install (and reboot) "update 3" but only "update 2" works for me.

I also had a Installation problem:
Trying to install "update 2" after "update 3" gave a uninstall error for "update 3", then uninstall was impossible both from control panel and in "update 3" install program. Solution was to reinstall "update 3", and then remove "update 3". Then "update 2" installed correctly and profiling works again.

How do I debug this?

Regards,
Magnus

0 Kudos
7 Replies
Peter_W_Intel
Employee
22 Views

Hi Magnus,

What was error message when using Update 3?

I suspect that components of Update 3 has not been installed properly. You have to uninstall Update 2 first, then install Update 3. Over-installing product is not allowed.

I realize it might be impossible to uninstall Update 3 now, since you installed the Update 3 unsuccessfully but it exists in your system. Please ask help to IT (or you do it carefully) to remove product info in your system, then you can install Update 3 directly.

Regards, Peter
jansson
Beginner
22 Views

Hi Peter,

What was error message when using Update 3?

There was no error; all seamed to install as smoothly as previous updates.

I suspect that components of Update 3 has not been installed properly. You have to uninstall Update 2 first, then install Update 3. Over-installing product is not allowed.

When launching the install of Update 3 it mentions that it will first uninstall Update 2. I hoped this was working.

I realize it might be impossible to uninstall Update 3 now, since you installed the Update 3 unsuccessfully but it exists in your system. Please ask help to IT (or you do it carefully) to remove product info in your system, then you can install Update 3 directly.

It was reverting back to Update 2 that failed. I solved it by reinstalling Update 3, because then uninstall of Update 3 was possible.

As you suggested:
Uninstalled Amplifier XE; No uninstall problem reported.
Installed Update 3; No install problem reported.

Problem: Profiling still do not work at all. Remember, I have or had no problem profiling using Update 2.

Did you try this configuration:
Windows 7 Pro x64 SP1. fully Updated.
VS2010. fully Updated.
Intel Visual Fortran Compiler XE 12.0.4.196 [Intel 64]...

Regards,
Magnus


Peter_W_Intel
Employee
22 Views

If there is no error message when installing the product, Update 3 - is it possible that the problem is your program specific? Are you using hotspots analysis, or lightweight-hotspots analysis?

Please verify in command line:
1. amplxe-cl -collect lightweight-hotspots -duration 10
2. amplxe-cl -collect lightweight-hotspots -duration 10 -- your-program
3. amplxe-cl -collect hotspots -duration 10 -- your-program

What are outputs of above collections?

Could you attach your program, so I caninvestigate the problem on my side?

Regards, Peter
jansson
Beginner
22 Views

Good news:
When I run on the command line all works fine and I sucessfully opened the results in the Amplifier standalone gui-version.

Now the bad news:
I made a new project -> Fortran -> Console Application -> Main Program Code.
If I add a line with "pause" or "read(*,*) i" (+ INTEGER i declaration)
Select Debug x64 config. If I run lightweight-hotspots I get this window.




Something is wrong but what?
Where should I look to get it running in VS2010 again?
Are you still interested in the other thing you asked for?

Best Regards,
Magnus
Peter_W_Intel
Employee
22 Views

Itis good that you can collect data from command line, and displayedon GUI. I don't knowif it was an integration issue.Anyway it works.

I have concern on your Bad news -can this problem be repeated without using lightweight-hotspots?
If "yes", please create a new thread on ifort forum to discuss;
If "no", please attach your example program for further investigating (You also can visit https://premier.intel.com to submit new ticket with test case)

Regards, Peter

jansson
Beginner
22 Views

Peter,

1)
Update 3 do not work inside VS2010 even after repairing/reinstalling it, this bothers me. Do you have any suggestion for resolving this? Or should I revert to update 2 while waiting for Update 4 to emerge?

2)
Attached is a VS2010 solution, "Console3", illustrating the problem I described above.

The good part: If I run without Amplifier in VS2010 or stand alone I notice no problem. :)

Less good: Selecting any of the default profiling jobs under "Algorithm Analysis" in Amplifier integrated in VS2010;
Running it on "x64 Debug" binaries produces the pop-up window describing the Assertion that Failed.
Running it on "x64 Release" binaries gives no error but the analysis aborts before showing me the Console window I am expecting even in Amplifier runs.

In the source code I show 2 ways to make it fail, and one way to make it work, uncomment only one at a time.

Best Regards,
Magnus
jansson
Beginner
22 Views

Hi,

Update 4 did not solve this problem.
I now installed "VS2010 SP1" uninstalled "Update 3" before installing "Amplifier XE 2011 Update 4".
There was no visible problem during the install.

I still can not use Amplifier from VS2010 if I do not revert back to "Update 2".
If I profile the debug binary I get the "Debug Assertion Failed!" pop-up as with update 3.
If I profile the release binary it stalls, and when I STOP the collection of data it shows me that it has been spawning lots and lots of threads in my simple OpenMP program.

hint:
If you cant open the project I supplied above make a trivial Fortran Console application from scratch in VS2010 and make sure that it shows you the console window while the program is running. Then try to profile this in debug and release mode for Hotspots. For me they fail in different ways.

Should I contact Premier support if I want help to get Amplifier working inside VS?


Below you find info about my Visual Studio and Windows 7 If you want to reproduce my problem.
Windows Info:
--
OS Name Microsoft Windows 7 Professional
Version 6.1.7601 Service Pack 1 Build 7601
System Type x64-based PC
Processor Intel Core i7 CPU 860 @ 2.80GHz, 2926 Mhz, 4 Core(s), 8 Logical Processor(s)
Locale Sverige
Hardware Abstraction Layer Version = "6.1.7601.17514"
Time Zone W. Europe Daylight Time
Installed Physical Memory (RAM) 4,00 GB
Total Physical Memory 4,00 GB
--


VS2010 INFO:
--
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.0.30319 SP1Rel

Installed Version: Professional

Microsoft Office Developer Tools 01018-587-3103185-70746
Microsoft Office Developer Tools

Microsoft Visual Basic 2010 01018-587-3103185-70746
Microsoft Visual Basic 2010

Microsoft Visual C# 2010 01018-587-3103185-70746
Microsoft Visual C# 2010

Microsoft Visual C++ 2010 01018-587-3103185-70746
Microsoft Visual C++ 2010

Microsoft Visual F# 2010 01018-587-3103185-70746
Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Team Explorer 01018-587-3103185-70746
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010 01018-587-3103185-70746
Microsoft Visual Web Developer 2010

Crystal Reports Templates for Microsoft Visual Studio 2010
Crystal Reports Templates for Microsoft Visual Studio 2010

EmacsEmulations 1.0
Information about my package

Intel Visual Fortran Package ID: w_fcompxe_2011.4.196
Intel Visual Fortran Composer XE 2011 Integration for Microsoft Visual Studio* 2010, 12.0.3471.2010, Copyright (C) 2002-2011 Intel Corporation
* Other names and brands may be claimed as the property of others.

Intel Inspector XE 2011 Update 4
Intel Inspector XE 2011 Update 4, (build 148563), Copyright 2009-2011 Intel Corporation. All rights reserved.

Intel VTune Amplifier XE 2011 Update 4
Intel VTune Amplifier XE 2011 Update 4, (build 176374), Copyright 2009-2011 Intel Corporation. All rights reserved.

Microsoft Visual Studio 2010 Professional - ENU Service Pack 1 (KB983509) KB983509
This service pack is for Microsoft Visual Studio 2010 Professional - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/983509.

Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.40219
Microsoft Visual Studio 2010 SharePoint Developer Tools
--



Regards,
Magnus