PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

New install won't run/dbg... crt0.c illegal inst... c000001d

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
friesele



Joined: 05 Feb 2013
Posts: 2

PostPosted: Mon Mar 11, 2013 12:19 pm    Post subject: New install won't run/dbg... crt0.c illegal inst... c000001d Reply with quote

I've searched the forums... I can't figure out why this is occurring? The simple "Hello world" example won't run or debug. I think that the license is configured correctly and it is installed to instructions.

When debugging from VS2010 the pgdbg console window opens then just flashes the cursor until I close it. When I close it the program exits with code 0.

Starting without debug causes a crash...

debug the crash breaks in crt0.c "mainret = (_argc,...)"
Additional info exception code c000001d...

Any ideas???
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5001
Location: The Portland Group Inc.

PostPosted: Mon Mar 11, 2013 12:47 pm    Post subject: Reply with quote

What Windows version are you using and what processor do you have?

If you have Win7 and a Sandy-Bridge or other AVX enabled processor, be sure to update to Win7 SP1. The original Win7 does not have AVX support and will cause your program to immediately halt. Alternatively, you can target an early processor (i.e. add the "-tp=nehalem-64" flag) so AVX instructions are not produced.

- Mat
Back to top
View user's profile
friesele



Joined: 05 Feb 2013
Posts: 2

PostPosted: Mon Mar 11, 2013 4:48 pm    Post subject: Nailed it! Reply with quote

Mat,

You are some kind of mix between superman and Neo... compujitsu master!

Thanks,

Eric
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group