• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. How to run a job in a new machine ?

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 143
  • Views 17365
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to run a job in a new machine ?

Charley Chen
Charley Chen over 9 years ago

Dear All,

If i launch a virtuoso in machine1 , I want to run a job in machine2 .

I want to do like that :   open a xterm ->  rlogin machine2  -> run job

Thank you ,

Charley

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Charley,

    What do you mean by "run a job"? Your question is very vague - you can launch remote jobs using ipcBeginProcess, but you might be talking about ADE L, ADE XL, PVS - I've no idea?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Charley Chen
    Charley Chen over 9 years ago
    Andrew , I mean if i want to run a csh in another machine . Thank you , Charley
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago
    So why isn't ipcBeginProcess suitable? Did you try that?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Charley Chen
    Charley Chen over 9 years ago
    Andrew , I have not tried it. If the remote machine needs a user name & password , How do i write in ipcBeginProcess ? Thank you, Charley
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    You can't. It only works if you can "rsh" without a password, or with some setup (look for cdsRemote.scr in the docs) you can use ssh (also without a password).

    Otherwise you'd have to (say) write an expect script which launched the rsh and provided the password. Then you can ipcBeginProcess or system() this expect script. Neither rsh or ssh provide the ability to pass the password on the command line (it's bad practice anyway), although there is something called sshpass that can do it for ssh (again, not recommended). Passing passwords on the command line is a gaping security hole as people doing a "ps" on the machine can then see the password.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Charley Chen
    Charley Chen over 9 years ago

    Andrew,

    Thank you for help very much.

    Charley

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Charley Chen
    Charley Chen over 9 years ago

    Andrew,

    I type in ciw:    ipcBeginProcess("uname -a" "newhost") ,  

    It shows  "connect to address  xxx.xxx.xxx.xxx  port  xxx: Connection refused  , trying normal rsh ("/usr/bin/rsh")

    But i can rsh  newhost &  in newhost , execute  "uname -a" , is ok.

    How to do  it ?

     

    Thank you,

    Charley

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Charley,

    First of all, if you just do "rsh newhost" with no additional arguments, it actually does an rlogin, so that's a different protocol. If you instead do "rsh newhost uname -a" in a terminal window, what does that do? Does it ask for a password? Does it purely give the output you expect or something else too (maybe you can post what it does)?

    Is the "shell" service enabled on the remote machine? You can look in /etc/xinetd.d/rsh to see if it's enabled or not - and if it is enabled, does it require a password? This can be enabled (i.e. disable the need for a password) using the .rhosts file in your home directory.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Charley Chen
    Charley Chen over 9 years ago

    Andrew,

    if i currently in a oldhost ,(in xterm ) rsh newhost , it does not need password.  It can rsh , then uname -a , it print ....

    But in ciw : ipcBeginProcess("uname -a" "newhost")  , It does not wok.

    Thank you,

    Charley

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi Charley,

    As I said before, if you just do "rsh newhost" it uses the "login" service. If you do "rsh newhost uname -a" then that uses the "shell" service. It's not clear to me whether you tried the "rsh newhost name -a" or not.

    Given that it's saying connection refused from the ipcBeginProcess call, I suspect that you didn't check that?

    Also, on your machine, what does "which rsh" return?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
>

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information