05.08.2013 Views

PBS Pro Administrator Guide - Department of Electrical and ...

PBS Pro Administrator Guide - Department of Electrical and ...

PBS Pro Administrator Guide - Department of Electrical and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

124<br />

Chapter 11<br />

Administration<br />

% cat job.script<br />

#<strong>PBS</strong> -l site=globus:sgi.glaxey.com/jobmanagerlsf,ncpus=4<br />

#<strong>PBS</strong> -W stagein=/u/jill/mpi_sgi@earth:progs/<br />

mpi_sgi<br />

#<strong>PBS</strong> -W stageout=mpi_sgi.out@earth:mpi_sgi.out<br />

mpirun -np 4 /u/bayucan/mpi_sgi >> mpi_sgi.out<br />

echo "Done it"<br />

%<br />

Upon execution, the sample output is:<br />

Done it<br />

And the output <strong>of</strong> the run would have been written to the file<br />

mpi_sgi.out, <strong>and</strong> returned to the user’s home directory on host<br />

earth, as specified.<br />

NOTE: Just like a regular <strong>PBS</strong> job, a globus job can be deleted, signaled, held, released,<br />

rerun, have text appended to its output/error files, <strong>and</strong> be moved from one location to<br />

another.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!