CMAST$GEN_COM undefined error [message #22130] |
Fri, 20 October 2000 00:00  |
Steven DiMarco
Messages: 2 Registered: March 1998
|
Junior Member |
|
|
Hi,
I am running PV-WAVE 7.0 on a SUN ULTRA-5 running SOLARIS 5.7
and when I run any of the math-2_0 routines containing the
COMMON CMAST$gen_com variable I get the following error message:
WAVE> print,beta(10,10)
% ON_ERROR: Variable is undefined: ON_ERR_ACTION (CMAST$GEN_COM).
% Execution halted at BETA <beta.pro( 6)> (ON_ERROR).
% Called from $MAIN$ .
Any ideas on how to make PVWAVE recognize this common block.
Below is the beta procedure in the vni/math-2_0/lib directory.
; $Id: beta.pro,v 1.1.1.1 1995/06/19 19:43:59 rita Exp $
FUNCTION beta, x, $ ;INPUT Scalar or 1-D array: floating point
y, $ ;INPUT Scalar or 1-D array: floating point
double=double ;INPUT Scalar ON/OFF flag
COMMON CMAST$gen_com, on_err_action
ON_ERROR, on_err_action
RETURN, call_spcl_fcn2(x, y, $
fcn_name = "BETA", $
double = double, $
inverse = inverse)
END
Regards,
steve
--
Steven F. DiMarco PhD
Associate Research Scientist : Department of Oceanography
Office: (979)862-4168 : Texas A&M University
Internet: sdimarco@tamu.edu : College Station, TX 77843-3146
|
|
|
Re: CMAST$GEN_COM undefined error [message #22217 is a reply to message #22130] |
Tue, 24 October 2000 00:00  |
Mark D. Williams
Messages: 15 Registered: November 1999
|
Junior Member |
|
|
Is this in the FAQ somewhere?
You gotta initialize 'em before you use 'em:
WAVE> @math_startup
WAVE> @stat_startup
Regards,
M. Williams
Resource Engineering, Inc.
Steven DiMarco wrote:
> Hi,
> I am running PV-WAVE 7.0 on a SUN ULTRA-5 running SOLARIS 5.7
> and when I run any of the math-2_0 routines containing the
> COMMON CMAST$gen_com variable I get the following error message:
>
> WAVE> print,beta(10,10)
> % ON_ERROR: Variable is undefined: ON_ERR_ACTION (CMAST$GEN_COM).
> % Execution halted at BETA <beta.pro( 6)> (ON_ERROR).
> % Called from $MAIN$ .
>
> Any ideas on how to make PVWAVE recognize this common block.
>
> Below is the beta procedure in the vni/math-2_0/lib directory.
>
> ; $Id: beta.pro,v 1.1.1.1 1995/06/19 19:43:59 rita Exp $
> FUNCTION beta, x, $ ;INPUT Scalar or 1-D array: floating point
> y, $ ;INPUT Scalar or 1-D array: floating point
> double=double ;INPUT Scalar ON/OFF flag
> COMMON CMAST$gen_com, on_err_action
> ON_ERROR, on_err_action
>
> RETURN, call_spcl_fcn2(x, y, $
> fcn_name = "BETA", $
> double = double, $
> inverse = inverse)
> END
>
> Regards,
> steve
>
> --
> Steven F. DiMarco PhD
> Associate Research Scientist : Department of Oceanography
> Office: (979)862-4168 : Texas A&M University
> Internet: sdimarco@tamu.edu : College Station, TX 77843-3146
|
|
|