PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

new compiler gives error
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
amitamritkar



Joined: 02 Oct 2009
Posts: 13

PostPosted: Fri Feb 22, 2013 5:40 pm    Post subject: Reply with quote

Mat

I have uploaded the file (amitamritkar.tar) to the FTP site.

Thanks
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Feb 22, 2013 5:44 pm    Post subject: Reply with quote

Ok, thanks. I've asked our web master to grab it for me, but it wont be till Monday before I'll be able to look at it.

- Mat
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Feb 25, 2013 4:03 pm    Post subject: Reply with quote

Hi Amit,

I ran your exe on three different systems, the two Kepler systems, a GTX690 and K20, ran successfully:

Code:
 entering krylov in xmom
 entering krylov in xmom
 entering krylov in xmom
 entering krylov in xmom
 entering exchange_var in x-momemtum
 after momentum,u,v,w
 entering pressure
 exiting pressure
Warning: ieee_inexact is signaling
FORTRAN STOP


Though I see the failure on a Fermi M2090:

Code:
% mpirun -np 1 ./gpu.x
 entering alloc_fieldvar
 entering gpu alloc_
 entering gpu_data_transfer
 exiting gpu_data_transfer
 entering momentum
 entering diff_coeff
 come out of diff_coeff
 entering xmom
 enering diffuse in xmom
0: ALLOCATE: 1823360 bytes requested; not enough memory: 4(unspecified launch failure)


So at least we know it's not a driver issue but having to do with the compute capability of the binary.

What flags did you use compile the code?
What happens if you compile using Cuda 5.0 (i.e. -Mcuda=5.0)? Cuda 4.1 (i.e. -Mcuda=4.1)?

I'll ask around to see if anyone else has ideas.

- Mat
Back to top
View user's profile
amitamritkar



Joined: 02 Oct 2009
Posts: 13

PostPosted: Tue Feb 26, 2013 4:45 pm    Post subject: explicitly specify -Mcuda=5.0 for Tesla cards with 13.2 Reply with quote

Hi Mat,
Quote:

What flags did you use compile the code?
What happens if you compile using Cuda 5.0 (i.e. -Mcuda=5.0)? Cuda 4.1 (i.e. -Mcuda=4.1)?

My compiler flags were, -fast -Mr8 -Mcuda -Minfo=all -ta=nvidia,cc20
When I used the flag -Mcuda=5.0 there was no error and the code ran correctly.

So, I just have to explicitly specify -Mcuda=5.0 for Tesla cards.

Thanks for your help.
~Amit
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 Previous  1, 2, 3
Page 3 of 3

 
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