PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Illegal value error with PGF90

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



Joined: 10 Jul 2013
Posts: 1

PostPosted: Thu Jul 11, 2013 1:54 am    Post subject: Illegal value error with PGF90 Reply with quote

Hi

I'm trying to run CALMET model with PGF90 (version 7.1) . When I'm trying to run its Terrel preprocessor with srtm data it shows the below shown error.

Processing data file:
../srtm/n18e076.hgt
PGFIO-F-201/OPEN/unit=7/illegal value for specifier.
File name = ../srtm/n18e076.hgt
In source file terrel.f, at line number 3552

The line 3552 in programme is as shown below,

c --- Open the file
c open(ioinp,file=datafil(k),form='TRANSPARANT',status='OLD',
c & access='SYSTEM',recl=irecl)
c
open(ioinp,file=datafil(k),form=cform,status='OLD',
& access=caccess,recl=irecl)
c caccess Read the binary data with "transparent access".
c
c --- Set the datum string, interval step, and number of points and strips
c of terrain data in file


I'm very new to this field, could not able to sort out the issue.

Can anybody help me ?

Thanks in advance

Vineeth
Back to top
View user's profile
mecej4



Joined: 19 Jun 2011
Posts: 55

PostPosted: Thu Jul 11, 2013 6:17 am    Post subject: Reply with quote

You did not show the value of the variable cform. Check that the specifier is spelled correctly (use the English spelling -- "TRANSPARANT" is used in Dutch -- in the Fortran OPEN statement).
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Jul 12, 2013 1:28 pm    Post subject: Reply with quote

Hi Vineeth,

This error means that at least one of the values you're using in your OPEN statement is wrong. What are the values for "cform" and "caccess"?

- 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