PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

error F0004 : Unable to open MODULE file
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Dolf



Joined: 22 Mar 2012
Posts: 100

PostPosted: Fri Jun 01, 2012 11:47 am    Post subject: Reply with quote

Hi Mat,

so, I did copy all the variables from host memory to a designated device memory, passed them to the GPU subroutine, and there is no errors from that kind anymore, but, when I try to compile, it compiles but, at the end it gives me the following error and exit:

D:\Cuda Dev\Quick_cuda\common.f90(602) : error F0000 : Internal compiler error. Device compiler exited with error status code 0
PGF90/x86-64 Windows 12.3-0: compilation aborted
by the way, line 602 is the end of the do loop I used to control the threads being executed.
here is the beginning of the subroutine:

i = (blockidx%x - 1) * blockDim%x + threadidx%x
j = (blockidx%y - 1) * blockDim%y + threadidx%y

main: do while ((i >= 2 .AND. i <= nx) .AND. (j >= 2 .AND. j <= ny-1))

........

enddo main <=======line 602 of common.f90
why its doing that?? this is the first time I encounter this issue.
did I miss used anything?

thanks,
Dolf
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Jun 01, 2012 1:23 pm    Post subject: Reply with quote

Hi Dolf,

Are there any messages above the this one? This is just a generic error stating that the backend NVIDIA tools failed for some reason. There should additional messages above this as to why it failed.

Thanks,
MAt
Back to top
View user's profile
Dolf



Joined: 22 Mar 2012
Posts: 100

PostPosted: Fri Jun 01, 2012 3:08 pm    Post subject: Reply with quote

------ Rebuild All started: Project: Quick_cuda, Configuration: Debug x64 ------
Deleting intermediate and output files for project 'Quick_cuda', configuration 'Debug'
Compiling Project ...
common.f90
C:\Users\THOLFA~1\AppData\Local\Temp\pgcudafor2afGjcpz3qs2xg.gpu(129): error: identifier "_fklookuptable_0" is undefined

C:\Users\THOLFA~1\AppData\Local\Temp\pgcudafor2afGjcpz3qs2xg.gpu(151): error: identifier "_q4_globals_0" is undefined

2 errors detected in the compilation of "C:\Users\THOLFA~1\AppData\Local\Temp\pgnvd2aEy8bAr4LSv_3.nv0".
D:\Cuda Dev\Quick_cuda\common.f90(467) : error F0000 : Internal compiler error. Device compiler exited with error status code 0
PGF90/x86-64 Windows 12.3-0: compilation aborted
common.f90
C:\Users\THOLFA~1\AppData\Local\Temp\pgcudafor2aemCbmzPQB28s.gpu(129): error: identifier "_fklookuptable_0" is undefined

C:\Users\THOLFA~1\AppData\Local\Temp\pgcudafor2aemCbmzPQB28s.gpu(151): error: identifier "_q4_globals_0" is undefined

2 errors detected in the compilation of "C:\Users\THOLFA~1\AppData\Local\Temp\pgnvd2aFS7Dr7o11e6.nv0".
D:\Cuda Dev\Quick_cuda\common.f90(467) : error F0000 : Internal compiler error. Device compiler exited with error status code 0
PGF90/x86-64 Windows 12.3-0: compilation aborted
flow.f90
force.f90
geometry.f90
grid.f90
Humidity.f90
init.f90
inverse.f90
misc.f90
mult.f90
OlderReynoldsRoutines.f90
openout.f90
OptionalParams.f90
output.f90
Quick4.f90
reynolds.f90
D:\Cuda Dev\Quick_cuda\reynolds.f90(380) : warning W0119 : Redundant specification for qn1
D:\Cuda Dev\Quick_cuda\reynolds.f90(380) : warning W0119 : Redundant specification for qn2
D:\Cuda Dev\Quick_cuda\reynolds.f90(566) : warning W0115 : Assignment to DO variable i in loop
D:\Cuda Dev\Quick_cuda\reynolds.f90(589) : warning W0115 : Assignment to DO variable i in loop
0 inform, 4 warnings, 0 severes, 0 fatal for getreynoldsvariables
ReynoldsDirected.f90
string.f90
UserDefGeom.f90
util.f90
Quick_cuda build failed.
Build log was saved at "file://D:\Cuda Dev\Quick_cuda\x64\Debug\BuildLog.htm"

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========



line 129 of pgcudafor2afGjcpz3qs2xg.gpu

_k_1 = (((loc))+((_fklookuptable_0->mm44)))*(8);

line 151:

_k_1 = ((((i))+(((j))*((_q4_globals_0->mm10104))))+((_q4_globals_0->mm10044)))*(8);

any ideas??

Dolf
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Jun 01, 2012 3:12 pm    Post subject: Reply with quote

Looks like the compiler is generating bad GPU code. Can you send a reproducing example to PGI Customer Support (trs@pgroup.com) so we can determine what's wrong?

Thanks,
Mat
Back to top
View user's profile
Dolf



Joined: 22 Mar 2012
Posts: 100

PostPosted: Mon Jun 04, 2012 3:02 pm    Post subject: Reply with quote

Hi Mat,

what is reproducing example mean? like a portion of the code contains the module and the GPU subroutine that I want to compile?

thanks,
Dolf
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  Next
Page 2 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