AW: [GE users] Run script on head node

Ochtrup, Carsten carsten.ochtrup at
Fri Dec 21 09:18:18 GMT 2007

yes, all the scripts of a started job will run on the execution node the
SGE submitted the job to.
You can do a rsh or ssh connection to the head node inside your scripts
to run a job on another node. Best if you are using the SGE rsh wrapper.
In a parallel environment you can specify the master queue. That is
where you master job will run, but I do not think this would be a clever
solution for your problem.


	Von: Bradford, Matthew [mailto:matthew.bradford at] 
	Gesendet: Donnerstag, 20. Dezember 2007 12:30
	An: users at
	Betreff: [GE users] Run script on head node

	We are trying to run a prologue/initial start script that runs
on the head node of the cluster prior to running anything on any of the
execution nodes that have been selected for the job. It appears that all
the prolong/parallel environment scripts run on the execution nodes. Is
there any easy way of specifying a script in this way. 

	Our solution, if this isn't possible, is the use of parallel
environments and manipulating the list of hosts provided so that the
parallel startup script runs on the head node.

	Any help would be much appreciated. 



	Matthew Bradford 
	Information Analyst 
	Applications Services Field Operations EMEA 
	EDS c/o Rolls-Royce Plc, Moor Lane 
	PO Box 31
	DE24 8BJ 

	email:  matthew.bradford at 
	Office: +44 01332 2 22059 

	This message contains information which may be confidential and
privileged. Unless you are the intended addressee (or authorised to
receive for the addressee) you may not use, copy or disclose to anyone
the message or any information contained in this message. If you have
received this message in error, please advise the sender by reply email
and delete the message.
	(c) 2005 Electronic Data Systems Corporation. All rights

	Electronic Data Systems Ltd 
	Registered Office:, Lansdowne House, Berkeley Square, London
W1J 6ER 
	Registered in England no: 53419 
	VAT number: 432 99 5915 

More information about the gridengine-users mailing list