PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Fortran compiler problem?

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



Joined: 27 Dec 2010
Posts: 12

PostPosted: Wed Jun 13, 2012 7:48 am    Post subject: Fortran compiler problem? Reply with quote

DO L = LBB,IGENRL1(NLEV)
if(L==-1) print*, K,L
HP=(FUZ(L,K)-BED3D(K,1))
HP=MAX(0.0,MIN(HPWAL,H1-HP,HP))/H1
EML=PFLW1(VKA)*H1*HP*SQRT(MAX(0.0,(1.-HP)))
EEU3D(L,K)=PFLW2(AZZ)*EML**2*PEP3D(K,L)**0.5+PFLW1(VSC)
ENDDO

Problem:
The DO variable LBB>=1, so the "if" statement is useless, and the code runs fine.
Without this line the code crashes, however.
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Jun 13, 2012 9:20 am    Post subject: Reply with quote

Hi Jia-olemiss,

Sounds like an optimization issue, though, we'll need a reproducing example to tell what's wrong. If you can't create a small example to post, can you send the full source to PGI Customer Support (trs@pgroup.com).

Thanks,
Mat
Back to top
View user's profile
Jia-olemiss



Joined: 27 Dec 2010
Posts: 12

PostPosted: Wed Jun 13, 2012 12:51 pm    Post subject: Reply with quote

The code is large. The test case data + the code folder is about 250mb.
Do you have a secure way to transfer files?

You can let me know via my email: jia@ncche.olemiss.edu

I will have to describe the procedure to reproduce the error, if you need.
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Jun 14, 2012 8:59 am    Post subject: Reply with quote

Hi Jia-olemiss,

I sent a note to our Customer Support ask that they send you instructions on accessing our FTP server.

- 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