PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Non-confirmable error

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
sreenivas



Joined: 24 Aug 2007
Posts: 3

PostPosted: Mon Sep 03, 2007 2:53 am    Post subject: Non-confirmable error Reply with quote

Dear all

In regards to my previous mail of non confirmable error about

SPREAD(), again i have some problem. Though the code executed in the first stage, it is retrurning NAN values in my simulations.

Can any one help me to sort this ?
I appreciate your help.

For your reference i am giving the modification i did as per Bret's advice

if (dim1 ==1)then
where(flow)
LINE_AV = SPREAD(temp2d(1:idim2,1:idim3,3), dim =1, ncopies = size(A1,dim=1) )
elsewhere
LINE_AV = 0.0_r9
endwhere

else if (dim1==2)then
where(flow)
LINE_AV = SPREAD(temp2d(1:idim2,1:idim3,3), dim = 2, ncopies = size(A1,dim=2) )
elsewhere
LINE_AV = 0.0_r9
endwhere

else if (dim1==3) then
where(flow)
LINE_AV = SPREAD(temp2d(1:idim2,1:idim3,3), dim = 3, ncopies = size(A1,dim=3) )
elsewhere
LINE_AV = 0.0_r9
endwhere
end if


"Previously it used to be :"

where(flow)
LINE_AV = SPREAD(temp2d(1:idim2,1:idim3,3), dim = dim1, ncopies = size(A1,dim1) )
elsewhere
LINE_AV = 0.0_r9
endwhere




Thanks
Sreenivas
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Sep 04, 2007 10:44 am    Post subject: Reply with quote

Hi sreenivas,

Brent is on vacation today, but I'll ask him tommorow if he has made any progress on this.

Thanks,
Mat
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
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 © phpBB Group