Hello everybody,

I am having a very odd issue with a JSV script on SGE 6.2u5.
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).
What the server JSV script does, is (amongst lots of other stuff) to run this:

jsv_sub_add_param('P', "defProj");

(if not project is set)

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

qsub -jsv $SGE_ROOT/$SGE_CELL/common/jsv.perl -b y -N test1 sleep 10

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..
Exiting.

(I have tried to use different project names, existing and non existing ones)

Until a few days ago, this has also been working on client side, and this is 
how I usually test my JSV scripts.
I have been trying to replace "jsv_sub_add_param" with "jsv_set_param" like 
this:

jsv_set_param('P','cadtest');

with no success (same error message). Setting other parameters works fine, such 
as:

     jsv_set_param('N','cadtest');

Any ideas?

Best regards,
Manfred Selz



________________________________

Dialog Semiconductor GmbH
Neue Str. 95
D-73230 Kirchheim
Managing Directors: Dr. Jalal Bagherli, Carsten Dahl
Chairman of the Supervisory Board: Rich Beyer
Commercial register: Amtsgericht Stuttgart: HRB 231181
UST-ID-Nr. DE 811121668

Legal Disclaimer: This e-mail communication (and any attachment/s) is 
confidential and contains proprietary information, some or all of which may be 
legally privileged. It is intended solely for the use of the individual or 
entity to which it is addressed. Access to this email by anyone else is 
unauthorized. If you are not the intended recipient, any disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it, is 
prohibited and may be unlawful.

Please consider the environment before printing this e-mail


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

Reply via email to