[Info-vax] GKS : gopwk problem with VSI's version of GKS
Paul Hardy
p.g.hardy at btinternet.com
Wed Mar 17 07:59:22 EDT 2021
Joukj <joukj at hrem.nano.tudelft.nl> wrote:
> Hi all,
>
> I try to call GKS from a Fortran program. All worked fine with de "HP
> GKS". However when upgrading to "VSI GKS" I got problems initializing
> GKS. It looks like the call to GOPWK should be adapted:
>
> What always worked was:
> CALL GOPWK(1, 0 , GWSDEF )
> It looks like the second parameter is not integer anymore in VSI-GKS but
> a character string (I get the error "Invalid representation of integer
> in translated string")
>
> I have no idea what to fill in for the second parameter to get the
> default connection ID. The examples the installation stored on disk only
> show an integer parameter here.Who can get me a hint on how to call
> GOPWK in a proper way.
>
> I tried this on OpenVMS8.4-2L1 with VSI-GKS 7.3 (and HP-GKS V7.2 for
> reference) and VSI Fortran V8.3-104957-50Q83 running on IA64.
> regards Jouk
>
In terms of the GKS standard, the second parameter must be an integer
passed into GOPWK and is CONID the connection identifier - described as the
channel that the operating system will use to communicate with the
workstation - probably originally the Fortran unit number.
If VSI is expecting a string, then it’s a bug/ violation of standard.
--
Paul at the paulhardy.net domain
More information about the Info-vax
mailing list