Results 1 to 13 of 13
  1. #1
    Lounger
    Join Date
    Aug 2011
    Location
    Los Alamos, NM
    Posts
    44
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Tracing an applications interaction with OS

    Running Win7 64bit SP1 plus updates.

    Have a scientific application that calls the system routine cpu_time(time). (Have also tried system_clock and no difference.) With one compiler the timing works with another it doesn't. Executable of problem app also tested by vendor and it runs fine on their machines using Win7 and Server2008. They sent me their executable and it doesn't work on my machine. So the app built with the one compiler appears to be interacting or refusing to interact with the call to the system timing routine and this is associated with my machine.

    Suggestions on how I might see/study the app's interaction with the system?

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Lounger
    Join Date
    Aug 2011
    Location
    Los Alamos, NM
    Posts
    44
    Thanks
    1
    Thanked 0 Times in 0 Posts
    A little more experimentation shows that the app works when I boot into the safe mode.

    Anyone with experience on how to identify the conflict? I assume this shows a conflict with a driver or non-OS app?

  4. #3
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    20,377
    Thanks
    1
    Thanked 595 Times in 532 Posts
    Are these supposedly the same compiler? What compiler?

    Joe

  5. #4
    Lounger
    Join Date
    Aug 2011
    Location
    Los Alamos, NM
    Posts
    44
    Thanks
    1
    Thanked 0 Times in 0 Posts
    An Intel compiler works. A PGI compiler experiences the problem. As noted above the problem appears to be due to my machine, not the compiler itself.

  6. #5
    Super Moderator jwitalka's Avatar
    Join Date
    Dec 2009
    Location
    Minnesota
    Posts
    4,615
    Thanks
    66
    Thanked 526 Times in 475 Posts
    Since it works in Saafe Mode, try the clean boot diagnostic procedure:
    http://support.microsoft.com/kb/331796

    J
    erry

  7. #6
    Lounger
    Join Date
    Aug 2011
    Location
    Los Alamos, NM
    Posts
    44
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Unfortunately Jerry that didn't do the trick. Thanks for the suggestion.

  8. #7
    Super Moderator CLiNT's Avatar
    Join Date
    Dec 2009
    Location
    California & Arizona
    Posts
    5,388
    Thanks
    127
    Thanked 485 Times in 446 Posts
    What is the name of the "scientific" application.

    Perhaps they are running their app on a clean system and you are not.


    Make an imaged backup of your system, then do a clean install. Install the applcation on a clean system with minimal other applications/drivers,
    then begin to add others one at a time until you run up to the conflicting application or driver.

  9. #8
    Lounger
    Join Date
    Aug 2011
    Location
    Los Alamos, NM
    Posts
    44
    Thanks
    1
    Thanked 0 Times in 0 Posts
    The app is an R&D one. As I said we exchanged executables for testing.

    I was trying to avoid the clean install you suggest since it is extremely time consuming. Are there no other approaches?

  10. #9
    Super Moderator jwitalka's Avatar
    Join Date
    Dec 2009
    Location
    Minnesota
    Posts
    4,615
    Thanks
    66
    Thanked 526 Times in 475 Posts
    Unfortunately Jerry that didn't do the trick. Thanks for the suggestion
    What didn't work? Did the app fail in clean boot mode or did you just run the fixit?

    Jerry

  11. #10
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    Slough, Berkshire UK
    Posts
    916
    Thanks
    51
    Thanked 52 Times in 50 Posts
    as you say your friend that sent you the app was using win server 2008 which I think is not supported in standard win 7 64bit maybe this is reason for failure, maybe not.
    Clive

    All typing errors are my own work and subject to patents pending. Except errors by the spell checker. And that has its own patients.

  12. #11
    Lounger
    Join Date
    Aug 2011
    Location
    Los Alamos, NM
    Posts
    44
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jwitalka View Post
    What didn't work? Did the app fail in clean boot mode or did you just run the fixit?

    Jerry
    Fixit ran fine but it didn't fix my problem.


    Quote Originally Posted by curiousclive View Post
    as you say your friend that sent you the app was using win server 2008 which I think is not supported in standard win 7 64bit maybe this is reason for failure, maybe not.
    All running on Server2008 says is that the app called cpu_time without any problems. Getting the same answers would be a different issue.

  13. #12
    Super Moderator jwitalka's Avatar
    Join Date
    Dec 2009
    Location
    Minnesota
    Posts
    4,615
    Thanks
    66
    Thanked 526 Times in 475 Posts
    Ignore the fixit and follow the diagnostic procedure outlined in the text.

    Jerry

  14. #13
    Lounger
    Join Date
    Aug 2011
    Location
    Los Alamos, NM
    Posts
    44
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jwitalka View Post
    Ignore the fixit and follow the diagnostic procedure outlined in the text.
    Sorry Jerry, I was unclear. I did follow those instructions and still can't identify the problem source. At some point I'll just have to bit the bullet and reinstall as Clint suggested.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •