Orion Poplawski <[email protected]> writes:

> Well, looks like shell_start_mode is deprecated and doesn't do a whole
> lot now.

It certainly does something, and is widely used.  I should probably
remove the deprecation comment as I don't envisage removing the feature.

> else
>   exec $SGE_STARTER_SHELL_PATH "$@"
> fi
>
> Somewhat funny - it looks like it tries to start the starter_method as
> a "login shell", i.e. with a leading "-":
>
> /var/spool/gridengine/castor/active_jobs/27713.1/trace:
> 10/10/2012 15:43:55 [1744:19855]:
> execvp(/usr/share/gridengine/util/dmtcp_starter, "-dmtcp_starter"
> "/var/spool/gridengine/castor/job_scripts/27713" "./foo" "7200"
> "out.qsub")
>
> This doesn't cause any problems for me, though starter scripts that
> examine $0 might get confused.

Isn't that what they'd normally see?

There are other things to consider in the starter, such as "-shell n".

I should have noted in the previous message that you probably don't want
to run a checkpoint method on slaves.  When I suggested doing this as a
starter method, it would only have been for single-node jobs where files
in /tmp weren't an issue.

-- 
Community Grid Engine:  http://arc.liv.ac.uk/SGE/
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to