PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

CUDA Fortran application not running
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
SPHriction-3D



Joined: 12 Jan 2014
Posts: 48

PostPosted: Tue Apr 01, 2014 5:46 pm    Post subject: CUDA Fortran application not running Reply with quote

Hi,

I recently bought a Titan Black, I have installed it on a computer that I do not have a licence for PVF on.

I have tested the card by running the CUDA samples (deviceQuery, particles, etc.), there is no problem.

When I try to run one of my own executables (compiled on my laptop with PVF CUDA Fortran), the application crashes immediately.

I cant think of any reason why my CUDA Fortran stuff would not run but the CUDA Samples do work.

Anyone have any ideas?

Thank you,

Kirk
Back to top
View user's profile
SPHriction-3D



Joined: 12 Jan 2014
Posts: 48

PostPosted: Wed Apr 02, 2014 7:26 am    Post subject: Reply with quote

A bit more information:

I am compiling with PVF 13.10 on a Windows 8 system in 64bit. I am using CUDA 5.5. I have set the "compute capability" to automatic.

I am trying to run on a Windows 7 system with CUDA 5.5 installed (and tested with the CUDA Samples)

I know that my applications can be run on other computers with different GPUs. I have successfully run on K20, K40 and Quadro400.

Let me know if any other information is needed.

Thanks for any help

Kirk
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Apr 02, 2014 8:32 am    Post subject: Reply with quote

Hi Kirk,

I'm wondering if it's not anything to do with CUDA rather, the CPU or some dependent library.

Early Win7 releases didn't support AVX, so if you built your code on an AVX enabled processor, it would crash immediately. Try building the code targeting an older processor (like Penryn) so AVX isn't generated. This can be set in PVF in the project properties under "Fortran->Target Processors".

- Mat
Back to top
View user's profile
SPHriction-3D



Joined: 12 Jan 2014
Posts: 48

PostPosted: Wed Apr 02, 2014 8:55 am    Post subject: Reply with quote

hmmm, my laptop has an I7 and so does the computer with the Titan Black...
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Apr 02, 2014 10:04 am    Post subject: Reply with quote

Quote:
hmmm, my laptop has an I7 and so does the computer with the Titan Black...
That's fine, it's Win7 that doesn't support AVX at least not until SP1.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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 © phpBB Group