PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

What's the meaning of the follow error ,how to deal with it?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
bigwbxu



Joined: 14 Oct 2012
Posts: 15

PostPosted: Wed Dec 25, 2013 7:04 pm    Post subject: What's the meaning of the follow error ,how to deal with it? Reply with quote

error F0000 : Internal compiler error. readin_func:can't scan 1st line
I use PVF,windows 13.10
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Dec 26, 2013 9:10 am    Post subject: Reply with quote

Hi bigwbxu,

The compiler can't read a temp file for some reason. Does this occur for all compiles or only when compiling a particular file? Have compiles worked in the past?

I'm wondering if your TMP directory (typically C://temp) has filled up or you don't have read/write permissions. Can you check?

- Mat
Back to top
View user's profile
bigwbxu



Joined: 14 Oct 2012
Posts: 15

PostPosted: Thu Dec 26, 2013 6:17 pm    Post subject: Reply with quote

Hi Mat,
I have checked my TMP directory,it's ok.

And ,my compiler worked properly in this file except when I used openacc to accelerate the code.


-bigwbxu
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Dec 27, 2013 9:23 am    Post subject: Reply with quote

Ok, we'll need to try and recreate the error here to understand the problem.

Can you please a reproducing example to PGI Customer Service (trs@pgroup.com)?

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



Joined: 14 Oct 2012
Posts: 15

PostPosted: Mon Dec 30, 2013 6:19 pm    Post subject: Reply with quote

hi MAT,
The following is part of my code

Code:

subroutine mapped_into_list_yz()
   implicit none
   integer :: nb_dem, eid
   integer :: ny, nz, nx

   nb_dem = get_total_number_dem()

   head_yz = 0

  !$acc kernels
  !$acc do independent,private(eid)
   do eid = 1, nb_dem
     call in_bin( eid, nx=nx,ny = ny, nz = nz)         ! into which cell the element is mapped
     call push_down( eid, ny, nz)                      ! push down EID to the list (ny, nz)
   end do
  !$acc end kernels
   return
  end subroutine mapped_into_list_yz



And the error point to [ call in_bin( eid, ny = nyi ) ] in the following code

Code:

subroutine update_layer( nz )
   implicit none
   integer, intent(in) :: nz
   integer :: next_eid, eid, ny, nyi
   real(kind = RK) :: boundz, radius, posi(3)

   if(nz == boundary % nz) return
   boundz = nz * boundary % DcellZ + boundary % zmin

   do ny=1, boundary % ny

     eid = head_yz( ny, nz )
     if( eid == 0 ) cycle ! switch to next row if meet an empty row.

     radius = get_dem_radius(eid)
     call obtain_DEM_kinematic(eid, Pos = posi )
     next_eid = list_yz(eid)

     if( posi(3) + radius >= boundz ) then
       call in_bin( eid, ny = nyi ) ! determine the index in y-direction.
       call push_down( eid, nyi, nz + 1 )
       mask(eid) = 100              ! refresh the mask
     end if
     eid = next_eid

     do
       if( eid == 0 ) exit ! encounter the end of row.
       radius = get_dem_radius(eid)
       call obtain_DEM_kinematic(eid, Pos = posi )
       next_eid = list_yz(eid)

       if( posi(3) + radius >= boundz ) then
         call in_bin( eid, ny = nyi )
         call push_down( eid, nyi, nz + 1 )
         mask(eid) = 100
       end if
       eid = next_eid
     end do

   end do

   return
  end subroutine update_layer
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming 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