On Mon, Jun 13, 2016 at 08:03:04AM +0000, Manfred Selz wrote:
>    Since a long time ago, I have been running a standard server JSV script to
>    check and set a few parameters, one of them being the project (parameter
>    P).
> 

> 
>    While this still works fine, whenever I copy this script and run it
>    manually on client side like this:

> 
>    I get this message:
> 
>     
> 
>    error: JSV stderr: Can't use string ("defProj") as a HASH ref while
>    "strict refs" in use at /cad/eda/sge/6.2u5/util/resources/jsv/JSV.pm line
>    327, <> line 15.
> 
>    Unable to run job: JSV stderr: Can't use string ("defProj") as a HASH ref
>    while "strict refs" in use at /cad/eda/sge/6.2u5/util/resources/jsv/JSV.pm
>    line 327, <> line 15.
> 
>    JSV stderr is - Can't use string ("defProj") as a HASH ref while "strict
>    refs" in use at /cad/eda/sge/6.2u5/util/resources/jsv/JSV.pm line 327, <>
>    line 15..
> 
I suspect that your clients have a more up to date version of some perl module 
that your
JSV uses and that module turns on strict refs.  You should be able to get it 
working again
by a judicious application of:

no strict 'refs';

Inserting it near the top of JSV.pm after any module imports but before the 
problem code 
should work.

Alternatively you could patch the JSV code so it doesn't try to dereference 
strings or
if you are using something later than the 6.2u5 you appear to be ask whoever 
maintains
the grid-engine you use to do so.

William

Attachment: signature.asc
Description: Digital signature

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to