Double Precision and Subroutine SET

From: MUHTARJAN osman (muhterjan AT hotmail.com)
Date: Mon May 02 2005 - 14:23:26 MDT


Hi-

    In one of my linear model, I need to interpret all of my real variables
to double precision. I did this by using the “-r8” and “-i4” in PGI
compiler. Unfortunately, the program gave me a error message:

    GKS ERROR NUMBER 51 ISSUED FROM SUBROUTINE GSVP :

--RECTANGLE DEFINITION IS INVALID

GKS ERROR NUMBER -113 ISSUED FROM SUBROUTINE GSWN :

--Warning: XMIN > XMAX or YMIN > YMAX in window (non-standard NCAR
extension of GKS)

I did some test printing and found the errors occurred at two places where
the subroutine SET was called.

         ……

       CALL SET(0.,1.,0.,1.,0.,1.,0.,1.,1)

        …….

       CALL SET(.1,.9,.3,.7,0.,1.,0.,1.,1)

           ………

    My question is if the “-r8” option of compiler could affect the
arguments in a SET call. If so, how to use SET in this kind of situation?

Any comment will be appreciated.

Thanks!

Muhtarjan Osman
ASGG
LAWR
UC Davis

_______________________________________________
ncarg-talk mailing list
ncarg-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



This archive was generated by hypermail 2b29 : Tue May 03 2005 - 09:03:41 MDT