SCDzine
H I N T

How to modify your .rhosts files for NQE job submissions

What you need to know about submitting jobs via MIGS, IRJE, cqsub, and xxjob . . .

Tom Parker
Tom Parker


Contents

Search

Article index

Back issues

Subscribe

Contact us

SCD

by Tom Parker

S everal job submission methods require you to modify your .rhosts files on the machine you are submitting to and/or from.

Typically the "to" machines are Crays (e.g., ouray, chipeta, paiute, antero, aztec) or SGIs (e.g., winterpark, ute), and the "from" machines are your divisional/university machine or meeker.

Here's how to adjust your .rhosts files for the various submittal methods.


1. MIGS

When submitting jobs via the MASnet/Internet Gateway Server (MIGS):

Your .rhosts file on this machine Add this line
Desired Cray/SGI migs.ucar.edu
Your divisional or university computer migs.ucar.edu  masgw

For more information on MIGS job submission, see:
www.scd.ucar.edu/docs/migs/xxjob.html#nqe

For more information on MIGS in general, see:
www.scd.ucar.edu/docs/migs


2. IRJE

When submitting jobs via the Internet Remote Job Entry (IRJE) system:

Your .rhosts file on this machine Add this line
Desired Cray/SGI irje.ucar.edu
Your divisional or university computer N/A

For more information on IRJE job submission, see:
www.scd.ucar.edu/docs/irje/new-irje.html

For information on IRJE in general, see:
www.scd.ucar.edu/docs/irje/


3. Cqsub on meeker

When using cqsub on meeker to submit jobs to a Cray/SGI (we'll use ouray in this example):

Your .rhosts file on this machine Add this line(s)
ouray.ucar.edu meeker.ucar.edu
meeker.ucar.edu ouray.ucar.edu
ouray2.ucar.edu

For more information, see:
www.scd.ucar.edu/docs/submittal/meeker-nqe.html


4. Xxjob on meeker

When submitting jobs using xxjob on meeker (we'll use oujob, for ouray, in this example):

Your .rhosts file on this machine Add this line(s)
ouray.ucar.edu meeker.ucar.edu
meeker.ucar.edu ouray.ucar.edu
ouray2.ucar.edu

For more information, type man xxjob on meeker.


5. Cqsub -- if the logins are different

To submit from user_a@machine_a to user_b@machine_b:

Your .rhosts file on this machine Add this line
machine_a machine_b  user_b
machine_b machine_a  user_a

  • On machine_a, type:

    setenv NQS_SERVER machine_b
    cqsub -u user_b myjob

  • You will probably need to specify the project number for the job running on machine_b by, for example, putting

      #QSUB -A YourProjectNumber

    in the job script.


Notes

  • Please note that all .rhosts files must have a permission of 600 (e.g., type chmod 600 .rhosts) and there should be no trailing blanks on any line.

  • To avoid possible confusion, we recommend you remove any .nqshosts files you may have on the target machine (i.e., the Crays and the SGIs).

  • Information in this article is also available and continually updated at http://www.scd.ucar.edu/docs/submittal/rhosts.html.

  • For additional information about job submission, please see the last section of SCD Computers, Products, and Libraries.

rule
Contents || Search || Article index || Back issues || Subscribe || Contact us || SCD